* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘rip.opencv’ ...
** this is package ‘rip.opencv’ version ‘0.3-1’
** package ‘rip.opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 2.5.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
** libs
using C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpcz3JxO/R.INSTALL28e8136e644d57/rip.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c IO.cpp -o IO.o
In file included from IO.cpp:1:
In file included from ./common.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 IO.cpp:1:
In file included from ./common.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 IO.cpp:1:
In file included from ./common.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 IO.cpp:1:
In file included from ./common.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 IO.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o
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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c conversion.cpp -o conversion.o
In file included from conversion.cpp:2:
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 conversion.cpp:2:
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 conversion.cpp:2:
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 conversion.cpp:2:
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 conversion.cpp:2:
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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c core.cpp -o core.o
In file included from core.cpp:1:
In file included from ./common.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 core.cpp:1:
In file included from ./common.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 core.cpp:1:
In file included from ./common.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 core.cpp:1:
In file included from ./common.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 core.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/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 ./common.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 enums.cpp:2:
In file included from ./common.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 enums.cpp:2:
In file included from ./common.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 enums.cpp:2:
In file included from ./common.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 enums.cpp:2:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c feature.cpp -o feature.o
In file included from feature.cpp:1:
In file included from ./common.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 feature.cpp:1:
In file included from ./common.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 feature.cpp:1:
In file included from ./common.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 feature.cpp:1:
In file included from ./common.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 feature.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c filter.cpp -o filter.o
In file included from filter.cpp:1:
In file included from ./common.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 filter.cpp:1:
In file included from ./common.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 filter.cpp:1:
In file included from ./common.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 filter.cpp:1:
In file included from ./common.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 filter.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c imgproc.cpp -o imgproc.o
In file included from imgproc.cpp:1:
In file included from ./common.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 imgproc.cpp:1:
In file included from ./common.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 imgproc.cpp:1:
In file included from ./common.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 imgproc.cpp:1:
In file included from ./common.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 imgproc.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c photo.cpp -o photo.o
In file included from photo.cpp:1:
In file included from ./common.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 photo.cpp:1:
In file included from ./common.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 photo.cpp:1:
In file included from ./common.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 photo.cpp:1:
In file included from ./common.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 photo.cpp:1:
In file included from ./common.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'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c transforms.cpp -o transforms.o
In file included from transforms.cpp:1:
In file included from ./common.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 transforms.cpp:1:
In file included from ./common.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 transforms.cpp:1:
In file included from ./common.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 transforms.cpp:1:
In file included from ./common.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 transforms.cpp:1:
In file included from ./common.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 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o rip.opencv.so IO.o RcppExports.o conversion.o core.o enums.o feature.o filter.o imgproc.o photo.o transforms.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/Rtmpcz3JxO/R.INSTALL28e8136e644d57/rip.opencv/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpcz3JxO/R.INSTALL28e8136e644d57/rip.opencv/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpcz3JxO/R.INSTALL28e8136e644d57/rip.opencv/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-rip.opencv/00new/rip.opencv/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (rip.opencv)