* installing *source* package 'toonlite' ... ** this is package 'toonlite' version '0.1.0' ** using staged installation ** libs specified C++17 using C compiler: 'gcc.exe (GCC) 14.3.0' using C++ compiler: 'g++.exe (GCC) 14.3.0' using C++17 gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c toon_df.cpp -o toon_df.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c toon_encoder.cpp -o toon_encoder.o In file included from D:/RCompile/recent/R/include/R.h:73, from toon_encoder.h:10, from toon_encoder.cpp:1: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/locale_conv.h: In function 'bool std::__do_str_codecvt(const _InChar*, const _InChar*, _OutStr&, const _Codecvt&, _State&, size_t&, _Fn)': D:/RCompile/recent/R/include/R_ext/Error.h:88:15: error: 'Rf_error' is not a member of 'std::codecvt_base' 88 | #define error Rf_error | ^~~~~~~~ In file included from toon_encoder.h:11: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/locale_conv.h: In member function 'std::__cxx11::wstring_convert<_Codecvt, _Elem, _Wide_alloc, _Byte_alloc>::wide_string std::__cxx11::wstring_convert<_Codecvt, _Elem, _Wide_alloc, _Byte_alloc>::from_bytes(const char*)': D:/RCompile/recent/R/include/Rinternals.h:999:33: error: 'Rf_length' is not a member of 'std::char_traits' 999 | #define length(x) Rf_length(x) | ^~~~~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/locale_conv.h: In member function 'bool std::wbuffer_convert<_Codecvt, _Elem, _Tr>::_M_conv_get()': D:/RCompile/recent/R/include/R_ext/Error.h:88:15: error: 'Rf_error' is not a member of 'std::codecvt_base' 88 | #define error Rf_error | ^~~~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/locale_conv.h: In member function 'bool std::wbuffer_convert<_Codecvt, _Elem, _Tr>::_M_conv_put()': D:/RCompile/recent/R/include/R_ext/Error.h:88:15: error: 'Rf_error' is not a member of 'std::codecvt_base' 88 | #define error Rf_error | ^~~~~~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: toon_encoder.o] Error 1 ERROR: compilation failed for package 'toonlite' * removing 'd:/RCompile/CRANincoming/R-devel/lib/toonlite'