Hi, I would like to know which include do I need to use grammar. When using include "boost/spirit.hpp", it says me that it is deprecated... d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2039: 'grammar' : n'est pas membre de 'boost::spirit' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2504: 'grammar' : classe de base non définie d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2143: erreur de syntaxe : absence de ',' avant '<' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(55) : error C2143: erreur de syntaxe : absence de ';' avant '<'
Ok, I fixed by my own:
I just did:
using namespace boost::spirit::classic;
I don't know why is that needed... Maybe is there a bunch of parsers.
2010/1/11 Eloi Du Bois
Hi,
I would like to know which include do I need to use grammar.
When using include "boost/spirit.hpp", it says me that it is deprecated...
d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2039: 'grammar' : n'est pas membre de 'boost::spirit' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2504: 'grammar' : classe de base non définie d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2143: erreur de syntaxe : absence de ',' avant '<' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(55) : error C2143: erreur de syntaxe : absence de ';' avant '<'
I would like to know which include do I need to use grammar.
When using include "boost/spirit.hpp", it says me that it is deprecated...
d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2039: 'grammar' : n'est pas membre de 'boost::spirit' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2504: 'grammar' : classe de base non définie d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(37) : error C2143: erreur de syntaxe : absence de ',' avant '<' d:\travail\tuttleofx\plugins\lut\src\lutengine\lut_reader.h(55) : error C2143: erreur de syntaxe : absence de ';' avant '<'
If you are still using classic spirit (v1.8), then you can use the headers
in boost/spirit/include to get around that warning. From
http://www.boost.org/doc/libs/1_41_0/libs/spirit/doc/html/spirit/structure/i...:
"For example, if you used to include
participants (2)
-
Chris Hoeppler
-
Eloi Du Bois