* installing *source* package ‘Haplin’ ... ** using staged installation ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ using C++ compiler: ‘Debian clang version 18.1.8 (9)’ clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c Haplin_init.c -o Haplin_init.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c dists.cc -o dists.o In file included from dists.cc:16: ./dists.h:70:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] 70 | #define true 1 | ^ ./dists.h:71:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] 71 | #define false 0 | ^ ./dists.h:72:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] 72 | #define bool int | ^ dists.cc:29:29: error: use of undeclared identifier 'PI' 29 | static const double TWOPI=2*PI; | ^ dists.cc:172:6: error: use of undeclared identifier 'error' 172 | error("\nSb values out of range."); | ^ dists.cc:179:4: error: use of undeclared identifier 'error' 179 | error("\nNo type"); | ^ dists.cc:305:4: error: use of undeclared identifier 'error' 305 | error("\nInfinite value in SL fit"); | ^ dists.cc:317:4: error: use of undeclared identifier 'error' 317 | error("\nBounded solution intermediate values out of range"); | ^ dists.cc:330:4: error: use of undeclared identifier 'error' 330 | error("\nUnbounded solution intermediate values out of range"); | ^ 3 warnings and 6 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:200: dists.o] Error 1 ERROR: compilation failed for package ‘Haplin’ * removing ‘/srv/hornik/tmp/CRAN/Haplin.Rcheck/Haplin’