I'm getting a lot of errors when cross compiling for windows and honestly, I don't have the slightest clue why.
FAILED: CMakeFiles/addon.dir/src/PlanLibrary.cc.obj
/usr/bin/clang-cl-7 /nologo -TP -DNOMINMAX -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_WARN -D_USE_MATH_DEFINES -Daddon_EXPORTS -I/root/.cmake-ts/electron/win32/x64/v4.0.1/include/node -I../../../../../node_modules/nan -I../../../../../projectname/include -I../../../../../ff/src -I../../../../../projectname/include/taocpp/json/include -D_CRT_SECURE_NO_WARNINGS -EHsc -Xclang -std=gnu++17 --target=x86_64-windows-msvc -fms-compatibility-version=19.11 -Wno-unused-command-line-argument -imsvc /msvc/include -imsvc /winsdk/Include/10.0.17763.0/ucrt -imsvc /winsdk/Include/10.0.17763.0/shared -imsvc /winsdk/Include/10.0.17763.0/um -imsvc /winsdk/Include/10.0.17763.0/winrt -Xclang -ivfsoverlay -Xclang /builds/companyname/parent-module/staging/win32/x64/electron/64/winsdk_vfs_overlay.yaml -s /MP /arch:AVX2 /MD /O2 /Ob2 /DNDEBUG /O2 /fp:fast -fcolor-diagnostics -std:c++17 /showIncludes /FoCMakeFiles/addon.dir/src/PlanLibrary.cc.obj /FdCMakeFiles/addon.dir/ -c ../../../../../src/PlanLibrary.cc
clang: warning: unknown argument ignored in clang-cl: '-s' [-Wunknown-argument]
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/basic_value.hpp:21:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/internal/format.hpp:17:
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/demangle.hpp(49,36): error: invalid operands to binary expression ('std::basic_string_view<char, std::char_traits<char> >::const_iterator' (aka '_String_view_iterator<std::char_traits<char> >') and 'const char *const')
return { begin + 2, sv.end() - begin - 3 };
~~~~~~~~ ^ ~~~~~
/msvc/include/xstring(656,45): note: candidate function not viable: no known conversion from 'const char *const' to 'const std::_String_view_iterator::difference_type' (aka 'const long long') for 1st argument; dereference the argument with *
_NODISCARD constexpr _String_view_iterator operator-(const difference_type _Off) const noexcept
^
/msvc/include/xstring(663,39): note: candidate function not viable: no known conversion from 'const char *const' to 'const std::_String_view_iterator<std::char_traits<char> >' for 1st argument
_NODISCARD constexpr difference_type operator-(const _String_view_iterator& _Right) const noexcept
^
/msvc/include/xutility(1448,31): note: candidate template ignored: could not match 'reverse_iterator' against '_String_view_iterator'
_NODISCARD _CONSTEXPR17 auto operator-(const reverse_iterator<_BidIt1>& _Left,
^
/msvc/include/xutility(2301,31): note: candidate template ignored: could not match 'move_iterator' against '_String_view_iterator'
_NODISCARD _CONSTEXPR17 auto operator-(
^
/msvc/include/complex(1265,15): note: candidate template ignored: could not match 'complex' against '_String_view_iterator'
complex<_Ty> operator-(const complex<_Ty>& _Left, const complex<_Ty>& _Right)
^
/msvc/include/complex(1273,15): note: candidate template ignored: could not match 'complex' against '_String_view_iterator'
complex<_Ty> operator-(const complex<_Ty>& _Left, const _Ty& _Right)
^
/msvc/include/complex(1281,15): note: candidate template ignored: could not match 'complex<type-parameter-0-0>' against 'const char *const'
complex<_Ty> operator-(const _Ty& _Left, const complex<_Ty>& _Right)
^
/msvc/include/complex(1349,15): note: candidate function template not viable: requires single argument '_Left', but 2 arguments were provided
complex<_Ty> operator-(const complex<_Ty>& _Left)
^
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/basic_value.hpp:21:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/internal/format.hpp:17:
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/demangle.hpp(44,45): error: no return statement in constexpr function
[[nodiscard]] constexpr std::string_view demangle() noexcept
^
Note: including file: ../../../../../projectname/include/taocpp/json/include/tao/json/internal/get_by_enum.hpp
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/../json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/../value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/binding/internal/../../basic_value.hpp:32:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp:17:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/events/../external/pegtl.hpp:10:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp:11:
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(43,68): error: no matching function for call to 'demangle'
throw parse_error( "parse error matching " + std::string( internal::demangle< Rule >() ), in );
^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/raise.hpp(40,24): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_escaped>::raise<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
Control< T >::raise( static_cast< const Input& >( in ), st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(61,43): note: in instantiation of function template specialization 'tao::json::pegtl::internal::raise<tao::json::internal::pointer_escaped>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
(void)raise< Rule >::template match< A, rewind_mode::dontcare, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(43,32): note: in instantiation of function template specialization 'tao::json::pegtl::internal::must<tao::json::internal::pointer_escaped>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Rule::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::pegtl::internal::must<tao::json::internal::pointer_escaped>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::pegtl::internal::must<tao::json::internal::pointer_escaped>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/if_must.hpp(36,56): note: (skipping 32 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
(void)( Control< must< Rules > >::template match< A, M, Action, Control >( in, st... ) && ... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(68,79): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
if( duseltronik< Rule, A, M, Action, Control, dusel_mode::nothing >::match( in, st... ) ) {
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::control>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp(29,40): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_grammar>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Control< Rule >::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp(203,17): note: in instantiation of function template specialization 'tao::json::pegtl::parse<tao::json::internal::pointer_grammar, internal::pointer_action, normal, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *> &, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
pegtl::parse< internal::pointer_grammar, internal::pointer_action >( in, vector(), t );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../analysis/../internal/demangle.hpp(44,45): note: candidate template ignored: substitution failure [with T = tao::json::internal::pointer_escaped]
[[nodiscard]] constexpr std::string_view demangle() noexcept
^
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/../json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/../value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/binding/internal/../../basic_value.hpp:32:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp:17:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/events/../external/pegtl.hpp:10:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp:11:
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(43,68): error: no matching function for call to 'demangle'
throw parse_error( "parse error matching " + std::string( internal::demangle< Rule >() ), in );
^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/raise.hpp(40,24): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_token>::raise<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
Control< T >::raise( static_cast< const Input& >( in ), st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(61,43): note: in instantiation of function template specialization 'tao::json::pegtl::internal::raise<tao::json::internal::pointer_token>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
(void)raise< Rule >::template match< A, rewind_mode::dontcare, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(43,32): note: in instantiation of function template specialization 'tao::json::pegtl::internal::must<tao::json::internal::pointer_token>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Rule::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::pegtl::internal::must<tao::json::internal::pointer_token>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::pegtl::internal::must<tao::json::internal::pointer_token>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(37,54): note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return ( Control< must< Rules > >::template match< A, M, Action, Control >( in, st... ) && ... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(68,79): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
if( duseltronik< Rule, A, M, Action, Control, dusel_mode::nothing >::match( in, st... ) ) {
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::control>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp(29,40): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_grammar>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Control< Rule >::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp(203,17): note: in instantiation of function template specialization 'tao::json::pegtl::parse<tao::json::internal::pointer_grammar, internal::pointer_action, normal, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *> &, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
pegtl::parse< internal::pointer_grammar, internal::pointer_action >( in, vector(), t );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../analysis/../internal/demangle.hpp(44,45): note: candidate template ignored: substitution failure [with T = tao::json::internal::pointer_token]
[[nodiscard]] constexpr std::string_view demangle() noexcept
^
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/../json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/../value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/binding/internal/../../basic_value.hpp:32:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp:17:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/events/../external/pegtl.hpp:10:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp:11:
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(43,68): error: no matching function for call to 'demangle'
throw parse_error( "parse error matching " + std::string( internal::demangle< Rule >() ), in );
^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/raise.hpp(40,24): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_slash>::raise<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
Control< T >::raise( static_cast< const Input& >( in ), st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(61,43): note: in instantiation of function template specialization 'tao::json::pegtl::internal::raise<tao::json::internal::pointer_slash>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
(void)raise< Rule >::template match< A, rewind_mode::dontcare, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(43,32): note: in instantiation of function template specialization 'tao::json::pegtl::internal::must<tao::json::internal::pointer_slash>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Rule::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::pegtl::internal::must<tao::json::internal::pointer_slash>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::pegtl::internal::must<tao::json::internal::pointer_slash>, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(37,54): note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return ( Control< must< Rules > >::template match< A, M, Action, Control >( in, st... ) && ... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(68,79): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
if( duseltronik< Rule, A, M, Action, Control, dusel_mode::nothing >::match( in, st... ) ) {
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::control>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp(29,40): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_grammar>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Control< Rule >::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp(203,17): note: in instantiation of function template specialization 'tao::json::pegtl::parse<tao::json::internal::pointer_grammar, internal::pointer_action, normal, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *> &, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
pegtl::parse< internal::pointer_grammar, internal::pointer_action >( in, vector(), t );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../analysis/../internal/demangle.hpp(44,45): note: candidate template ignored: substitution failure [with T = tao::json::internal::pointer_slash]
[[nodiscard]] constexpr std::string_view demangle() noexcept
^
In file included from ../../../../../src/PlanLibrary.cc:1:
In file included from ../../../../../src/PlanLibrary.h:5:
In file included from ../../../../../projectname/include/library/PlanLibrary.hpp:11:
In file included from ../../../../../projectname/include/library/OnDemandLibraryBase.hpp:4:
In file included from ../../../../../projectname/include/library/ILibrary.hpp:9:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/../json.hpp:8:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/../value.hpp:7:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/binding/internal/../../basic_value.hpp:32:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp:17:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/events/../external/pegtl.hpp:10:
In file included from ../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp:11:
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(43,68): error: no matching function for call to 'demangle'
throw parse_error( "parse error matching " + std::string( internal::demangle< Rule >() ), in );
^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/raise.hpp(40,24): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_rule>::raise<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
Control< T >::raise( static_cast< const Input& >( in ), st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/must.hpp(61,43): note: in instantiation of function template specialization 'tao::json::pegtl::internal::raise<tao::json::internal::pointer_rule>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::dontcare, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
(void)raise< Rule >::template match< A, rewind_mode::dontcare, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(43,32): note: in instantiation of function template specialization 'tao::json::pegtl::internal::must<tao::json::internal::pointer_rule>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Rule::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/duseltronik.hpp(68,79): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::nothing>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
if( duseltronik< Rule, A, M, Action, Control, dusel_mode::nothing >::match( in, st... ) ) {
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../match.hpp(68,74): note: in instantiation of function template specialization 'tao::json::pegtl::internal::duseltronik<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::internal::dusel_mode::control>::match<tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return internal::duseltronik< Rule, A, M, Action, Control, mode >::match( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/jaxn/internal/../../external/pegtl/normal.hpp(80,46): note: in instantiation of function template specialization 'tao::json::pegtl::match<tao::json::internal::pointer_grammar, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return TAO_JSON_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/ubjson/events/../../external/pegtl/parse.hpp(29,40): note: in instantiation of function template specialization 'tao::json::pegtl::normal<tao::json::internal::pointer_grammar>::match<tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, pointer_action, normal, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *>, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
return Control< Rule >::template match< A, M, Action, Control >( in, st... );
^
../../../../../projectname/include/taocpp/json/include/tao/json/contrib/../pointer.hpp(203,17): note: in instantiation of function template specialization 'tao::json::pegtl::parse<tao::json::internal::pointer_grammar, internal::pointer_action, normal, tao::json::pegtl::apply_mode::action, tao::json::pegtl::rewind_mode::required, tao::json::pegtl::memory_input<tao::json::pegtl::tracking_mode::lazy, tao::json::pegtl::ascii::eol::lf_crlf, const char *> &, std::vector<tao::json::token, std::allocator<tao::json::token> > &, std::basic_string<char, std::char_traits<char>, std::allocator<char> > &>' requested here
pegtl::parse< internal::pointer_grammar, internal::pointer_action >( in, vector(), t );
^
../../../../../projectname/include/taocpp/json/include/tao/json/internal/../external/pegtl/internal/../analysis/../internal/demangle.hpp(44,45): note: candidate template ignored: substitution failure [with T = tao::json::internal::pointer_rule]
[[nodiscard]] constexpr std::string_view demangle() noexcept
^
6 errors generated.