
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 <boost/spirit/actor.hpp>, which is now a deprecated header, you should instead include <boost/spirit/include/classic_actor.hpp>" For any new projects, you should use Spirit 2.1 (part of Boost 1.41.0). The include for the parsing sub-library is <boost/spirit/include/qi.hpp> See the documentation at http://www.boost.org/doc/libs/1_41_0/libs/spirit/doc/html/index.html. HTH, Chris