* installing *source* package ‘hexDensity’ ... ** package ‘hexDensity’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 18.1.8’ using Fortran compiler: ‘flang-new version 18.1.8’ using C++ compiler: ‘clang version 18.1.8’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/hexDensity/src' /usr/local/clang18/bin/flang-new -fpic -O2 -pedantic -c hbin.f -o hbin.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c meanderingTriangleC.cpp -o meanderingTriangleC.o In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:804:28: error: too many arguments provided to function-like macro invocation 804 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /data/gannet/ripley/R/R-clang/include/Rinternals.h:1002:9: note: macro 'length' defined here 1002 | #define length(x) Rf_length(x) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:803:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 803 | _LIBCPP_HIDE_FROM_ABI int | ^ /usr/local/clang18/bin/../include/c++/v1/__config:857:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 857 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:804:9: error: expected ';' at end of declaration list 804 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /usr/local/clang18/bin/../include/c++/v1/__locale:886:28: error: too many arguments provided to function-like macro invocation 886 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /data/gannet/ripley/R/R-clang/include/Rinternals.h:1002:9: note: macro 'length' defined here 1002 | #define length(x) Rf_length(x) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:885:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 885 | _LIBCPP_HIDE_FROM_ABI int | ^ /usr/local/clang18/bin/../include/c++/v1/__config:857:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 857 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:886:9: error: expected ';' at end of declaration list 886 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /usr/local/clang18/bin/../include/c++/v1/__locale:967:28: error: too many arguments provided to function-like macro invocation 967 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /data/gannet/ripley/R/R-clang/include/Rinternals.h:1002:9: note: macro 'length' defined here 1002 | #define length(x) Rf_length(x) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:966:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 966 | _LIBCPP_HIDE_FROM_ABI int | ^ /usr/local/clang18/bin/../include/c++/v1/__config:857:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 857 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:967:9: error: expected ';' at end of declaration list 967 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /usr/local/clang18/bin/../include/c++/v1/__locale:1130:28: error: too many arguments provided to function-like macro invocation 1130 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ /data/gannet/ripley/R/R-clang/include/Rinternals.h:1002:9: note: macro 'length' defined here 1002 | #define length(x) Rf_length(x) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:1129:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 1129 | _LIBCPP_HIDE_FROM_ABI int | ^ /usr/local/clang18/bin/../include/c++/v1/__config:857:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 857 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from meanderingTriangleC.cpp:2: In file included from /usr/local/clang18/bin/../include/c++/v1/map:2193: In file included from /usr/local/clang18/bin/../include/c++/v1/functional:526: In file included from /usr/local/clang18/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:27: In file included from /usr/local/clang18/bin/../include/c++/v1/vector:325: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/local/clang18/bin/../include/c++/v1/__format/formatter_integral.h:35: In file included from /usr/local/clang18/bin/../include/c++/v1/locale:202: /usr/local/clang18/bin/../include/c++/v1/__locale:1130:9: error: expected ';' at end of declaration list 1130 | length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const { | ^ 12 errors generated. make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:202: meanderingTriangleC.o] Error 1 /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c reg.c -o reg.o make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/hexDensity/src' ERROR: compilation failed for package ‘hexDensity’ * removing ‘/data/gannet/ripley/R/packages/tests-clang/hexDensity.Rcheck/hexDensity’