http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46239
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-30 10:59:01 UTC --- The names of parameters are only relevant in the definition, you can omit them completely in the declaration, or give them different names. It is an error to redeclare a default parameter, even with the same value. GCC is correct.