* installing *source* package ‘caTools’ ... ** 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 -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 Gif2R.cpp -o Gif2R.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 GifTools.cpp -o GifTools.o GifTools.cpp:544:42: error: unexpected type name 'uchar': expected expression 544 | uchar* data = Calloc(nPixel*(nBand+1), uchar); | ^ GifTools.cpp:548:3: error: use of undeclared identifier 'Free'; did you mean 'free'? 548 | Free(trg); | ^~~~ | free /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/stdlib.h:64:12: note: 'free' declared here 64 | using std::free; | ^ GifTools.cpp:549:3: error: use of undeclared identifier 'Free'; did you mean 'free'? 549 | Free(src); | ^~~~ | free /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/stdlib.h:64:12: note: 'free' declared here 64 | using std::free; | ^ GifTools.cpp:623:32: error: expected '(' for function-style cast or type construction 623 | p = Calloc(m+n+1,char); | ~~~~^ GifTools.cpp:667:17: error: use of undeclared identifier 'Free'; did you mean 'free'? 667 | if(image) Free(image); | ^~~~ | free /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/stdlib.h:64:12: note: 'free' declared here 64 | using std::free; | ^ GifTools.cpp:668:36: error: unexpected type name 'uchar': expected expression 668 | image = Calloc(Height*Width, uchar); | ^ GifTools.cpp:687:18: error: use of undeclared identifier 'Free'; did you mean 'free'? 687 | if(cube) Free(cube); | ^~~~ | free /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/stdlib.h:64:12: note: 'free' declared here 64 | using std::free; | ^ 7 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:202: GifTools.o] Error 1 ERROR: compilation failed for package ‘caTools’ * removing ‘/srv/hornik/tmp/CRAN_pretest/caTools.Rcheck/caTools’