https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61753
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.7.2 regression] |poor diagnostic for |prototype for function does |constructor definition that |not match any in class |starts with 'const' |error | --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I don't know how you got that to compile with GCC 4.6.3 as every version I have rejects it - not a regression. (The upstream code on github has been fixed now btw)