Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
In file included from prog.cc:7:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/meta_compiler.hpp:15:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/domain.hpp:18:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/support/context.hpp:18:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/support/string_traits.hpp:16:
/usr/local/boost-1.55.0/include/boost/spirit/home/support/container.hpp:117:56: error: no type named 'value_type' in 'wrapper'
: detail::remove_value_const<typename Container::value_type>
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:296:38: note: in instantiation of template class 'boost::spirit::traits::container_value<wrapper, void>' requested here
typedef typename traits::container_value<Attr>::type value_type;
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:331:20: note: in instantiation of function template specialization 'boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >::dispatch_attribute<boost::spirit::qi::any_int_parser<int, 10, 1, -1> >' requested here
return dispatch_attribute(component, predicate());
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:65:17: note: in instantiation of function template specialization 'boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >::operator()<boost::spirit::qi::any_int_parser<int, 10, 1, -1> >' requested here
if (f (left))
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:93:18: note: in instantiation of function template specialization 'boost::spirit::qi::list<boost::spirit::qi::any_int_parser<int, 10, 1, -1>, boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false> >::parse_container<boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> > >' requested here
if (!parse_container(detail::make_pass_container(f, attr_)))
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:164:40: note: in instantiation of function template specialization 'boost::spirit::qi::list<boost::spirit::qi::any_int_parser<int, 10, 1, -1>, boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false> >::parse<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, wrapper>' requested here
if (!compile<qi::domain>(expr).parse(
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:197:20: note: in instantiation of function template specialization 'boost::spirit::qi::phrase_parse<std::__1::__wrap_iter<const char *>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::modulus, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::int_> &, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::terminal_ex<boost::spirit::tag::lit, boost::fusion::vector1<char> > >, 0> &>, 2>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, 0>, wrapper>' requested here
return qi::phrase_parse(first, last, expr, skipper, skip_flag::postskip, attr);
^
prog.cc:34:24: note: in instantiation of function template specialization 'boost::spirit::qi::phrase_parse<std::__1::__wrap_iter<const char *>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::modulus, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::int_> &, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::terminal_ex<boost::spirit::tag::lit, boost::fusion::vector1<char> > >, 0> &>, 2>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, 0>, wrapper>' requested here
auto const s = qi::phrase_parse( it, last, r, qi::ascii::space, result );
^
In file included from prog.cc:7:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi.hpp:19:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/directive.hpp:23:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/directive/repeat.hpp:18:
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/kleene.hpp:20:
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:259:53: error: no type named 'type' in 'boost::spirit::traits::container_value<wrapper, void>'
typename traits::container_value<Attr>::type val =
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:311:20: note: in instantiation of function template specialization 'boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >::dispatch_container<boost::spirit::qi::any_int_parser<int, 10, 1, -1> >' requested here
return dispatch_container(component, predicate());
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:331:20: note: in instantiation of function template specialization 'boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >::dispatch_attribute<boost::spirit::qi::any_int_parser<int, 10, 1, -1> >' requested here
return dispatch_attribute(component, predicate());
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:65:17: note: in instantiation of function template specialization 'boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >::operator()<boost::spirit::qi::any_int_parser<int, 10, 1, -1> >' requested here
if (f (left))
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:93:18: note: in instantiation of function template specialization 'boost::spirit::qi::list<boost::spirit::qi::any_int_parser<int, 10, 1, -1>, boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false> >::parse_container<boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> > >' requested here
if (!parse_container(detail::make_pass_container(f, attr_)))
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:164:40: note: in instantiation of function template specialization 'boost::spirit::qi::list<boost::spirit::qi::any_int_parser<int, 10, 1, -1>, boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false> >::parse<std::__1::__wrap_iter<const char *>, boost::spirit::context<boost::fusion::cons<wrapper &, boost::fusion::nil_>, boost::spirit::locals<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, wrapper>' requested here
if (!compile<qi::domain>(expr).parse(
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:197:20: note: in instantiation of function template specialization 'boost::spirit::qi::phrase_parse<std::__1::__wrap_iter<const char *>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::modulus, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::int_> &, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::terminal_ex<boost::spirit::tag::lit, boost::fusion::vector1<char> > >, 0> &>, 2>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, 0>, wrapper>' requested here
return qi::phrase_parse(first, last, expr, skipper, skip_flag::postskip, attr);
^
prog.cc:34:24: note: in instantiation of function template specialization 'boost::spirit::qi::phrase_parse<std::__1::__wrap_iter<const char *>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::modulus, boost::proto::argsns_::list2<const boost::spirit::terminal<boost::spirit::tag::int_> &, const boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::terminal_ex<boost::spirit::tag::lit, boost::fusion::vector1<char> > >, 0> &>, 2>, boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >, 0>, wrapper>' requested here
auto const s = qi::phrase_parse( it, last, r, qi::ascii::space, result );
^
2 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.