id summary reporter owner description type status milestone component version severity resolution keywords cc 8774 use of dectype in result_of gives errors in spirit parser on gcc-4.8.1 rodolfo@… Joel de Guzman "The following snippet compiles and runs fine on boost-1.53 and earlier using gcc-4.8.1, but fails to compile on boost-1.54. {{{ //#define BOOST_RESULT_OF_USE_TR1 #include #include int main() { namespace qi = boost::spirit::qi; qi::rule foo = qi::int_[qi::_r1 = qi::_1]; qi::rule start = foo(qi::_val); const char *beg = ""5"", *end = beg+strlen(beg); int val; if(parse(beg, end, start, val)) std::cout << val << std::endl; else std::cout << ""error""; } }}} The compile error output is attached to this ticket. The error goes away by uncommenting the first line. It seems that boost-1.54 enables by default the use of decltype in the implementation of boost::result_of but it isn't doing what it's suppose to do." Bugs closed To Be Determined spirit Boost 1.54.0 Regression fixed