* installing *source* package ‘toonlite’ ... ** this is package ‘toonlite’ version ‘0.1.0’ ** using staged installation ** libs specified C++17 using C compiler: ‘Debian clang version 21.1.8 (1+b1)’ using C++ compiler: ‘Debian clang version 21.1.8 (1+b1)’ using C++17 clang-21 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c toon_df.cpp -o toon_df.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c toon_encoder.cpp -o toon_encoder.o In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:82:23: error: no member named 'Rf_error' in 'std::codecvt_base'; did you mean simply 'Rf_error'? 82 | if (__result == codecvt_base::error) | ^ ~~~~~ /home/hornik/tmp/R/include/R_ext/Error.h:58:19: note: 'Rf_error' declared here 58 | [[noreturn]] void Rf_error(const char *, ...) R_PRINTF_FORMAT(1, 2); | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:82:20: error: comparison between pointer and integer ('codecvt_base::result' and 'void (*)(const char *, ...)') 82 | if (__result == codecvt_base::error) | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/postypes.h:197:5: note: candidate template ignored: could not match 'fpos<_StateT>' against 'codecvt_base::result' 197 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/allocator.h:242:5: note: candidate template ignored: could not match 'allocator<_T1>' against 'codecvt_base::result' 242 | operator==(const allocator<_T1>&, const allocator<_T2>&) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:443:5: note: candidate template ignored: could not match 'reverse_iterator<_Iterator>' against 'codecvt_base::result' 443 | operator==(const reverse_iterator<_Iterator>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:488:5: note: candidate template ignored: could not match 'reverse_iterator<_IteratorL>' against 'codecvt_base::result' 488 | operator==(const reverse_iterator<_IteratorL>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:1662:5: note: candidate template ignored: could not match 'move_iterator<_IteratorL>' against 'codecvt_base::result' 1662 | operator==(const move_iterator<_IteratorL>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:1732:5: note: candidate template ignored: could not match 'move_iterator<_Iterator>' against 'codecvt_base::result' 1732 | operator==(const move_iterator<_Iterator>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_pair.h:1060:5: note: candidate template ignored: could not match 'pair<_T1, _T2>' against 'codecvt_base::result' 1060 | operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:633:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'codecvt_base::result' 633 | operator==(basic_string_view<_CharT, _Traits> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:641:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'codecvt_base::result' 641 | operator==(basic_string_view<_CharT, _Traits> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:648:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'void (*)(const char *, ...)' 648 | operator==(__type_identity_t> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4045:5: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Alloc>' against 'codecvt_base::result' 4045 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4062:5: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Alloc>' against 'codecvt_base::result' 4062 | operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4109:5: note: candidate template ignored: could not match 'const _CharT *' against 'codecvt_base::result' 4109 | operator==(const _CharT* __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/tuple:2610:5: note: candidate template ignored: could not match 'tuple<_TElements...>' against 'codecvt_base::result' 2610 | operator==(const tuple<_TElements...>& __t, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:2338:5: note: candidate template ignored: could not match 'vector<_Tp, _Alloc>' against 'codecvt_base::result' 2338 | operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/streambuf_iterator.h:236:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT, _Traits>' against 'codecvt_base::result' 236 | operator==(const istreambuf_iterator<_CharT, _Traits>& __a, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:845:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'codecvt_base::result' 845 | operator==(const unique_ptr<_Tp, _Dp>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:853:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'codecvt_base::result' 853 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:861:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'void (const char *, ...)' 861 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1803:5: note: candidate template ignored: could not match '__shared_ptr<_Tp1, _Lp>' against 'codecvt_base::result' 1803 | operator==(const __shared_ptr<_Tp1, _Lp>& __a, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1809:5: note: candidate template ignored: could not match '__shared_ptr<_Tp, _Lp>' against 'codecvt_base::result' 1809 | operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1829:5: note: candidate template ignored: could not match '__shared_ptr<_Tp, _Lp>' against 'void (const char *, ...)' 1829 | operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:554:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'codecvt_base::result' 554 | operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:560:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'codecvt_base::result' 560 | operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:581:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'void (const char *, ...)' 581 | operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:326:40: error: no member named 'Rf_length' in 'std::char_traits'; did you mean simply 'Rf_length'? 326 | { return from_bytes(__ptr, __ptr+char_traits::length(__ptr)); } | ^ ~~~~~~~~~~~~~ /home/hornik/tmp/R/include/Rinternals.h:1110:10: note: 'Rf_length' declared here 1110 | R_len_t Rf_length(SEXP); | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:326:66: error: cannot initialize a parameter of type 'SEXP' (aka 'SEXPREC *') with an lvalue of type 'const char *' 326 | { return from_bytes(__ptr, __ptr+char_traits::length(__ptr)); } | ^~~~~ /home/hornik/tmp/R/include/Rinternals.h:1110:24: note: passing argument to parameter here 1110 | R_len_t Rf_length(SEXP); | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:560:21: error: no member named 'Rf_error' in 'std::codecvt_base'; did you mean simply 'Rf_error'? 560 | return __result != codecvt_base::error; | ^ ~~~~~ /home/hornik/tmp/R/include/R_ext/Error.h:58:19: note: 'Rf_error' declared here 58 | [[noreturn]] void Rf_error(const char *, ...) R_PRINTF_FORMAT(1, 2); | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:560:18: error: comparison between pointer and integer ('codecvt_base::result' and 'void (*)(const char *, ...)') 560 | return __result != codecvt_base::error; | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/postypes.h:202:5: note: candidate template ignored: could not match 'fpos<_StateT>' against 'codecvt_base::result' 202 | operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/allocator.h:250:5: note: candidate template ignored: could not match 'allocator<_T1>' against 'codecvt_base::result' 250 | operator!=(const allocator<_T1>&, const allocator<_T2>&) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:457:5: note: candidate template ignored: could not match 'reverse_iterator<_Iterator>' against 'codecvt_base::result' 457 | operator!=(const reverse_iterator<_Iterator>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:502:5: note: candidate template ignored: could not match 'reverse_iterator<_IteratorL>' against 'codecvt_base::result' 502 | operator!=(const reverse_iterator<_IteratorL>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:1681:5: note: candidate template ignored: could not match 'move_iterator<_IteratorL>' against 'codecvt_base::result' 1681 | operator!=(const move_iterator<_IteratorL>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_iterator.h:1748:5: note: candidate template ignored: could not match 'move_iterator<_Iterator>' against 'codecvt_base::result' 1748 | operator!=(const move_iterator<_Iterator>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_pair.h:1081:5: note: candidate template ignored: could not match 'pair<_T1, _T2>' against 'codecvt_base::result' 1081 | operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:655:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'codecvt_base::result' 655 | operator!=(basic_string_view<_CharT, _Traits> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:662:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'codecvt_base::result' 662 | operator!=(basic_string_view<_CharT, _Traits> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/string_view:670:5: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'void (*)(const char *, ...)' 670 | operator!=(__type_identity_t> __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4123:5: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Alloc>' against 'codecvt_base::result' 4123 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4137:5: note: candidate template ignored: could not match 'const _CharT *' against 'codecvt_base::result' 4137 | operator!=(const _CharT* __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/basic_string.h:4150:5: note: candidate template ignored: could not match 'basic_string<_CharT, _Traits, _Alloc>' against 'codecvt_base::result' 4150 | operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/tuple:2638:5: note: candidate template ignored: could not match 'tuple<_TElements...>' against 'codecvt_base::result' 2638 | operator!=(const tuple<_TElements...>& __t, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:2384:5: note: candidate template ignored: could not match 'vector<_Tp, _Alloc>' against 'codecvt_base::result' 2384 | operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/streambuf_iterator.h:244:5: note: candidate template ignored: could not match 'istreambuf_iterator<_CharT, _Traits>' against 'codecvt_base::result' 244 | operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:869:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'codecvt_base::result' 869 | operator!=(const unique_ptr<_Tp, _Dp>& __x, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:877:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'codecvt_base::result' 877 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:884:5: note: candidate template ignored: could not match 'unique_ptr<_Tp, _Dp>' against 'void (const char *, ...)' 884 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1834:5: note: candidate template ignored: could not match '__shared_ptr<_Tp1, _Lp>' against 'codecvt_base::result' 1834 | operator!=(const __shared_ptr<_Tp1, _Lp>& __a, | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1840:5: note: candidate template ignored: could not match '__shared_ptr<_Tp, _Lp>' against 'codecvt_base::result' 1840 | operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr_base.h:1845:5: note: candidate template ignored: could not match '__shared_ptr<_Tp, _Lp>' against 'void (const char *, ...)' 1845 | operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:587:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'codecvt_base::result' 587 | operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:593:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'codecvt_base::result' 593 | operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept | ^ /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/shared_ptr.h:599:5: note: candidate template ignored: could not match 'shared_ptr<_Tp>' against 'void (const char *, ...)' 599 | operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept | ^ In file included from toon_encoder.cpp:7: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/iomanip:53: In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/locale:47: /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/locale_conv.h:598:22: error: no member named 'Rf_error' in 'std::codecvt_base'; did you mean simply 'Rf_error'? 598 | if (__result == codecvt_base::error) | ^ ~~~~~ /home/hornik/tmp/R/include/R_ext/Error.h:58:19: note: 'Rf_error' declared here 58 | [[noreturn]] void Rf_error(const char *, ...) R_PRINTF_FORMAT(1, 2); | ^ 7 errors generated. make: *** [/home/hornik/tmp/R/etc/Makeconf:201: toon_encoder.o] Error 1 ERROR: compilation failed for package ‘toonlite’ * removing ‘/srv/hornik/tmp/CRAN_pretest/toonlite.Rcheck/toonlite’