prog.cpp:39: error: ‘space_type’ is not a member of ‘qi’
prog.cpp:39: error: ‘space_type’ is not a member of ‘qi’
prog.cpp:39: error: template argument 2 is invalid
prog.cpp: In constructor ‘<unnamed>::skel_grammar<Iterator>::skel_grammar()’:
prog.cpp:18: error: ‘no_skip’ was not declared in this scope
prog.cpp:18: error: ‘char_’ was not declared in this scope
prog.cpp:19: error: there are no arguments to ‘lit’ that depend on a template parameter, so a declaration of ‘lit’ must be available
prog.cpp:19: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
prog.cpp:20: error: there are no arguments to ‘lit’ that depend on a template parameter, so a declaration of ‘lit’ must be available
prog.cpp:21: error: ‘space’ was not declared in this scope
prog.cpp:23: error: ‘alpha’ was not declared in this scope
prog.cpp:24: error: ‘alnum’ was not declared in this scope
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:53: error: invalid initialization of non-const reference of type ‘__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&’ from a temporary of type ‘__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’
/usr/include/boost/spirit/home/qi/parse.hpp:23: error: in passing argument 1 of ‘bool boost::spirit::qi::parse(Iterator&, Iterator, const Expr&) [with Iterator = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Expr = <unnamed>::skel_grammar<__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]’
prog.cpp: In constructor ‘<unnamed>::skel_grammar<Iterator>::skel_grammar() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]’:
prog.cpp:51: instantiated from here
prog.cpp:19: error: ‘lit’ was not declared in this scope