* installing *source* package ‘opencv’ ... ** 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_barcode -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_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++-18 Module has not been found on your system, disabling keypoint detection. ** libs using C++ compiler: ‘Debian clang version 18.1.8 (11)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from RcppExports.cpp:4: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c areas.cpp -o areas.o In file included from areas.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from areas.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c base.cpp -o base.o In file included from base.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from base.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c color.cpp -o color.o In file included from color.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from color.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c effects.cpp -o effects.o In file included from effects.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from effects.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c face.cpp -o face.o In file included from face.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from face.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c features.cpp -o features.o In file included from features.cpp:2: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from features.cpp:2: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hog.cpp -o hog.o In file included from hog.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from hog.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c points.cpp -o points.o In file included from points.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from points.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c qrdetect.cpp -o qrdetect.o In file included from qrdetect.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from qrdetect.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c util.cpp -o util.o In file included from util.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:1:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 1 | #define R_NO_REMAP | ^ :6:9: note: previous definition is here 6 | #define R_NO_REMAP 1 | ^ In file included from util.cpp:1: In file included from ./util.hpp:1: ./opencv_types.h:2:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 2 | #define STRICT_R_HEADERS | ^ :5:9: note: previous definition is here 5 | #define STRICT_R_HEADERS 1 | ^ 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:3773: /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:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 105 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # 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:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] 487 | CV_XADD(refcount, 1); | ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' 670 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) | ^ 6 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c version.cpp -o version.o clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/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_barcode -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_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-d-clang-18/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/opencv.Rcheck/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)