bnosac / image

Computer Vision and Image Recognition algorithms for R users
272 stars 65 forks source link

fix image.dlib warnings #28

Open jwijffels opened 6 days ago

jwijffels commented 6 days ago
[Additional issues](https://cran.r-project.org/web/checks/check_issue_kinds.html)
[clang19](https://www.stats.ox.ac.uk/pub/bdr/clang19/image.dlib.log) [clang19](https://www.stats.ox.ac.uk/pub/bdr/clang19/image.dlib.out) [M1mac](https://www.stats.ox.ac.uk/pub/bdr/M1mac/image.dlib.out)

Check Details
Version: 0.1.1
Check: whether package can be installed
Result: WARN 
  Found the following significant warnings:
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/image.dlib.Rcheck/00install.out’ for details.
  * used C++ compiler: ‘Debian clang version 18.1.8 (11)’
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/image.dlib-00check.html)

Version: 0.1.1
Check: Rd files
Result: NOTE 
  checkRd: (-1) image_fhog.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_fhog.Rd:27: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_fhog.Rd:28: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_fhog.Rd:29: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_fhog.Rd:30: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_fhog.Rd:31: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:19: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:20: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:21: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:22: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:23: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:24: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:25: Lost braces in \itemize; \value handles \item{}{} directly
  checkRd: (-1) image_surf.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly
Flavors: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/image.dlib-00check.html), [r-devel-linux-x86_64-debian-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/image.dlib-00check.html), [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/image.dlib-00check.html), [r-devel-linux-x86_64-fedora-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/image.dlib-00check.html), [r-devel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/image.dlib-00check.html), [r-patched-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/image.dlib-00check.html), [r-release-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/image.dlib-00check.html), [r-release-macos-arm64](https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/image.dlib-00check.html), [r-release-macos-x86_64](https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/image.dlib-00check.html), [r-release-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/image.dlib-00check.html)

Version: 0.1.1
Check: whether package can be installed
Result: WARN 
  Found the following significant warnings:
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
    ../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]
  See ‘/data/gannet/ripley/R/packages/tests-clang/image.dlib.Rcheck/00install.out’ for details.
  * used C++ compiler: ‘clang version 18.1.8’
Flavor: [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/image.dlib-00check.html)

Version: 0.1.1
Check: installed package size
Result: NOTE 
    installed size is 10.9Mb
    sub-directories of 1Mb or more:
      dlib-19.20   9.5Mb
Flavors: [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/image.dlib-00check.html), [r-devel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/image.dlib-00check.html), [r-release-macos-arm64](https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/image.dlib-00check.html), [r-release-macos-x86_64](https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/image.dlib-00check.html), [r-release-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/image.dlib-00check.html), [r-ol](https://www.r-project.org/nosvn/R.check/r-oldrel-macos-arm64/image.dlib-00check.html)
jwijffels commented 6 days ago
* installing *source* package ‘image.dlib’ ...
** package ‘image.dlib’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 19.1.0’
using C++17
make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang-trunk/image.dlib/src'
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/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/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/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/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/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
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  496 |     inline const ustring convert_utf8_to_utf32 (
      |                          ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/concepts.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/format_parse_context.h:16:
/usr/local/clang19/bin/../include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:514:16: note: in instantiation of template class 'std::basic_string_view<unsigned int>' requested here
  514 |         return temp;
      |                ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:514:16: note: while substituting deduced template arguments into function template 'basic_string' [with $0 = (no value)]
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:3396:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 3396 |   traits_type::copy(std::__to_address(__new_data), std::__to_address(__p), size() + 1);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:3333:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__shrink_or_extend' requested here
 3333 |   __shrink_or_extend(__target_capacity);
      |   ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:504:14: note: in instantiation of member function 'std::basic_string<unsigned int>::reserve' requested here
  504 |         temp.reserve(str.size());
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2911:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2911 |   traits_type::assign(*__p, __c);
      |   ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2912:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2912 |   traits_type::assign(*++__p, value_type());
      |   ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2535:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2535 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2556:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by' requested here
 2556 |   __grow_by(__old_cap, __delta_cap, __old_sz, __n_copy, __n_del, __n_add);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:2898:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by_without_replace' requested here
 2898 |     __grow_by_without_replace(__cap, 1, __sz, __sz, 0);
      |     ^
../inst/dlib-19.20/dlib/bigint/../unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2538 |     traits_type::copy(
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2861:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2861 |     traits_type::assign(std::__to_address(__p) + __sz, __n, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/bigint/../serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2864:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2864 |     traits_type::assign(__p[__sz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2134:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__null_terminate_at' requested here
 2134 |     __null_terminate_at(std::__to_address(__get_pointer()), __pos);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3304:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__erase_to_end' requested here
 3304 |     __erase_to_end(__n);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/bigint/../serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2825:29: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2825 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                             ^
../inst/dlib-19.20/dlib/unicode/unicode.cpp:54:14: note: in instantiation of member function 'std::basic_string<unsigned int>::assign' requested here
   54 |         dest.assign((const unichar *)(src));
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2825:77: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2825 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                                             ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2826:80: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2826 |                                                       : __assign_external(__s, traits_type::length(__s)))
      |                                                                                ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2208:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2208 |     traits_type::move(std::__to_address(__p), __s, __n);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2825:57: note: in instantiation of member function 'std::basic_string<unsigned int>::__assign_short' requested here
 2825 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                         ^
../inst/dlib-19.20/dlib/unicode/unicode.cpp:54:14: note: in instantiation of member function 'std::basic_string<unsigned int>::assign' requested here
   54 |         dest.assign((const unichar *)(src));
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2209:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2209 |     traits_type::assign(__p[__n], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2817:33: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2817 |   return __assign_external(__s, traits_type::length(__s));
      |                                 ^
/usr/local/clang19/bin/../include/c++/v1/string:2827:14: note: in instantiation of member function 'std::basic_string<unsigned int>::__assign_external' requested here
 2827 |            : __assign_external(__s);
      |              ^
../inst/dlib-19.20/dlib/unicode/unicode.cpp:54:14: note: in instantiation of member function 'std::basic_string<unsigned int>::assign' requested here
   54 |         dest.assign((const unichar *)(src));
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
16 errors generated.
make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: dlib-core.o] Error 1
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/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 <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  496 |     inline const ustring convert_utf8_to_utf32 (
      |                          ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/concepts.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/format_parse_context.h:16:
/usr/local/clang19/bin/../include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/unicode/unicode.h:514:16: note: in instantiation of template class 'std::basic_string_view<unsigned int>' requested here
  514 |         return temp;
      |                ^
../inst/dlib-19.20/dlib/unicode/unicode.h:514:16: note: while substituting deduced template arguments into function template 'basic_string' [with $0 = (no value)]
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
 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
      |         ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:3396:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 3396 |   traits_type::copy(std::__to_address(__new_data), std::__to_address(__p), size() + 1);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:3333:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__shrink_or_extend' requested here
 3333 |   __shrink_or_extend(__target_capacity);
      |   ^
../inst/dlib-19.20/dlib/unicode/unicode.h:504:14: note: in instantiation of member function 'std::basic_string<unsigned int>::reserve' requested here
  504 |         temp.reserve(str.size());
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2911:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2911 |   traits_type::assign(*__p, __c);
      |   ^
../inst/dlib-19.20/dlib/unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2912:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2912 |   traits_type::assign(*++__p, value_type());
      |   ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2535:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2535 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2556:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by' requested here
 2556 |   __grow_by(__old_cap, __delta_cap, __old_sz, __n_copy, __n_del, __n_add);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:2898:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by_without_replace' requested here
 2898 |     __grow_by_without_replace(__cap, 1, __sz, __sz, 0);
      |     ^
../inst/dlib-19.20/dlib/unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2538 |     traits_type::copy(
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2861:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2861 |     traits_type::assign(std::__to_address(__p) + __sz, __n, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2864:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2864 |     traits_type::assign(__p[__sz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2134:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__null_terminate_at' requested here
 2134 |     __null_terminate_at(std::__to_address(__get_pointer()), __pos);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3304:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__erase_to_end' requested here
 3304 |     __erase_to_end(__n);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
13 warnings and 10 errors generated.
make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: rcpp_fhog.o] Error 1
/usr/local/clang19/bin/clang++ -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/clang19/include" -DNDEBUG  -DSTRICT_R_HEADERS -include r_cmd_check_happiness.h  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang19/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 <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/unicode/unicode.h:496:26: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  496 |     inline const ustring convert_utf8_to_utf32 (
      |                          ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/concepts.h:16:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/format_parse_context.h:16:
/usr/local/clang19/bin/../include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
../inst/dlib-19.20/dlib/unicode/unicode.h:514:16: note: in instantiation of template class 'std::basic_string_view<unsigned int>' requested here
  514 |         return temp;
      |                ^
../inst/dlib-19.20/dlib/unicode/unicode.h:514:16: note: while substituting deduced template arguments into function template 'basic_string' [with $0 = (no value)]
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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: passing no argument for the '...' parameter of a variadic macro is a C++20 extension [-Wc++20-extensions]
  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 <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:3396:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 3396 |   traits_type::copy(std::__to_address(__new_data), std::__to_address(__p), size() + 1);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:3333:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__shrink_or_extend' requested here
 3333 |   __shrink_or_extend(__target_capacity);
      |   ^
../inst/dlib-19.20/dlib/unicode/unicode.h:504:14: note: in instantiation of member function 'std::basic_string<unsigned int>::reserve' requested here
  504 |         temp.reserve(str.size());
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2911:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2911 |   traits_type::assign(*__p, __c);
      |   ^
../inst/dlib-19.20/dlib/unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2912:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2912 |   traits_type::assign(*++__p, value_type());
      |   ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2535:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2535 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2556:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by' requested here
 2556 |   __grow_by(__old_cap, __delta_cap, __old_sz, __n_copy, __n_del, __n_add);
      |   ^
/usr/local/clang19/bin/../include/c++/v1/string:2898:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by_without_replace' requested here
 2898 |     __grow_by_without_replace(__cap, 1, __sz, __sz, 0);
      |     ^
../inst/dlib-19.20/dlib/unicode/unicode.h:509:18: note: in instantiation of member function 'std::basic_string<unsigned int>::push_back' requested here
  509 |             temp.push_back(ch);
      |                  ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2538 |     traits_type::copy(
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2861:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2861 |     traits_type::assign(std::__to_address(__p) + __sz, __n, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2864:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2864 |     traits_type::assign(__p[__sz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from ./r_cmd_check_happiness.h:6:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:66:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:162:
In file included from /usr/local/clang19/bin/../include/c++/v1/unordered_set:1805:
In file included from /usr/local/clang19/bin/../include/c++/v1/functional:552:
In file included from /usr/local/clang19/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/local/clang19/bin/../include/c++/v1/vector:325:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/local/clang19/bin/../include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/local/clang19/bin/../include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:2134:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__null_terminate_at' requested here
 2134 |     __null_terminate_at(std::__to_address(__get_pointer()), __pos);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:3304:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__erase_to_end' requested here
 3304 |     __erase_to_end(__n);
      |     ^
/usr/local/clang19/bin/../include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
../inst/dlib-19.20/dlib/serialize.h:1262:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1262 |         item.resize(size);
      |              ^
/usr/local/clang19/bin/../include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
7 warnings and 10 errors generated.
make[2]: *** [/data/gannet/ripley/R/clang19/etc/Makeconf:202: rcpp_surf.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang-trunk/image.dlib/src'
ERROR: compilation failed for package ‘image.dlib’
* removing ‘/data/gannet/ripley/R/packages/tests-clang-trunk/image.dlib.Rcheck/image.dlib’
jwijffels commented 6 days ago
* using log directory ‘/Users/ripley/R/packages/tests-devel/image.dlib.Rcheck’
* using R Under development (unstable) (2024-09-21 r87185)
* using platform: aarch64-apple-darwin24.0.0
* R was compiled by
    Apple clang version 16.0.0 (clang-1600.0.26.3)
    GNU Fortran (GCC) 14.1.0
* running under: macOS Sequoia 15.0
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘image.dlib/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘image.dlib’ version ‘0.1.1’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘image.dlib’ can be installed ... WARNING
Found the following significant warnings:
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
  ../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]
See ‘/Users/ripley/R/packages/tests-devel/image.dlib.Rcheck/00install.out’ for details.
* used C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.3)’
* used SDK: ‘MacOSX15.0.sdk’
* checking C++ specification ... OK
* checking installed package size ... NOTE
  installed size is 10.5Mb
  sub-directories of 1Mb or more:
    dlib-19.20   9.3Mb
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... NOTE
checkRd: (-1) image_fhog.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_fhog.Rd:27: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_fhog.Rd:28: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_fhog.Rd:29: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_fhog.Rd:30: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_fhog.Rd:31: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:19: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:20: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:21: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:22: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:23: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:24: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:25: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) image_surf.Rd:26: Lost braces in \itemize; \value handles \item{}{} directly
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... OK
* checking compiled code ... OK
* checking examples ... OK
* checking PDF version of manual ... OK
* checking HTML version of manual ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 1 WARNING, 2 NOTEs
See
  ‘/Users/ripley/R/packages/tests-devel/image.dlib.Rcheck/00check.log’
for details.

       22.52 real        20.27 user         4.40 sys
jwijffels commented 6 days ago

Please see the problems shown on https://cran.r-project.org/web/checks/check_results_image.dlib.html.

Specifically, please see the clang19 additional issues.

These show compilation problems using the compilers from LLVM 19, finally released yesterday. The results are for Fedora 36 (see https://www.stats.ox.ac.uk/pub/bdr/clang19/README.txt) and can conveniently be reproduced using the clang-19 and flang-19 packages in Debian unstable.