Talk:Spirit Parser Framework
Latest comment: 13 years ago by Matěj Grabovský in topic Updating
This is the talk page for discussing improvements to the Spirit Parser Framework article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||
|
The example shown here seem outdated, as I get deprecation warnings when compiling them (using recent versions of Boost.Spirit):
In file included from main.cpp:1:
/usr/include/boost/spirit.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp"
In file included from main.cpp:2:
/usr/include/boost/spirit/actor.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_actor.hpp"
Just sayin', Although I'm puzzled myself about these warnings. 91.42.157.253 (talk) 03:32, 22 August 2010 (UTC)
Updating
editShouldn't the article be updated to indicate that there's now Spirit.Classic, Qi, Karma, and Lex? –Matěj Grabovský (talk) 18:24, 12 July 2011 (UTC)
Example program segfaults
editThe example code pasted verbatim into a .cpp file and compiled with g++-4.9 segfaults for me. Apparently qi::rule does not behave well when used with auto:
http://stackoverflow.com/questions/22023779/assigning-parsers-to-auto-variables