http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12288
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|gcc-bugs at gcc dot gnu.org | Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- Given that Comment#2 is now fine, I think that the only remaining issue here is that for Comment#1 we also give (additionally to the sane error message) 12288_1.C:4:27: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive] explicit S (const X::T&) {} Should be easy to avoid, because there is already a mechanism for that in grokdeclarator (type_was_error_mark_node)