Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/support/string_traits.hpp:16:0,
from /usr/local/boost-1.55.0/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20,
from /usr/local/boost-1.55.0/include/boost/spirit/home/support/context.hpp:18,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/domain.hpp:18,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/meta_compiler.hpp:15,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/action/action.hpp:14,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/action.hpp:14,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi.hpp:14,
from /usr/local/boost-1.55.0/include/boost/spirit/include/qi.hpp:16,
from prog.cc:7:
/usr/local/boost-1.55.0/include/boost/spirit/home/support/container.hpp: In instantiation of 'struct boost::spirit::traits::container_value<wrapper, void>':
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:296:66: required from 'bool boost::spirit::qi::detail::pass_container<F, Attr, Sequence>::dispatch_attribute(const Component&, mpl_::true_) const [with Component = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; F = boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >; Attr = wrapper; Sequence = mpl_::bool_<false>; mpl_::true_ = mpl_::bool_<true>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:331:61: required from 'bool boost::spirit::qi::detail::pass_container<F, Attr, Sequence>::operator()(const Component&) const [with Component = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; F = boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >; Attr = wrapper; Sequence = mpl_::bool_<false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:65:24: required from 'bool boost::spirit::qi::list<Left, Right>::parse_container(F) const [with F = boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >; Left = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; Right = boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:93:71: required from 'bool boost::spirit::qi::list<Left, Right>::parse(Iterator&, const Iterator&, Context&, const Skipper&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Context = boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >; Skipper = boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >; Attribute = wrapper; Left = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; Right = boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:164:13: required from 'bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper&, boost::spirit::qi::skip_flag, Attr&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Expr = 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> > >, 0l>&>, 2l>; Skipper = 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> >, 0l>; Attr = wrapper]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:197:86: required from 'bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper&, Attr&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Expr = 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> > >, 0l>&>, 2l>; Skipper = 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> >, 0l>; Attr = wrapper]'
prog.cc:34:76: required from here
/usr/local/boost-1.55.0/include/boost/spirit/home/support/container.hpp:116:12: error: no type named 'value_type' in 'struct wrapper'
struct container_value
^
In file included from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/kleene.hpp:20:0,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/directive/repeat.hpp:18,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi/directive.hpp:23,
from /usr/local/boost-1.55.0/include/boost/spirit/home/qi.hpp:19,
from /usr/local/boost-1.55.0/include/boost/spirit/include/qi.hpp:16,
from prog.cc:7:
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp: In instantiation of 'bool boost::spirit::qi::detail::pass_container<F, Attr, Sequence>::dispatch_attribute(const Component&, mpl_::true_) const [with Component = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; F = boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >; Attr = wrapper; Sequence = mpl_::bool_<false>; mpl_::true_ = mpl_::bool_<true>]':
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:331:61: required from 'bool boost::spirit::qi::detail::pass_container<F, Attr, Sequence>::operator()(const Component&) const [with Component = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; F = boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >; Attr = wrapper; Sequence = mpl_::bool_<false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:65:24: required from 'bool boost::spirit::qi::list<Left, Right>::parse_container(F) const [with F = boost::spirit::qi::detail::pass_container<boost::spirit::qi::detail::fail_function<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >, boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >, boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> > >, wrapper, mpl_::bool_<false> >; Left = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; Right = boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/operator/list.hpp:93:71: required from 'bool boost::spirit::qi::list<Left, Right>::parse(Iterator&, const Iterator&, Context&, const Skipper&, Attribute&) const [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Context = boost::spirit::context<boost::fusion::cons<wrapper&, boost::fusion::nil_>, boost::spirit::locals<> >; Skipper = boost::spirit::qi::char_class<boost::spirit::tag::char_code<boost::spirit::tag::space, boost::spirit::char_encoding::ascii> >; Attribute = wrapper; Left = boost::spirit::qi::any_int_parser<int, 10u, 1u, -1>; Right = boost::spirit::qi::literal_char<boost::spirit::char_encoding::standard, true, false>]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:164:13: required from 'bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper&, boost::spirit::qi::skip_flag, Attr&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Expr = 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> > >, 0l>&>, 2l>; Skipper = 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> >, 0l>; Attr = wrapper]'
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/parse.hpp:197:86: required from 'bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper&, Attr&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::basic_string<char> >; Expr = 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> > >, 0l>&>, 2l>; Skipper = 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> >, 0l>; Attr = wrapper]'
prog.cc:34:76: required from here
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:296:66: error: no type named 'type' in 'struct boost::spirit::traits::container_value<wrapper, void>'
typedef typename traits::container_value<Attr>::type value_type;
^
/usr/local/boost-1.55.0/include/boost/spirit/home/qi/detail/pass_container.hpp:309:15: error: no type named 'type' in 'struct boost::spirit::traits::container_value<wrapper, void>'
> predicate;
^
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.