Skip to content

Instantly share code, notes, and snippets.

@jeroen
Created February 21, 2026 15:08
Show Gist options
  • Select an option

  • Save jeroen/b3ef081415ce2be3de32707ab2820259 to your computer and use it in GitHub Desktop.

Select an option

Save jeroen/b3ef081415ce2be3de32707ab2820259 to your computer and use it in GitHub Desktop.
* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘opencv’ ...
** this is package ‘opencv’ version ‘0.5.1’
** package ‘opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 1.8.1
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/opencv4 -D_DATA_PREFIX=/usr
Using PKG_LIBS=-lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core
Found C++17 compiler: clang++-21
Module <opencv2/xfeatures2d.hpp> has not been found on your system, disabling keypoint detection.
** libs
using C++ compiler: ‘Debian clang version 21.1.8 (3)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpOezurl/R.INSTALL237317570fef00/opencv/src'
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c areas.cpp -o areas.o
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c base.cpp -o base.o
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c color.cpp -o color.o
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c effects.cpp -o effects.o
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c enums.cpp -o enums.o
In file included from enums.cpp:2:
In file included from /usr/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from enums.cpp:2:
In file included from /usr/include/opencv4/opencv2/core/core.hpp:48:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
2 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c face.cpp -o face.o
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c features.cpp -o features.o
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c hog.cpp -o hog.o
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c points.cpp -o points.o
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c qrdetect.cpp -o qrdetect.o
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c util.cpp -o util.o
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/include/opencv4/opencv2/core.hpp:58:
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2131 | if( m.hdr ) CV_XADD(&m.hdr->refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:68:
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:323:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
323 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:324:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
324 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:325:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
325 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:326:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
326 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:327:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
327 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/videoio.hpp:329:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:293:1)' and 'cv::(unnamed enum at /usr/include/opencv4/opencv2/videoio.hpp:300:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /usr/include/opencv4/opencv2/opencv.hpp:86:
In file included from /usr/include/opencv4/opencv2/stitching.hpp:48:
In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1335:
/usr/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/usr/include/opencv4/opencv2/core/cvdef.h:701:60: note: expanded from macro 'CV_XADD'
701 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
11 warnings generated.
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c version.cpp -o version.o
clang++-21 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o opencv.so RcppExports.o areas.o base.o color.o effects.o enums.o face.o features.o hog.o points.o qrdetect.o util.o version.o -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpOezurl/R.INSTALL237317570fef00/opencv/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpOezurl/R.INSTALL237317570fef00/opencv/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpOezurl/R.INSTALL237317570fef00/opencv/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-opencv/00new/opencv/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (opencv)
* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘opencv’ ...
** this is package ‘opencv’ version ‘0.5.1’
** package ‘opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 1.8.1
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/opencv4 -D_DATA_PREFIX=/usr
Using PKG_LIBS=-lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core
Found C++17 compiler: g++-15
Module <opencv2/xfeatures2d.hpp> has not been found on your system, disabling keypoint detection.
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-12) 15.2.0’
make[1]: Entering directory '/tmp/RtmpxrWNfy/R.INSTALLe39e555f9df45/opencv/src'
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from RcppExports.cpp:4:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c areas.cpp -o areas.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from areas.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c base.cpp -o base.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from base.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c color.cpp -o color.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from color.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c effects.cpp -o effects.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from effects.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c enums.cpp -o enums.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/core/core.hpp:48,
from enums.cpp:2:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c face.cpp -o face.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from face.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c features.cpp -o features.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from features.cpp:2:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c hog.cpp -o hog.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from hog.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c points.cpp -o points.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from points.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c qrdetect.cpp -o qrdetect.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from qrdetect.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c util.cpp -o util.o
In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3795,
from /usr/include/opencv4/opencv2/core.hpp:58,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from opencv_types.h:5,
from util.hpp:1,
from util.cpp:1:
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:103:57: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
103 | inline _InputArray::_InputArray(const Mat& m) { init(MAT+ACCESS_READ, &m); }
| ~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:104:83: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
104 | inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:105:59: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
105 | inline _InputArray::_InputArray(const UMat& m) { init(UMAT+ACCESS_READ, &m); }
| ~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:106:85: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
106 | inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:118:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
118 | { init(STD_ARRAY_MAT + ACCESS_READ, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:148:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
148 | { init(CUDA_GPU_MAT + ACCESS_READ, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:151:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
151 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_READ, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:154:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
154 | { init(OPENGL_BUFFER + ACCESS_READ, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputArray::_InputArray(const cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:157:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
157 | { init(CUDA_HOST_MEM + ACCESS_READ, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray()’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:200:49: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
200 | inline _OutputArray::_OutputArray() { init(NONE + ACCESS_WRITE, 0); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:202:53: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
202 | inline _OutputArray::_OutputArray(Mat& m) { init(MAT+ACCESS_WRITE, &m); }
| ~~~^~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:203:80: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
203 | inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:204:56: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
204 | inline _OutputArray::_OutputArray(UMat& m) { init(UMAT + ACCESS_WRITE, &m); }
| ~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:205:82: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
205 | inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT + ACCESS_WRITE, &vec); }
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:217:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
217 | { init(STD_ARRAY_MAT + ACCESS_WRITE, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:272:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
272 | { init(CUDA_GPU_MAT + ACCESS_WRITE, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(std::vector<cv::cuda::GpuMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:275:38: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
275 | { init(STD_VECTOR_CUDA_GPU_MAT + ACCESS_WRITE, &d_mat);}
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:278:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
278 | { init(OPENGL_BUFFER + ACCESS_WRITE, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_OutputArray::_OutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:281:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
281 | { init(CUDA_HOST_MEM + ACCESS_WRITE, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::Mat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:328:63: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
328 | inline _InputOutputArray::_InputOutputArray(Mat& m) { init(MAT+ACCESS_RW, &m); }
| ~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::Mat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:329:89: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::UMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:330:65: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
330 | inline _InputOutputArray::_InputOutputArray(UMat& m) { init(UMAT+ACCESS_RW, &m); }
| ~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::vector<cv::UMat>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:331:91: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
331 | inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(std::array<cv::Mat, _Nm>&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:343:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
343 | { init(STD_ARRAY_MAT + ACCESS_RW, arr.data(), Size(1, _Nm)); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::GpuMat&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:398:21: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
398 | { init(CUDA_GPU_MAT + ACCESS_RW, &d_mat); }
| ~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::ogl::Buffer&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:401:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
401 | { init(OPENGL_BUFFER + ACCESS_RW, &buf); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In constructor ‘cv::_InputOutputArray::_InputOutputArray(cv::cuda::HostMem&)’:
/usr/include/opencv4/opencv2/core/mat.inl.hpp:404:22: warning: arithmetic between different enumeration types ‘cv::_InputArray::KindFlag’ and ‘cv::AccessFlag’ is deprecated [-Wdeprecated-enum-enum-conversion]
404 | { init(CUDA_HOST_MEM + ACCESS_RW, &cuda_mem); }
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/highgui.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:68:
/usr/include/opencv4/opencv2/videoio.hpp: At global scope:
/usr/include/opencv4/opencv2/videoio.hpp:322:80: warning: arithmetic between different enumeration types ‘cv::<unnamed enum>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-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>’ and ‘cv::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
329 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/opencv4/opencv2/stitching.hpp:51,
from /usr/include/opencv4/opencv2/opencv.hpp:86:
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:78:18: warning: ‘virtual void cv::detail::ExposureCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’ was hidden [-Woverloaded-virtual=]
78 | virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp:190:10: note: by ‘void cv::detail::BlocksCompensator::feed(const std::vector<cv::Point_<int> >&, const std::vector<cv::UMat>&, const std::vector<std::pair<cv::UMat, unsigned char> >&)’
190 | void feed(const std::vector<Point> &corners, const std::vector<UMat> &images,
| ^~~~
/usr/include/opencv4/opencv2/core/mat.inl.hpp: In instantiation of ‘cv::Mat::Mat(const cv::Matx<_Tp, m, n>&, bool) [with _Tp = double; int m = 2; int n = 3]’:
/usr/include/opencv4/opencv2/imgproc.hpp:2584:64: required from here
2584 | return Mat(getRotationMatrix2D_(center, angle, scale), true);
| ^
/usr/include/opencv4/opencv2/core/mat.inl.hpp:533:23: warning: arithmetic between different enumeration types ‘cv::Mat::<unnamed enum>’ and ‘cv::traits::Type<double>::<unnamed enum>’ is deprecated [-Wdeprecated-enum-enum-conversion]
533 | : flags(MAGIC_VAL + traits::Type<_Tp>::value + CV_MAT_CONT_FLAG), dims(2), rows(m), cols(n), data(0),
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c version.cpp -o version.o
g++-15 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o opencv.so RcppExports.o areas.o base.o color.o effects.o enums.o face.o features.o hog.o points.o qrdetect.o util.o version.o -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpxrWNfy/R.INSTALLe39e555f9df45/opencv/src'
make[1]: Entering directory '/tmp/RtmpxrWNfy/R.INSTALLe39e555f9df45/opencv/src'
make[1]: Leaving directory '/tmp/RtmpxrWNfy/R.INSTALLe39e555f9df45/opencv/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-opencv/00new/opencv/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (opencv)
* installing *source* package ‘opencv’ ...
** this is package ‘opencv’ version ‘0.5.1’
** package ‘opencv’ successfully unpacked and MD5 sums checked
** using staged installation
This is pkg-config 0.29.2
Using autobrew bundle: opencv-4.8.1-universal.tar.xz
Using PKG_CFLAGS=-I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4
Using PKG_LIBS=-L/Users/ripley/R/packages/tests-devel/opencv/.deps/lib -L/Users/ripley/R/packages/tests-devel/opencv/.deps/lib/opencv4/3rdparty ../.deps/opencv_stitching ../.deps/opencv_alphamat ../.deps/opencv_aruco ../.deps/opencv_bgsegm ../.deps/opencv_bioinspired ../.deps/opencv_ccalib ../.deps/opencv_dpm ../.deps/opencv_highgui ../.deps/opencv_face ../.deps/opencv_fuzzy ../.deps/opencv_hfs ../.deps/opencv_img_hash ../.deps/opencv_intensity_transform ../.deps/opencv_wechat_qrcode ../.deps/opencv_dnn ../.deps/opencv_line_descriptor ../.deps/opencv_quality ../.deps/opencv_rapid ../.deps/opencv_reg ../.deps/opencv_rgbd ../.deps/opencv_saliency ../.deps/opencv_stereo ../.deps/opencv_structured_light ../.deps/opencv_phase_unwrapping ../.deps/opencv_superres ../.deps/opencv_optflow ../.deps/opencv_surface_matching ../.deps/opencv_tracking ../.deps/opencv_datasets ../.deps/opencv_plot ../.deps/opencv_videostab ../.deps/opencv_videoio ../.deps/opencv_xfeatures2d ../.deps/opencv_shape ../.deps/opencv_ml ../.deps/opencv_ximgproc ../.deps/opencv_video ../.deps/opencv_xobjdetect ../.deps/opencv_objdetect ../.deps/opencv_calib3d ../.deps/opencv_imgcodecs ../.deps/opencv_features2d ../.deps/opencv_flann ../.deps/opencv_xphoto ../.deps/opencv_photo ../.deps/opencv_imgproc ../.deps/opencv_core ../.deps/tbb ../.deps/libopenjp2 ../.deps/libprotobuf -framework OpenCL -framework Accelerate -framework AVFoundation -lm -ldl -framework Cocoa ../.deps/jpeg ../.deps/webp ../.deps/turbojpeg ../.deps/sharpyuv ../.deps/quirc ../.deps/png16 ../.deps/tiff ../.deps/zstd -lz -framework CoreMedia -framework CoreVideo
Found C++17 compiler: clang++ -mmacos-version-min=26
** libs
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.4.2)’
using SDK: ‘MacOSX26.2.sdk’
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from RcppExports.cpp:4:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c areas.cpp -o areas.o
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from areas.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c base.cpp -o base.o
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from base.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
base.cpp:99:14: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion]
99 | height = round(input.rows * (width / double(input.cols)));
| ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
base.cpp:101:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion]
101 | width = round(input.cols * (height / double(input.rows)));
| ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c color.cpp -o color.o
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from color.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c effects.cpp -o effects.o
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from effects.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
effects.cpp:8:43: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
8 | cv::blur(get_mat(ptr), out, Size(ksize, ksize));
| ~~~~ ^~~~~
effects.cpp:8:36: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
8 | cv::blur(get_mat(ptr), out, Size(ksize, ksize));
| ~~~~ ^~~~~
22 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c enums.cpp -o enums.o
In file included from enums.cpp:2:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/core.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/core.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
2 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c face.cpp -o face.o
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from face.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c features.cpp -o features.o
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c hog.cpp -o hog.o
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from features.cpp:2:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
features.cpp:14:27: warning: implicit conversion turns floating-point number into integer: 'const float' to 'value_type' (aka 'int') [-Wfloat-conversion]
14 | x.push_back(pts[i].pt.x);
| ~~~~~~~~~ ~~~~~~~~~~^
features.cpp:15:27: warning: implicit conversion turns floating-point number into integer: 'const float' to 'value_type' (aka 'int') [-Wfloat-conversion]
15 | y.push_back(pts[i].pt.y);
| ~~~~~~~~~ ~~~~~~~~~~^
features.cpp:60:71: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
60 | int numOctaves = 6, float corn_thresh = 0.01, float DOG_thresh = 0.01, int maxCorners = 5000, int num_layers = 4){
| ~ ^~~~
features.cpp:60:96: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
60 | int numOctaves = 6, float corn_thresh = 0.01, float DOG_thresh = 0.01, int maxCorners = 5000, int num_layers = 4){
| ~ ^~~~
24 warnings generated.
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from hog.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c points.cpp -o points.o
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from points.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c qrdetect.cpp -o qrdetect.o
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qrdetect.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c util.cpp -o util.o
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4 -DHAVE_XFEATURES2D -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c version.cpp -o version.o
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
2116 | CV_XADD(&this->hdr->refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:52:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core.hpp:58:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/mat.hpp:3794:
/Users/ripley/R/packages/tests-devel/opencv/.deps/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);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:40:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:65:40: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
65 | float cb_index = 0.2, int trees = 1 )
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:858:26: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
846 | char_mean[l] = (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
847 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
848 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
849 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
850 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
851 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
852 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
853 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
854 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
855 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
856 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
857 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
858 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
859 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
860 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
861 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/kmeans_index.h:1177:34: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
1165 | charCenter[l]= (h[k] > h[k+1] ? h[k+2] > h[k+3] ? h[k] > h[k+2] ? 0x00 : 0x10
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | : h[k] > h[k+3] ? 0x00 : 0x11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | : h[k+2] > h[k+3] ? h[k+1] > h[k+2] ? 0x01 : 0x10
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168 | : h[k+1] > h[k+3] ? 0x01 : 0x11)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1169 | | (h[k+4]>h[k+5] ? h[k+6] > h[k+7] ? h[k+4] > h[k+6] ? 0x00 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1170 | : h[k+4] > h[k+7] ? 0x00 : 0x1100
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1171 | : h[k+6] > h[k+7] ? h[k+5] > h[k+6] ? 0x0100 : 0x1000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1172 | : h[k+5] > h[k+7] ? 0x0100 : 0x1100)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | | (h[k+8]>h[k+9] ? h[k+10]>h[k+11] ? h[k+8] >h[k+10] ? 0x00 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | : h[k+8] >h[k+11] ? 0x00 : 0x110000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | : h[k+10]>h[k+11] ? h[k+9] >h[k+10] ? 0x010000 : 0x100000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | : h[k+9] >h[k+11] ? 0x010000 : 0x110000)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1177 | | (h[k+12]>h[k+13] ? h[k+14]>h[k+15] ? h[k+12] >h[k+14] ? 0x00 : 0x10000000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1178 | : h[k+12] >h[k+15] ? 0x00 : 0x11000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1179 | : h[k+14]>h[k+15] ? h[k+13] >h[k+14] ? 0x01000000 : 0x10000000
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1180 | : h[k+13] >h[k+15] ? 0x01000000 : 0x11000000);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:41:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/composite_index.h:49:101: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
49 | flann_centers_init_t centers_init = FLANN_CENTERS_RANDOM, float cb_index = 0.2 )
| ~ ^~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:44:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/lsh_index.h:305:72: warning: implicit conversion turns floating-point number into integer: 'float' to 'unsigned int' [-Wfloat-conversion]
305 | worst_score = score_index_heap.front().first;
| ~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:39:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/index_testing.h:234:30: warning: implicit conversion loses floating-point precision: 'double' to 'const float' [-Wimplicit-float-conversion]
234 | const float SEARCH_EPS = 0.001;
| ~~~~~~~~~~ ^~~~~
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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:65:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/flann_base.hpp:44:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/all_indices.h:45:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:51: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:77: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.1)
| ~ ^~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/flann/autotuned_index.h:57:132: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
57 | AutotunedIndexParams(float target_precision = 0.8, float build_weight = 0.01, float memory_weight = 0, float sample_fraction = 0.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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:68:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/highgui.hpp:51:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:315:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
315 | enum { CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:316:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
316 | CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:317:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
317 | CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:318:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
318 | CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:319:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
319 | CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:320:80: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
320 | CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:322:77: warning: arithmetic between different enumeration types ('cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:290:1)' and 'cv::(unnamed enum at /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/videoio.hpp:297:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
322 | CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT,
| ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from util.cpp:1:
In file included from ./util.hpp:1:
In file included from ./opencv_types.h:5:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:113:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
113 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # 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 /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/opencv.hpp:86:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching.hpp:48:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/warpers.hpp:46:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/stitching/detail/warpers.hpp:47:
In file included from /Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.hpp:1307:
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cuda.inl.hpp:511:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions]
511 | CV_XADD(refcount, 1);
| ^
/Users/ripley/R/packages/tests-devel/opencv/.deps/include/opencv4/opencv2/core/cvdef.h:677:60: note: expanded from macro 'CV_XADD'
677 | # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL)
| ^
20 warnings generated.
clang++ -mmacos-version-min=26 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -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 -L/Users/ripley/R/packages/tests-devel/opencv/.deps/lib -L/Users/ripley/R/packages/tests-devel/opencv/.deps/lib/opencv4/3rdparty ../.deps/opencv_stitching ../.deps/opencv_alphamat ../.deps/opencv_aruco ../.deps/opencv_bgsegm ../.deps/opencv_bioinspired ../.deps/opencv_ccalib ../.deps/opencv_dpm ../.deps/opencv_highgui ../.deps/opencv_face ../.deps/opencv_fuzzy ../.deps/opencv_hfs ../.deps/opencv_img_hash ../.deps/opencv_intensity_transform ../.deps/opencv_wechat_qrcode ../.deps/opencv_dnn ../.deps/opencv_line_descriptor ../.deps/opencv_quality ../.deps/opencv_rapid ../.deps/opencv_reg ../.deps/opencv_rgbd ../.deps/opencv_saliency ../.deps/opencv_stereo ../.deps/opencv_structured_light ../.deps/opencv_phase_unwrapping ../.deps/opencv_superres ../.deps/opencv_optflow ../.deps/opencv_surface_matching ../.deps/opencv_tracking ../.deps/opencv_datasets ../.deps/opencv_plot ../.deps/opencv_videostab ../.deps/opencv_videoio ../.deps/opencv_xfeatures2d ../.deps/opencv_shape ../.deps/opencv_ml ../.deps/opencv_ximgproc ../.deps/opencv_video ../.deps/opencv_xobjdetect ../.deps/opencv_objdetect ../.deps/opencv_calib3d ../.deps/opencv_imgcodecs ../.deps/opencv_features2d ../.deps/opencv_flann ../.deps/opencv_xphoto ../.deps/opencv_photo ../.deps/opencv_imgproc ../.deps/opencv_core ../.deps/tbb ../.deps/libopenjp2 ../.deps/libprotobuf -framework OpenCL -framework Accelerate -framework AVFoundation -lm -ldl -framework Cocoa ../.deps/jpeg ../.deps/webp ../.deps/turbojpeg ../.deps/sharpyuv ../.deps/quirc ../.deps/png16 ../.deps/tiff ../.deps/zstd -lz -framework CoreMedia -framework CoreVideo -L/Users/ripley/R/R-devel/lib -lR
installing to /Users/ripley/R/packages/tests-devel/opencv.Rcheck/00LOCK-opencv/00new/opencv/libs
** R
** inst
** 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment