id summary reporter owner description type status milestone component version severity resolution keywords cc 7825 boost::spirit::qi::int_parser fails to compile on g++ 4.7.2 Andras Kucsma Joel de Guzman "boost::spirit::qi::int_parser fails to compile with g++ 4.7.2 in C++11 mode.[[BR]] It compiles successfully with g++ 4.6.3 and clang revision 170460.[[BR]] ( [http://gmplib.org/ GMP] version is 5.0.5. ) Here's a program which reproduces the problem: {{{ #include #include struct MyGrammar : boost::spirit::qi::grammar { public: MyGrammar() : MyGrammar::base_type(integerRule) { integerRule %= integerParser; } boost::spirit::qi::rule integerRule; boost::spirit::qi::int_parser integerParser; }; int main() {} }}} It compiled with:[[BR]] g++-4.7 -Wall -Wextra -pedantic bin/main.cpp -o main.o[[BR]] g++-4.6 -std=c++0x -Wall -Wextra -pedantic bin/main.cpp -o main.o[[BR]] clang++ -std=c++11 -Wall -Wextra -pedantic bin/main.cpp -o main.o[[BR]] It failed to compile with:[[BR]] g++-4.7 -std=c++11 -Wall -Wextra -pedantic bin/main.cpp -o main.o[[BR]] Error output: http://pastebin.com/154hhVDn This is might be a problem in gcc, but I think this information is not sufficient for a gcc bug report. " Bugs closed To Be Determined spirit Boost 1.52.0 Problem fixed