Found the following significant warnings:
  /usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  /usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/rip.opencv.Rcheck/00install.out’ for details.
* used C++ compiler: ‘Debian clang version 22.1.7 (1)’