* installing *source* package ‘RMariaDB’ ... ** this is package ‘RMariaDB’ version ‘1.3.4’ ** package ‘RMariaDB’ successfully unpacked and MD5 sums checked ** using staged installation Using mariadb_config Found mysql_config cflags and libs! Using PKG_CFLAGS=-I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql Using PKG_LIBS=-L/usr/local/opt/openssl/lib -L/opt/R/arm64/lib/ -lmariadb Using PKG_PLOGR= ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbConnection.cpp -o DbConnection.o In file included from DbConnection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbConnection.cpp:2: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbConnection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbConnection.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from DbConnection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:208:10: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 208 | return safe[Rf_ScalarInteger](from); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/named_arg.hpp:22:14: note: in instantiation of function template specialization 'cpp11::as_sexp' requested here 22 | value_ = as_sexp(rhs); | ^ DbConnection.cpp:168:24: note: in instantiation of function template specialization 'cpp11::named_arg::operator=' requested here 168 | "client.flag"_nm = pConn_->client_flag, | ^ 4 warnings and 1 error generated. make[1]: *** [DbConnection.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbResult.cpp -o DbResult.o In file included from DbResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbResult.cpp:2: In file included from ./DbResult.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbResult.cpp:4: In file included from ./DbResultImpl.h:1: In file included from ./MariaResultPrep.h:7: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from DbResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbResult.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [DbResult.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaBinding.cpp -o MariaBinding.o In file included from MariaBinding.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaBinding.cpp:3: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:15: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from MariaBinding.cpp:3: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/container/vector.hpp:819:36: note: in instantiation of template class 'boost::move_detail::is_nothrow_default_constructible>' requested here 819 | vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible::value) | ^ MariaBinding.cpp:6:15: note: in instantiation of exception specification for 'vector' requested here 6 | MariaBinding::MariaBinding() : | ^ In file included from MariaBinding.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaBinding.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from MariaBinding.cpp:3: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/container/detail/copy_move_algo.hpp:270:25: note: in instantiation of template class 'boost::move_detail::is_trivially_destructible' requested here 270 | : enable_if_c ' requested here 982 | inline typename dtl::disable_if_trivially_destructible::type | ^ vendor/boost/container/vector.hpp:1098:7: note: while substituting deduced template arguments into function template 'destroy_alloc_n' [with Allocator = stored_allocator_type, I = char *, U = stored_size_type] 1098 | boost::container::destroy_alloc_n | ^ MariaBinding.cpp:6:15: note: in instantiation of member function 'boost::container::vector::~vector' requested here 6 | MariaBinding::MariaBinding() : | ^ In file included from MariaBinding.cpp:3: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/meta_utils.hpp:378:15: note: in instantiation of template class 'boost::move_detail::is_trivially_copy_assignable' requested here 378 | : and_impl | ^ vendor/boost/move/detail/meta_utils.hpp:395:6: note: in instantiation of template class 'boost::move_detail::and_impl>' requested here 395 | : and_impl | ^ vendor/boost/container/detail/copy_move_algo.hpp:138:6: note: in instantiation of template class 'boost::move_detail::and_, boost::move_detail::is_trivially_copy_assignable>' requested here 138 | : boost::move_detail::and_ | ^ vendor/boost/move/detail/meta_utils_core.hpp:87:34: note: in instantiation of template class 'boost::container::dtl::is_memtransfer_copy_assignable' requested here 87 | struct disable_if : enable_if_c {}; | ^ vendor/boost/container/detail/copy_move_algo.hpp:169:6: note: in instantiation of template class 'boost::move_detail::disable_if, char *>' requested here 169 | : disable_if, R> | ^ vendor/boost/container/detail/copy_move_algo.hpp:889:22: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 889 | inline typename dtl::disable_if_memtransfer_copy_assignable::type | ^ vendor/boost/container/vector.hpp:2942:25: note: in instantiation of function template specialization 'boost::container::expand_forward_and_insert_alloc, char *, boost::container::dtl::insert_value_initialized_n_proxy, char *>>' requested here 2942 | boost::container::expand_forward_and_insert_alloc | ^ vendor/boost/container/vector.hpp:2777:16: note: in instantiation of function template specialization 'boost::container::vector::priv_insert_forward_range_expand_forward, char *>>' requested here 2777 | this->priv_insert_forward_range_expand_forward | ^ vendor/boost/container/vector.hpp:2814:16: note: in instantiation of function template specialization 'boost::container::vector::priv_insert_forward_range, char *>>' requested here 2814 | this->priv_insert_forward_range(this->back_ptr(), new_size - sz, this->priv_resize_proxy(u)); | ^ vendor/boost/container/vector.hpp:1497:13: note: in instantiation of function template specialization 'boost::container::vector::priv_resize>' requested here 1497 | { this->priv_resize(new_size, value_init, alloc_version()); } | ^ MariaBinding.cpp:24:11: note: in instantiation of member function 'boost::container::vector::resize' requested here 24 | is_null.resize(p); | ^ 11 warnings and 1 error generated. make[1]: *** [MariaBinding.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaResult.cpp -o MariaResult.o In file included from MariaResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaResult.cpp:2: In file included from ./MariaResult.h:4: In file included from ./DbResult.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from MariaResult.cpp:3: In file included from ./MariaResultPrep.h:7: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from MariaResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaResult.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [MariaResult.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaResultImpl.cpp -o MariaResultImpl.o In file included from MariaResultImpl.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaResultImpl.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaResultImpl.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [MariaResultImpl.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaResultPrep.cpp -o MariaResultPrep.o In file included from MariaResultPrep.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaResultPrep.cpp:3: In file included from ./MariaResultPrep.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from MariaResultPrep.cpp:3: In file included from ./MariaResultPrep.h:7: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from MariaResultPrep.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaResultPrep.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [MariaResultPrep.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaResultSimple.cpp -o MariaResultSimple.o In file included from MariaResultSimple.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaResultSimple.cpp:3: In file included from ./MariaResultSimple.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from MariaResultSimple.cpp:3: In file included from ./MariaResultSimple.h:5: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from MariaResultSimple.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaResultSimple.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [MariaResultSimple.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaRow.cpp -o MariaRow.o In file included from MariaRow.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaRow.cpp:3: In file included from ./MariaRow.h:4: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from MariaRow.cpp:3: In file included from ./MariaRow.h:5: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/container/vector.hpp:819:36: note: in instantiation of template class 'boost::move_detail::is_nothrow_default_constructible>' requested here 819 | vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible::value) | ^ MariaRow.cpp:9:11: note: in instantiation of exception specification for 'vector' requested here 9 | MariaRow::MariaRow() : | ^ In file included from MariaRow.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaRow.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from MariaRow.cpp:3: In file included from ./MariaRow.h:5: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/container/detail/copy_move_algo.hpp:270:25: note: in instantiation of template class 'boost::move_detail::is_trivially_destructible' requested here 270 | : enable_if_c ' requested here 982 | inline typename dtl::disable_if_trivially_destructible::type | ^ vendor/boost/container/vector.hpp:1098:7: note: while substituting deduced template arguments into function template 'destroy_alloc_n' [with Allocator = stored_allocator_type, I = char *, U = stored_size_type] 1098 | boost::container::destroy_alloc_n | ^ MariaRow.cpp:9:11: note: in instantiation of member function 'boost::container::vector::~vector' requested here 9 | MariaRow::MariaRow() : | ^ In file included from MariaRow.cpp:3: In file included from ./MariaRow.h:5: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/meta_utils.hpp:378:15: note: in instantiation of template class 'boost::move_detail::is_trivially_copy_assignable' requested here 378 | : and_impl | ^ vendor/boost/move/detail/meta_utils.hpp:395:6: note: in instantiation of template class 'boost::move_detail::and_impl>' requested here 395 | : and_impl | ^ vendor/boost/container/detail/copy_move_algo.hpp:138:6: note: in instantiation of template class 'boost::move_detail::and_, boost::move_detail::is_trivially_copy_assignable>' requested here 138 | : boost::move_detail::and_ | ^ vendor/boost/move/detail/meta_utils_core.hpp:87:34: note: in instantiation of template class 'boost::container::dtl::is_memtransfer_copy_assignable' requested here 87 | struct disable_if : enable_if_c {}; | ^ vendor/boost/container/detail/copy_move_algo.hpp:169:6: note: in instantiation of template class 'boost::move_detail::disable_if, char *>' requested here 169 | : disable_if, R> | ^ vendor/boost/container/detail/copy_move_algo.hpp:889:22: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) 889 | inline typename dtl::disable_if_memtransfer_copy_assignable::type | ^ vendor/boost/container/vector.hpp:2942:25: note: in instantiation of function template specialization 'boost::container::expand_forward_and_insert_alloc, char *, boost::container::dtl::insert_value_initialized_n_proxy, char *>>' requested here 2942 | boost::container::expand_forward_and_insert_alloc | ^ vendor/boost/container/vector.hpp:2777:16: note: in instantiation of function template specialization 'boost::container::vector::priv_insert_forward_range_expand_forward, char *>>' requested here 2777 | this->priv_insert_forward_range_expand_forward | ^ vendor/boost/container/vector.hpp:2814:16: note: in instantiation of function template specialization 'boost::container::vector::priv_insert_forward_range, char *>>' requested here 2814 | this->priv_insert_forward_range(this->back_ptr(), new_size - sz, this->priv_resize_proxy(u)); | ^ vendor/boost/container/vector.hpp:1497:13: note: in instantiation of function template specialization 'boost::container::vector::priv_resize>' requested here 1497 | { this->priv_resize(new_size, value_init, alloc_version()); } | ^ MariaRow.cpp:28:10: note: in instantiation of member function 'boost::container::vector::resize' requested here 28 | nulls_.resize(n_); | ^ 11 warnings and 1 error generated. make[1]: *** [MariaRow.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaTypes.cpp -o MariaTypes.o In file included from MariaTypes.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaTypes.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaTypes.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [MariaTypes.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c MariaUtils.cpp -o MariaUtils.o In file included from MariaUtils.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from MariaUtils.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from MariaUtils.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [MariaUtils.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c connection.cpp -o connection.o In file included from connection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from connection.cpp:2: In file included from ./RMariaDB_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from connection.cpp:2: In file included from ./RMariaDB_types.h:8: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from connection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from connection.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [connection.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:8: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:104:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'enable_if_integral' (aka 'unsigned int') [-Wfloat-conversion] 104 | return value; | ~~~~~~ ^~~~~ cpp11.cpp:12:282: note: in instantiation of function template specialization 'cpp11::as_cpp' requested here 12 | return cpp11::as_sexp(connection_create(cpp11::as_cpp>(host), cpp11::as_cpp>(user), cpp11::as_cpp>(password), cpp11::as_cpp>(db), cpp11::as_cpp>(port), cpp11::as_cpp>(unix_socket), cpp11::as_cpp>(client_flag), cpp11::as_cpp>(group), cpp11::as_cpp>(default_file), cpp11::as_cpp>(ssl_key), cpp11::as_cpp>(ssl_cert), cpp11::as_cpp>(ssl_ca), cpp11::as_cpp>(ssl_capath), cpp11::as_cpp>(ssl_cipher), cpp11::as_cpp>(timeout), cpp11::as_cpp>(reconnect))); | ^ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:104:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'enable_if_integral' (aka 'unsigned long') [-Wfloat-conversion] 104 | return value; | ~~~~~~ ^~~~~ cpp11.cpp:12:397: note: in instantiation of function template specialization 'cpp11::as_cpp' requested here 12 | return cpp11::as_sexp(connection_create(cpp11::as_cpp>(host), cpp11::as_cpp>(user), cpp11::as_cpp>(password), cpp11::as_cpp>(db), cpp11::as_cpp>(port), cpp11::as_cpp>(unix_socket), cpp11::as_cpp>(client_flag), cpp11::as_cpp>(group), cpp11::as_cpp>(default_file), cpp11::as_cpp>(ssl_key), cpp11::as_cpp>(ssl_cert), cpp11::as_cpp>(ssl_ca), cpp11::as_cpp>(ssl_capath), cpp11::as_cpp>(ssl_cipher), cpp11::as_cpp>(timeout), cpp11::as_cpp>(reconnect))); | ^ In file included from cpp11.cpp:4: In file included from ./RMariaDB_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:104:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'enable_if_integral' (aka 'int') [-Wfloat-conversion] 104 | return value; | ~~~~~~ ^~~~~ cpp11.cpp:12:885: note: in instantiation of function template specialization 'cpp11::as_cpp' requested here 12 | return cpp11::as_sexp(connection_create(cpp11::as_cpp>(host), cpp11::as_cpp>(user), cpp11::as_cpp>(password), cpp11::as_cpp>(db), cpp11::as_cpp>(port), cpp11::as_cpp>(unix_socket), cpp11::as_cpp>(client_flag), cpp11::as_cpp>(group), cpp11::as_cpp>(default_file), cpp11::as_cpp>(ssl_key), cpp11::as_cpp>(ssl_cert), cpp11::as_cpp>(ssl_ca), cpp11::as_cpp>(ssl_capath), cpp11::as_cpp>(ssl_cipher), cpp11::as_cpp>(timeout), cpp11::as_cpp>(reconnect))); | ^ 11 warnings and 1 error generated. make[1]: *** [cpp11.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c driver.cpp -o driver.o In file included from driver.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from driver.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from driver.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from driver.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:208:10: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 208 | return safe[Rf_ScalarInteger](from); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/named_arg.hpp:22:14: note: in instantiation of function template specialization 'cpp11::as_sexp' requested here 22 | value_ = as_sexp(rhs); | ^ driver.cpp:27:49: note: in instantiation of function template specialization 'cpp11::named_arg::operator=' requested here 27 | cpp11::named_arg(mysql_get_client_info()) = mysql_get_client_version() | ^ 3 warnings and 1 error generated. make[1]: *** [driver.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/opt/R/arm64/include/mariadb -I/opt/R/arm64/include/mariadb/mysql -Ivendor -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c result.cpp -o result.o In file included from result.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from result.cpp:2: In file included from ./RMariaDB_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from result.cpp:2: In file included from ./RMariaDB_types.h:8: In file included from ./MariaBinding.h:4: In file included from vendor/boost/container/vector.hpp:27: In file included from vendor/boost/container/allocator_traits.hpp:32: In file included from vendor/boost/container/detail/mpl.hpp:26: vendor/boost/move/detail/type_traits.hpp:877:30: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] 877 | { static const bool value = BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:335:54: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE' 335 | #define BOOST_MOVE_IS_TRIVIALLY_DESTRUCTIBLE(T) BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:166:51: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR' 166 | # define BOOST_MOVE_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:908:30: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins] 908 | static const bool value = BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE(T); | ^ vendor/boost/move/detail/type_traits.hpp:323:58: note: expanded from macro 'BOOST_MOVE_IS_TRIVIALLY_COPY_ASSIGNABLE' 323 | BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T)) | ^ vendor/boost/move/detail/type_traits.hpp:159:47: note: expanded from macro 'BOOST_MOVE_HAS_TRIVIAL_ASSIGN' 159 | # define BOOST_MOVE_HAS_TRIVIAL_ASSIGN(T) __has_trivial_assign(T) | ^ vendor/boost/move/detail/type_traits.hpp:923:30: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 923 | { static const bool value = BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:341:60: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE' 341 | #define BOOST_MOVE_IS_NOTHROW_DEFAULT_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:173:52: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR' 173 | # define BOOST_MOVE_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T) | ^ vendor/boost/move/detail/type_traits.hpp:930:30: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins] 930 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:347:58: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE' 347 | #define BOOST_MOVE_IS_NOTHROW_COPY_CONSTRUCTIBLE(T) BOOST_MOVE_HAS_NOTHROW_COPY(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:180:46: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_COPY' 180 | # define BOOST_MOVE_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T)) | ^ vendor/boost/move/detail/type_traits.hpp:944:30: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins] 944 | { static const bool value = BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T); }; | ^ vendor/boost/move/detail/type_traits.hpp:353:53: note: expanded from macro 'BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE' 353 | #define BOOST_MOVE_IS_NOTHROW_COPY_ASSIGNABLE(T) BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) || ::boost::move_detail::is_pod::value | ^ vendor/boost/move/detail/type_traits.hpp:187:48: note: expanded from macro 'BOOST_MOVE_HAS_NOTHROW_ASSIGN' 187 | # define BOOST_MOVE_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T)) | ^ In file included from result.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from result.cpp:1: In file included from ./pch.h:4: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 8 warnings and 1 error generated. make[1]: *** [result.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘RMariaDB’ * removing ‘/Users/ripley/R/packages/tests-devel/RMariaDB.Rcheck/RMariaDB’