Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
boost.log 1.58 to 1.59 compiler error
/usr/local/include/boost/log/utility/formatting_ostream.hpp
/usr/local/include/boost/log/utility/formatting_ostream.hpp:801:19: Invalid operands to binary expression ('ostream_type' (aka 'basic_ostream<char_type, traits_type>') and 'std::__1::vector<float, std::__1::allocator<float> >')
/Users/athundt/source/robonetracker/modules/grl/src/v_repExtKukaLBRiiwaPlugin/v_repExtKukaLBRiiwa.cpp:19:10: In file included from /Users/athundt/source/robonetracker/modules/grl/src/v_repExtKukaLBRiiwaPlugin/v_repExtKukaLBRiiwa.cpp:19:
/Users/athundt/source/robonetracker/modules/grl/include/grl/vrep/KukaLBRiiwaVrepPlugin.hpp:8:10: In file included from /Users/athundt/source/robonetracker/modules/grl/include/grl/vrep/KukaLBRiiwaVrepPlugin.hpp:8:
/usr/local/include/boost/log/trivial.hpp:23:10: In file included from /usr/local/include/boost/log/trivial.hpp:23:
/usr/local/include/boost/log/sources/record_ostream.hpp:31:10: In file included from /usr/local/include/boost/log/sources/record_ostream.hpp:31:
/usr/local/include/boost/log/sources/record_ostream.hpp:212:51: In instantiation of function template specialization 'boost::log::v2_mt_posix::operator<<<boost::log::v2_mt_posix::basic_formatting_ostream<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<float, std::__1::allocator<float> > >' requested here
/Users/athundt/source/robonetracker/modules/grl/include/grl/vrep/KukaLBRiiwaVrepPlugin.hpp:292:67: In instantiation of function template specialization 'boost::log::v2_mt_posix::operator<<<boost::log::v2_mt_posix::basic_record_ostream<char>, std::__1::vector<float, std::__1::allocator<float> > >' requested here
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:207:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const void *' for 1st argument; take the address of the argument with &
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:191:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'std::__1::basic_ostream<char> &(*)(std::__1::basic_ostream<char> &)' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:192:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'basic_ios<char_type, traits_type> &(*)(basic_ios<char_type, traits_type> &)' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:194:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'std::__1::ios_base &(*)(std::__1::ios_base &)' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:195:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'bool' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:196:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'short' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:197:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'unsigned short' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:198:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'int' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:199:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'unsigned int' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:200:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'long' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:201:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'unsigned long' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:202:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'long long' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:203:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'unsigned long long' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:204:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'float' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:205:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'double' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:206:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'long double' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:208:20: Candidate function not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'basic_streambuf<char_type, traits_type> *' for 1st argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:785:1: Candidate function [with _CharT = char, _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'char' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:818:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'char' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:825:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'signed char' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:832:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'unsigned char' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:846:1: Candidate function [with _CharT = char, _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const char *' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:892:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const char *' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:899:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const signed char *' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:907:1: Candidate function [with _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const unsigned char *' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1086:1: Candidate function [with _CharT = char, _Traits = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const std::__1::error_code' for 2nd argument
/usr/local/include/boost/log/attributes/attribute_name.hpp:175:53: Candidate function [with CharT = char, TraitsT = std::__1::char_traits<char>] not viable: no known conversion from 'std::__1::vector<float, std::__1::allocator<float> >' to 'const boost::log::v2_mt_posix::attribute_name' for 2nd argument
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:778:1: Candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'std::__1::vector<float, std::__1::allocator<float> >')
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iomanip:481:1: Candidate template ignored: could not match '__iom_t10' against 'vector'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/complex:1514:1: Candidate template ignored: could not match 'complex' against 'vector'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1063:5: Candidate template ignored: disabled by 'enable_if' [with _Stream = std::__1::basic_ostream<char> &, _Tp = std::__1::vector<float, std::__1::allocator<float> >]
/usr/local/include/boost/log/utility/formatting_ostream.hpp:791:1: Candidate template ignored: substitution failure [with StreamT = std::__1::basic_ostream<char>, T = std::__1::vector<float, std::__1::allocator<float> >]: no type named 'type' in 'boost::log::v2_mt_posix::aux::enable_if_formatting_ostream<std::__1::basic_ostream<char>, std::__1::basic_ostream<char> &>'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:839:1: Candidate template ignored: could not match 'const _CharT *' against 'std::__1::vector<float, std::__1::allocator<float> >'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1077:1: Candidate template ignored: could not match 'basic_string' against 'vector'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1094:1: Candidate template ignored: could not match 'shared_ptr' against 'vector'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:1101:1: Candidate template ignored: could not match 'bitset' against 'vector'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iomanip:361:1: Candidate template ignored: could not match '__iom_t8' against 'vector'
/usr/local/include/boost/log/utility/formatting_ostream.hpp:799:1: Candidate template ignored: substitution failure [with StreamT = std::__1::basic_ostream<char>, T = std::__1::vector<float, std::__1::allocator<float> >]: no type named 'type' in 'boost::log::v2_mt_posix::aux::enable_if_formatting_ostream<std::__1::basic_ostream<char>, std::__1::basic_ostream<char> &>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment