This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25497] faults typedef redefinition in struct
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2005 22:46:50 -0000
- Subject: [Bug c++/25497] faults typedef redefinition in struct
- References: <bug-25497-11901@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-19 22:46 -------
Actually this is still a violation of the standard.
3.3.6/1 item 2. Though no diagnostic is required for this case so GCC is
correct to error out and so is Comeanu and Microsoft's compiler too.
*** This bug has been marked as a duplicate of 3252 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25497