Date: Mon, 1 Jun 2020 02:08:53 +0700 From: "Alex V. Petrov" <alexvpetrov@gmail.com> To: martymac@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: simgear-2020.1.2 error update Message-ID: <fbef04a7-2dca-724f-fec7-0f83e8588454@gmail.com>
next in thread | raw e-mail | index | archive | help
FAILED: simgear/misc/CMakeFiles/test_strutils.dir/strutils_test.cxx.o /usr/bin/c++ -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -Isimgear -I. -I/usr/ports/devel/simgear/work/simgear-2020.1.2/3rdparty/udns -I/usr/local/include -I/usr/ports/devel/simgear/work/simgear-2020.1.2 -O2 -pipe -fstac k-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wall -fPIC -Wno-overloaded-virtual -Wno-redeclared-class-member -Wno-unused-local-typedefs -DBOOST_BIMAP_DISABLE_SERIALIZATION -O3 -msse2 -mfpmath=sse -f tree-vectorize -ftree-slp-vectorize -std=gnu++11 -MD -MT simgear/misc/CMakeFiles/test_strutils.dir/strutils_test.cxx.o -MF simgear/misc/CMakeFiles/test_strutils.dir/strutils_test.cxx.o.d -o simgear/misc/CMakeF iles/test_strutils.dir/strutils_test.cxx.o -c /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/misc/strutils_test.cxx /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/misc/strutils_test.cxx:735:45: error: no member named 'decodeHex' in namespace 'simgear::strutils'; did you mean 'encodeHex'? const auto decoded = simgear::strutils::decodeHex("01 0xff,0xcd \n\t99 0xcD abcdef\n\r0x1 0x2 0x3"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ encodeHex /usr/local/include/simgear/misc/strutils.hxx:303:17: note: 'encodeHex' declared here std::string encodeHex(const std::string& bytes); ^ /usr/ports/devel/simgear/work/simgear-2020.1.2/simgear/misc/strutils_test.cxx:737:23: error: invalid operands to binary expression ('const std::__1::basic_string<char>' and 'vector<uint8_t>' (aka 'vector<unsigne d char>')) SG_VERIFY(decoded == data1); ~~~~~~~ ^ ~~~~~ /usr/local/include/simgear/misc/test_macros.hxx:12:11: note: expanded from macro 'SG_VERIFY' if (!(a)) { \ ^ /usr/include/c++/v1/system_error:390:1: note: candidate function not viable: no known conversion from 'const std::__1::basic_string<char>' to 'const std::__1::error_code' for 1st argument operator==(const error_code& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:397:1: note: candidate function not viable: no known conversion from 'const std::__1::basic_string<char>' to 'const std::__1::error_code' for 1st argument operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:405:1: note: candidate function not viable: no known conversion from 'const std::__1::basic_string<char>' to 'const std::__1::error_condition' for 1st argument operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:412:1: note: candidate function not viable: no known conversion from 'const std::__1::basic_string<char>' to 'const std::__1::error_condition' for 1st argument operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT ^ /usr/include/c++/v1/utility:576:1: note: candidate template ignored: could not match 'pair' against 'basic_string' operator==(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) ^ /usr/include/c++/v1/iterator:807:1: note: candidate template ignored: could not match 'reverse_iterator' against 'basic_string' operator==(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:1036:1: note: candidate template ignored: could not match 'istream_iterator' against 'basic_string' operator==(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, ^ /usr/include/c++/v1/iterator:1140:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'basic_string' bool operator==(const istreambuf_iterator<_CharT,_Traits>& __a, ^ /usr/include/c++/v1/iterator:1243:1: note: candidate template ignored: could not match 'move_iterator' against 'basic_string' operator==(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:1615:1: note: candidate template ignored: could not match '__wrap_iter' against 'basic_string' operator==(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT ^ /usr/include/c++/v1/tuple:1176:1: note: candidate template ignored: could not match 'tuple' against 'basic_string' operator==(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) ^ /usr/include/c++/v1/memory:2037:6: note: candidate template ignored: could not match 'allocator' against 'basic_string' bool operator==(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return true;} ^ /usr/include/c++/v1/memory:2872:1: note: candidate template ignored: could not match 'unique_ptr' against 'basic_string' operator==(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return __x.get() == __y.get();} ^ /usr/include/c++/v1/memory:2908:1: note: candidate template ignored: could not match 'unique_ptr' against 'basic_string' operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT ^ /usr/include/c++/v1/memory:2916:1: note: candidate template ignored: could not match 'unique_ptr' against 'vector' operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT ^ /usr/include/c++/v1/memory:4423:1: note: candidate template ignored: could not match 'shared_ptr' against 'basic_string' operator==(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT ^ /usr/include/c++/v1/memory:4477:1: note: candidate template ignored: could not match 'shared_ptr' against 'basic_string' operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT ^ /usr/include/c++/v1/memory:4485:1: note: candidate template ignored: could not match 'shared_ptr' against 'vector' operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT ^ /usr/include/c++/v1/functional:2506:1: note: candidate template ignored: could not match 'function' against 'basic_string' operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;} ^ /usr/include/c++/v1/functional:2511:1: note: candidate template ignored: could not match 'function' against 'vector' operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;} ^ /usr/include/c++/v1/string_view:614:6: note: candidate template ignored: could not match 'basic_string_view' against 'basic_string' bool operator==(basic_string_view<_CharT, _Traits> __lhs, ^ /usr/include/c++/v1/string_view:623:6: note: candidate template ignored: could not match 'basic_string_view' against 'basic_string' bool operator==(basic_string_view<_CharT, _Traits> __lhs, ^ /usr/include/c++/v1/string_view:632:6: note: candidate template ignored: could not match 'basic_string_view' against 'vector' bool operator==(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs, ^ /usr/include/c++/v1/string:563:6: note: candidate template ignored: could not match 'fpos' against 'basic_string' bool operator==(const fpos<_StateT>& __x, const fpos<_StateT>& __y) ^ /usr/include/c++/v1/string:3850:1: note: candidate template ignored: could not match 'basic_string' against 'vector' operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs, ^ /usr/include/c++/v1/string:3862:1: note: candidate template ignored: could not match 'basic_string' against 'vector' operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs, ^ /usr/include/c++/v1/string:3881:1: note: candidate template ignored: could not match 'const _CharT *' against 'std::__1::basic_string<char>' operator==(const _CharT* __lhs, ^ /usr/include/c++/v1/string:3894:1: note: candidate template ignored: could not match 'const _CharT *' against 'vector<uint8_t>' (aka 'vector<unsigned char>') operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs, ^ /usr/include/c++/v1/vector:3335:1: note: candidate template ignored: could not match 'vector' against 'basic_string' operator==(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/deque:2967:1: note: candidate template ignored: could not match 'deque' against 'basic_string' operator==(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/stack:256:1: note: candidate template ignored: could not match 'stack' against 'basic_string' operator==(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y) ^ /usr/local/include/simgear/math/SGVec2.hxx:275:1: note: candidate template ignored: could not match 'SGVec2' against 'basic_string' operator==(const SGVec2<T>& v1, const SGVec2<T>& v2) ^ /usr/local/include/simgear/math/SGVec3.hxx:378:1: note: candidate template ignored: could not match 'SGVec3' against 'basic_string' operator==(const SGVec3<T>& v1, const SGVec3<T>& v2) ^ 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/simgear My PC: FreeBSD 12.1-STABLE r361624 amd64 -- ----- Alex.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fbef04a7-2dca-724f-fec7-0f83e8588454>