* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘opencv’ ...
** this is package ‘opencv’ version ‘0.5.1’
** package ‘opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 1.8.1
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/opencv4  -D_DATA_PREFIX=/usr
Using PKG_LIBS=-lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core 
Found C++17 compiler: clang++-21
Module <opencv2/xfeatures2d.hpp> has not been found on your system, disabling keypoint detection.
** libs
using C++ compiler: ‘Debian clang version 21.1.8 (3)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7Sx1eU/R.INSTALL27faf728ccee16/opencv/src'
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c areas.cpp -o areas.o
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c base.cpp -o base.o
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c color.cpp -o color.o
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c effects.cpp -o effects.o
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c enums.cpp -o enums.o
In file included from enums.cpp:2:
In file included from /usr/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from enums.cpp:2:
In file included from /usr/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
2 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c face.cpp -o face.o
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c features.cpp -o features.o
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c hog.cpp -o hog.o
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c points.cpp -o points.o
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c qrdetect.cpp -o qrdetect.o
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c util.cpp -o util.o
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2116 |         CV_XADD(&this->hdr->refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
 2131 |         if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
      |                     ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/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]
  322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT         = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  323 |        CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE     = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  324 |        CAP_OPENNI_DEPTH_GENERATOR_PRESENT         = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  325 |        CAP_OPENNI_DEPTH_GENERATOR_BASELINE        = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  326 |        CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  327 |        CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION    = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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]
  329 |        CAP_OPENNI_IR_GENERATOR_PRESENT            = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
      |                                                     ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  113 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
  511 |         CV_XADD(refcount, 1);
      |         ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
  701 | #      define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
      |                                                            ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4  -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic   -c version.cpp -o version.o
clang++-21 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o opencv.so RcppExports.o areas.o base.o color.o effects.o enums.o face.o features.o hog.o points.o qrdetect.o util.o version.o -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7Sx1eU/R.INSTALL27faf728ccee16/opencv/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7Sx1eU/R.INSTALL27faf728ccee16/opencv/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp7Sx1eU/R.INSTALL27faf728ccee16/opencv/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-opencv/00new/opencv/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (opencv)