* installing *source* package ‘AddiVortes’ ...
** this is package ‘AddiVortes’ version ‘0.4.7’
** package ‘AddiVortes’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 21.1.8’
using C++ compiler: ‘clang version 21.1.8’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/AddiVortes/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c addi_vortes_code.cpp -o addi_vortes_code.o
/usr/local/clang21/bin/clang -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c init.c -o init.o
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:779:28: error: too many arguments provided to function-like macro invocation
  779 |   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:999:9: note: macro 'length' defined here
  999 | #define length(x)               Rf_length(x)
      |         ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:778:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
  778 |   _LIBCPP_HIDE_FROM_ABI int
      |   ^
/usr/local/clang21/bin/../include/c++/v1/__config:547:22: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
  547 |       __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                      ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:779:9: error: expected ';' at end of declaration list
  779 |   length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
      |         ^
/usr/local/clang21/bin/../include/c++/v1/__locale:861:28: error: too many arguments provided to function-like macro invocation
  861 |   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:999:9: note: macro 'length' defined here
  999 | #define length(x)               Rf_length(x)
      |         ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:860:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
  860 |   _LIBCPP_HIDE_FROM_ABI int
      |   ^
/usr/local/clang21/bin/../include/c++/v1/__config:547:22: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
  547 |       __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                      ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:861:9: error: expected ';' at end of declaration list
  861 |   length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
      |         ^
/usr/local/clang21/bin/../include/c++/v1/__locale:942:28: error: too many arguments provided to function-like macro invocation
  942 |   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:999:9: note: macro 'length' defined here
  999 | #define length(x)               Rf_length(x)
      |         ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:941:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
  941 |   _LIBCPP_HIDE_FROM_ABI int
      |   ^
/usr/local/clang21/bin/../include/c++/v1/__config:547:22: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
  547 |       __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                      ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:942:9: error: expected ';' at end of declaration list
  942 |   length(state_type& __st, const extern_type* __frm, const extern_type* __end, size_t __mx) const {
      |         ^
/usr/local/clang21/bin/../include/c++/v1/__locale:1105:28: error: too many arguments provided to function-like macro invocation
 1105 |   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:999:9: note: macro 'length' defined here
  999 | #define length(x)               Rf_length(x)
      |         ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:1104:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
 1104 |   _LIBCPP_HIDE_FROM_ABI int
      |   ^
/usr/local/clang21/bin/../include/c++/v1/__config:547:22: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
  547 |       __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                      ^
In file included from addi_vortes_code.cpp:5:
In file included from /usr/local/clang21/bin/../include/c++/v1/vector:363:
In file included from /usr/local/clang21/bin/../include/c++/v1/locale:197:
/usr/local/clang21/bin/../include/c++/v1/__locale:1105:9: error: expected ';' at end of declaration list
 1105 |   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:201: addi_vortes_code.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/AddiVortes/src'
ERROR: compilation failed for package ‘AddiVortes’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/AddiVortes.Rcheck/AddiVortes’