http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39681
--- Comment #8 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-14 16:42:44 UTC --- (In reply to comment #5) > Like, sorry about my naivete, by adding a cp_parser_skip_to_end_of_statement > or > something right after the error message?!? That may work and the result should be kind of ok. Anyway, g++ cannot do much else with 'foo' (no spell-corrector, no searching in enclosing namespaces, etc.).