* installing *source* package ‘image.dlib’ ...
** package ‘image.dlib’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.2’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/image.dlib/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I../inst/dlib-19.20 -DDLIB_NO_GUI_SUPPORT  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I../inst/dlib-19.20 -DDLIB_NO_GUI_SUPPORT  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c dlib-core.cpp -o dlib-core.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I../inst/dlib-19.20 -DDLIB_NO_GUI_SUPPORT  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c r_cmd_check_happiness.cc -o r_cmd_check_happiness.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I../inst/dlib-19.20 -DDLIB_NO_GUI_SUPPORT  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c rcpp_fhog.cpp -o rcpp_fhog.o
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization/optimization_solve_qp_using_smo.h:630:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  630 |         DLIB_CASSERT(Q_blocks.size() > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization/optimization_solve_qp_using_smo.h:910:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  910 |         DLIB_CASSERT(A.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization/optimization_solve_qp_using_smo.h:911:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  911 |         DLIB_CASSERT(B.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization/optimization_solve_qp_using_smo.h:913:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  913 |         DLIB_CASSERT(eps > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_transforms/../statistics/../optimization/optimization_solve_qp_using_smo.h:914:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  914 |         DLIB_CASSERT(max_iter > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:14:
../inst/dlib-19.20/dlib/image_transforms/../statistics/lda.h:154:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  154 |         DLIB_CASSERT(true_detections.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:11:
In file included from ../inst/dlib-19.20/dlib/image_transforms/assign_image.h:8:
In file included from ../inst/dlib-19.20/dlib/image_transforms/../statistics.h:14:
../inst/dlib-19.20/dlib/image_transforms/../statistics/lda.h:155:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  155 |         DLIB_CASSERT(false_detections.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/interpolation.h:13:
../inst/dlib-19.20/dlib/image_transforms/image_pyramid.h:1167:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 1167 |         DLIB_CASSERT(rects.size() > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/interpolation.h:13:
../inst/dlib-19.20/dlib/image_transforms/image_pyramid.h:1168:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 1168 |         DLIB_CASSERT(0 < scale && scale <= 1);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/interpolation.h:13:
../inst/dlib-19.20/dlib/image_transforms/image_pyramid.h:1204:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 1204 |         DLIB_CASSERT(rects.size() > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
In file included from ../inst/dlib-19.20/dlib/image_transforms/interpolation.h:13:
../inst/dlib-19.20/dlib/image_transforms/image_pyramid.h:1223:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 1223 |         DLIB_CASSERT(rects.size() > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
../inst/dlib-19.20/dlib/image_transforms/interpolation.h:2123:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 2123 |         DLIB_CASSERT(num_rows(img)*num_columns(img) != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_fhog.cpp:6:
In file included from ../inst/dlib-19.20/dlib/image_transforms/fhog.h:13:
../inst/dlib-19.20/dlib/image_transforms/interpolation.h:2124:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
 2124 |         DLIB_CASSERT(num_rows(img)==num_columns(img));
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
13 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -I../inst/dlib-19.20 -DDLIB_NO_GUI_SUPPORT  -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c rcpp_surf.cpp -o rcpp_surf.o
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization/optimization_solve_qp_using_smo.h:630:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  630 |         DLIB_CASSERT(Q_blocks.size() > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization/optimization_solve_qp_using_smo.h:910:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  910 |         DLIB_CASSERT(A.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization/optimization_solve_qp_using_smo.h:911:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  911 |         DLIB_CASSERT(B.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization/optimization_solve_qp_using_smo.h:913:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  913 |         DLIB_CASSERT(eps > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:13:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/vector_normalizer_frobmetric.h:8:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization.h:8:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/../optimization/optimization_solve_qp_using_smo.h:914:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  914 |         DLIB_CASSERT(max_iter > 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:14:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/lda.h:154:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  154 |         DLIB_CASSERT(true_detections.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
In file included from rcpp_surf.cpp:5:
In file included from ../inst/dlib-19.20/dlib/image_keypoint.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/hashed_feature_image.h:11:
In file included from ../inst/dlib-19.20/dlib/image_keypoint/../statistics.h:14:
../inst/dlib-19.20/dlib/image_keypoint/../statistics/lda.h:155:9: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  155 |         DLIB_CASSERT(false_detections.size() != 0);
      |         ^
../inst/dlib-19.20/dlib/assert.h:164:62: note: expanded from macro 'DLIB_CASSERT'
  164 | #define DLIB_CASSERT(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_CASSERT_CHOOSER(__VA_ARGS__)(__VA_ARGS__))
      |                                                              ^
../inst/dlib-19.20/dlib/assert.h:163:145: note: expanded from macro 'DLIBM_CASSERT_CHOOSER'
  163 | #define DLIBM_CASSERT_CHOOSER(...) DLIB_WORKAROUND_VISUAL_STUDIO_BUGS(DLIBM_GET_3TH_ARG(__VA_ARGS__,  DLIBM_CASSERT_2_ARGS, DLIBM_CASSERT_1_ARGS))
      |                                                                                                                                                 ^
../inst/dlib-19.20/dlib/assert.h:162:9: note: macro 'DLIBM_GET_3TH_ARG' defined here
  162 | #define DLIBM_GET_3TH_ARG(arg1, arg2, arg3, ...) arg3
      |         ^
7 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o image.dlib.so RcppExports.o dlib-core.o r_cmd_check_happiness.o rcpp_fhog.o rcpp_surf.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/image.dlib/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/image.dlib/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/image.dlib/src'
installing to /data/gannet/ripley/R/packages/tests-clang/image.dlib.Rcheck/00LOCK-image.dlib/00new/image.dlib/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (image.dlib)