Skip to content

Instantly share code, notes, and snippets.

@syyyr
Created October 19, 2021 09:19
Show Gist options
  • Save syyyr/edeb2bdd66ae345e6843d3fc8ea04a59 to your computer and use it in GitHub Desktop.
Save syyyr/edeb2bdd66ae345e6843d3fc8ea04a59 to your computer and use it in GitHub Desktop.
netconf-cli: spirit x3 compile error
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:16,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/path_parser.hpp: In instantiation of ‘bool PathParser<PARSER_MODE, COMPLETION_MODE>::parse(It&, It, const Ctx&, RCtx&, Attr&) const [with It = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Ctx = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RCtx = describe_; Attr = describe_; PathParserMode PARSER_MODE = PathParserMode::AnyPath; CompletionMode COMPLETION_MODE = CompletionMode::Schema]’:
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/directive/expect.hpp:54:41: required from ‘bool boost::spirit::x3::expect_directive<Subject>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = describe_; Attribute = describe_; Subject = PathParser<PathParserMode::AnyPath, CompletionMode::Schema>]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/detail/sequence.hpp:253:34: required from ‘bool boost::spirit::x3::detail::parse_sequence(const Parser&, Iterator&, const Iterator&, const Context&, RContext&, Attribute&, AttributeCategory) [with Parser = boost::spirit::x3::sequence<boost::spirit::x3::sequence<boost::spirit::x3::literal_string<const char*, boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type>, boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type> >, boost::spirit::x3::expect_directive<PathParser<PathParserMode::AnyPath, CompletionMode::Schema> > >; Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = describe_; Attribute = describe_; AttributeCategory = boost::spirit::x3::traits::tuple_attribute]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/sequence.hpp:46:42: required from ‘bool boost::spirit::x3::sequence<Left, Right>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = describe_; Attribute = describe_; Left = boost::spirit::x3::sequence<boost::spirit::x3::literal_string<const char*, boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type>, boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type> >; Right = boost::spirit::x3::expect_directive<PathParser<PathParserMode::AnyPath, CompletionMode::Schema> >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/nonterminal/detail/rule.hpp:211:31: required from ‘static bool boost::spirit::x3::detail::rule_parser<Attribute, ID, skip_definition_injection>::parse_rhs_main(const RHS&, Iterator&, const Iterator&, const Context&, RContext&, ActualAttribute&, mpl_::false_) [with RHS = boost::spirit::x3::sequence<boost::spirit::x3::sequence<boost::spirit::x3::literal_string<const char*, boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type>, boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type> >, boost::spirit::x3::expect_directive<PathParser<PathParserMode::AnyPath, CompletionMode::Schema> > >; Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = describe_; ActualAttribute = describe_; Attribute = describe_; ID = describe_class; bool skip_definition_injection = true; mpl_::false_ = mpl_::bool_<false>]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/nonterminal/detail/rule.hpp:267:34: required from ‘static bool boost::spirit::x3::detail::rule_parser<Attribute, ID, skip_definition_injection>::parse_rhs_main(const RHS&, Iterator&, const Iterator&, const Context&, RContext&, ActualAttribute&) [with RHS = boost::spirit::x3::sequence<boost::spirit::x3::sequence<boost::spirit::x3::literal_string<const char*, boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type>, boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type> >, boost::spirit::x3::expect_directive<PathParser<PathParserMode::AnyPath, CompletionMode::Schema> > >; Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = describe_; ActualAttribute = describe_; Attribute = describe_; ID = describe_class; bool skip_definition_injection = true]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/nonterminal/detail/rule.hpp:281:34: [ skipping 28 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:320:1: required from ‘bool parse_rule(boost::spirit::x3::detail::rule_id<command_class>, Iterator&, const Iterator&, const Context&, boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >::attribute_type&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >::attribute_type = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/directive/with.hpp:58:39: recursively required from ‘bool boost::spirit::x3::with_directive<Subject, ID, T>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> >; RContext = const boost::spirit::x3::unused_type; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >; Subject = boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>; ID = boost::spirit::x3::error_handler_tag; T = std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/directive/with.hpp:58:39: required from ‘bool boost::spirit::x3::with_directive<Subject, ID, T>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type>; RContext = const boost::spirit::x3::unused_type; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >; Subject = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >; ID = parser_context_tag; T = ParserContext&]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/core/parse.hpp:119:36: required from ‘bool boost::spirit::x3::phrase_parse_main(Iterator&, Iterator, const Parser&, const Skipper&, Attribute&, boost::spirit::x3::skip_flag) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Parser = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >, parser_context_tag, ParserContext&>; Skipper = boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/core/parse.hpp:136:33: required from ‘bool boost::spirit::x3::phrase_parse(Iterator&, Iterator, const Parser&, const Skipper&, Attribute&, boost::spirit::x3::skip_flag) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Parser = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >, parser_context_tag, ParserContext&>; Skipper = boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:43:85: required from here
/opt/br2-external-build/build/netconf-cli-custom/src/path_parser.hpp:312:14: error: no match for ‘operator=’ (operand types are ‘describe_’ and ‘dataPath_’)
312 | attr = attrData;
| ~~~~~^~~~~~~~~~
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:12,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: candidate: ‘describe_& describe_::operator=(const describe_&)’
156 | struct describe_ : x3::position_tagged {
| ^~~~~~~~~
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: no known conversion for argument 1 from ‘dataPath_’ to ‘const describe_&’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: candidate: ‘describe_& describe_::operator=(describe_&&)’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: no known conversion for argument 1 from ‘dataPath_’ to ‘describe_&&’
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:16,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/path_parser.hpp:327:26: error: no match for ‘operator=’ (operand types are ‘describe_’ and ‘schemaPath_’)
327 | attr = attrSchema;
| ~~~~~^~~~~~~~~~~~
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:12,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: candidate: ‘describe_& describe_::operator=(const describe_&)’
156 | struct describe_ : x3::position_tagged {
| ^~~~~~~~~
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: no known conversion for argument 1 from ‘schemaPath_’ to ‘const describe_&’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: candidate: ‘describe_& describe_::operator=(describe_&&)’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:156:8: note: no known conversion for argument 1 from ‘schemaPath_’ to ‘describe_&&’
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:16,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/path_parser.hpp: In instantiation of ‘bool PathParser<PARSER_MODE, COMPLETION_MODE>::parse(It&, It, const Ctx&, RCtx&, Attr&) const [with It = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Ctx = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RCtx = ls_; Attr = dataPath_; PathParserMode PARSER_MODE = PathParserMode::AnyPath; CompletionMode COMPLETION_MODE = CompletionMode::Schema]’:
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/detail/alternative.hpp:189:20: required from ‘bool boost::spirit::x3::detail::parse_alternative(const Parser&, Iterator&, const Iterator&, const Context&, RContext&, Attribute&) [with Parser = PathParser<PathParserMode::AnyPath, CompletionMode::Schema>; Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = ls_; Attribute = boost::variant<dataPath_, schemaPath_, module_>]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/alternative.hpp:41:45: required from ‘bool boost::spirit::x3::alternative<Left, Right>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = ls_; Attribute = boost::variant<dataPath_, schemaPath_, module_>; Left = PathParser<PathParserMode::AnyPath, CompletionMode::Schema>; Right = boost::spirit::x3::sequence<boost::spirit::x3::rule<module_class, module_>, boost::spirit::x3::literal_char<boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type> >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/detail/sequence.hpp:253:34: required from ‘bool boost::spirit::x3::detail::parse_sequence(const Parser&, Iterator&, const Iterator&, const Context&, RContext&, Attribute&, AttributeCategory) [with Parser = boost::spirit::x3::sequence<boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type>, boost::spirit::x3::alternative<PathParser<PathParserMode::AnyPath, CompletionMode::Schema>, boost::spirit::x3::sequence<boost::spirit::x3::rule<module_class, module_>, boost::spirit::x3::literal_char<boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type> > > >; Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = ls_; Attribute = boost::variant<dataPath_, schemaPath_, module_>; AttributeCategory = boost::spirit::x3::traits::variant_attribute]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/sequence.hpp:46:42: required from ‘bool boost::spirit::x3::sequence<Left, Right>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = ls_; Attribute = boost::variant<dataPath_, schemaPath_, module_>; Left = boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type>; Right = boost::spirit::x3::alternative<PathParser<PathParserMode::AnyPath, CompletionMode::Schema>, boost::spirit::x3::sequence<boost::spirit::x3::rule<module_class, module_>, boost::spirit::x3::literal_char<boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type> > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/operator/optional.hpp:58:36: required from ‘bool boost::spirit::x3::optional<Subject>::parse_subject(Iterator&, const Iterator&, const Context&, RContext&, Attribute&, boost::spirit::x3::traits::optional_attribute) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; RContext = ls_; Attribute = boost::optional<boost::variant<dataPath_, schemaPath_, module_> >; Subject = boost::spirit::x3::sequence<boost::spirit::x3::rule<space_separator_class, boost::spirit::x3::unused_type>, boost::spirit::x3::alternative<PathParser<PathParserMode::AnyPath, CompletionMode::Schema>, boost::spirit::x3::sequence<boost::spirit::x3::rule<module_class, module_>, boost::spirit::x3::literal_char<boost::spirit::char_encoding::standard, boost::spirit::x3::unused_type> > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/core/proxy.hpp:41:49: [ skipping 37 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:320:1: required from ‘bool parse_rule(boost::spirit::x3::detail::rule_id<command_class>, Iterator&, const Iterator&, const Context&, boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >::attribute_type&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<writableOps_tag, const WritableOps, boost::spirit::x3::context<boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >, boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> > > >; boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >::attribute_type = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/directive/with.hpp:58:39: recursively required from ‘bool boost::spirit::x3::with_directive<Subject, ID, T>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<parser_context_tag, ParserContext, boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type> >; RContext = const boost::spirit::x3::unused_type; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >; Subject = boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>; ID = boost::spirit::x3::error_handler_tag; T = std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/directive/with.hpp:58:39: required from ‘bool boost::spirit::x3::with_directive<Subject, ID, T>::parse(Iterator&, const Iterator&, const Context&, RContext&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Context = boost::spirit::x3::context<boost::spirit::x3::skipper_tag, const boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>, boost::spirit::x3::unused_type>; RContext = const boost::spirit::x3::unused_type; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >; Subject = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >; ID = parser_context_tag; T = ParserContext&]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/core/parse.hpp:119:36: required from ‘bool boost::spirit::x3::phrase_parse_main(Iterator&, Iterator, const Parser&, const Skipper&, Attribute&, boost::spirit::x3::skip_flag) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Parser = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >, parser_context_tag, ParserContext&>; Skipper = boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/per-package/netconf-cli/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/spirit/home/x3/core/parse.hpp:136:33: required from ‘bool boost::spirit::x3::phrase_parse(Iterator&, Iterator, const Parser&, const Skipper&, Attribute&, boost::spirit::x3::skip_flag) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Parser = boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::with_directive<boost::spirit::x3::rule<command_class, boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > >, writableOps_tag, const WritableOps&>, boost::spirit::x3::error_handler_tag, std::reference_wrapper<boost::spirit::x3::error_handler<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >, parser_context_tag, ParserContext&>; Skipper = boost::spirit::x3::char_class<boost::spirit::char_encoding::standard, boost::spirit::x3::space_tag>; Attribute = boost::variant<boost::detail::variant::over_sequence<boost::mpl::l_item<mpl_::long_<17>, cancel_, boost::mpl::l_item<mpl_::long_<16>, cd_, boost::mpl::l_item<mpl_::long_<15>, commit_, boost::mpl::l_item<mpl_::long_<14>, copy_, boost::mpl::l_item<mpl_::long_<13>, create_, boost::mpl::l_item<mpl_::long_<12>, delete_, boost::mpl::l_item<mpl_::long_<11>, describe_, boost::mpl::l_item<mpl_::long_<10>, discard_, boost::mpl::l_item<mpl_::long_<9>, dump_, boost::mpl::l_item<mpl_::long_<8>, exec_, boost::mpl::l_item<mpl_::long_<7>, get_, boost::mpl::l_item<mpl_::long_<6>, help_, boost::mpl::l_item<mpl_::long_<5>, ls_, boost::mpl::l_item<mpl_::long_<4>, move_, boost::mpl::l_item<mpl_::long_<3>, prepare_, boost::mpl::l_item<mpl_::long_<2>, set_, boost::mpl::l_item<mpl_::long_<1>, switch_, boost::mpl::l_end> > > > > > > > > > > > > > > > > > >]’
/opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:43:85: required from here
/opt/br2-external-build/build/netconf-cli-custom/src/path_parser.hpp:327:26: error: no match for ‘operator=’ (operand types are ‘dataPath_’ and ‘schemaPath_’)
327 | attr = attrSchema;
| ~~~~~^~~~~~~~~~~~
In file included from /opt/br2-external-build/build/netconf-cli-custom/src/ast_commands.hpp:12,
from /opt/br2-external-build/build/netconf-cli-custom/src/grammars.hpp:12,
from /opt/br2-external-build/build/netconf-cli-custom/src/parser.cpp:9:
/opt/br2-external-build/build/netconf-cli-custom/src/ast_path.hpp:132:8: note: candidate: ‘dataPath_& dataPath_::operator=(const dataPath_&)’
132 | struct dataPath_ {
| ^~~~~~~~~
/opt/br2-external-build/build/netconf-cli-custom/src/ast_path.hpp:132:8: note: no known conversion for argument 1 from ‘schemaPath_’ to ‘const dataPath_&’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_path.hpp:132:8: note: candidate: ‘dataPath_& dataPath_::operator=(dataPath_&&)’
/opt/br2-external-build/build/netconf-cli-custom/src/ast_path.hpp:132:8: note: no known conversion for argument 1 from ‘schemaPath_’ to ‘dataPath_&&’
make[4]: *** [CMakeFiles/parser.dir/build.make:76: CMakeFiles/parser.dir/src/parser.cpp.o] Error 1
make[3]: *** [CMakeFiles/Makefile2:449: CMakeFiles/parser.dir/all] Error 2
make[2]: *** [Makefile:136: all] Error 2
make[1]: *** [package/pkg-generic.mk:294: /opt/br2-external-build/build/netconf-cli-custom/.stamp_built] Error 2
make: *** [Makefile:23: _all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment