* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘gdm’ ...
** package ‘gdm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 18.1.8 (1)’
using C++ compiler: ‘Debian clang version 18.1.8 (1)’
using C++11
make[1]: Entering directory '/tmp/Rtmp3UDTgz/R.INSTALL2898a81c7f939d/gdm/src'
clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion  -c Gdmlib.cpp -o Gdmlib.o
Gdmlib.cpp:44:1: error: redefinition of a 'extern inline' function 'strlcat' is not supported in C++
   44 | strlcat(char       *dst,        /* O - Destination string */
      | ^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:167:8: note: previous definition is here
  167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src,
      |        ^
Gdmlib.cpp:88:1: error: redefinition of a 'extern inline' function 'strlcpy' is not supported in C++
   88 | strlcpy(char       *dst,        /* O - Destination string */
      | ^
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:150:8: note: previous definition is here
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      |        ^
2 errors generated.
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:202: Gdmlib.o] Error 1
make[1]: Leaving directory '/tmp/Rtmp3UDTgz/R.INSTALL2898a81c7f939d/gdm/src'
ERROR: compilation failed for package ‘gdm’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/gdm’