[Bug c/59451] The compiler does not accept two structures, when the first one of them have the same name as the structure, as function parameters

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 13 17:21:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59451

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I'd say this is invalid, an identifier declared as a typedef name can't be
redeclared as a parameter.



More information about the Gcc-bugs mailing list