This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20420] Unrecognized double declarations
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2005 14:50:55 -0000
- Subject: [Bug c++/20420] Unrecognized double declarations
- References: <20050311094705.20420.wolfgang.roehrl@de.gi-de.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-03-11 14:50 -------
Confirmed, with all gcc versions I have on my system. Here's what icc says:
g/x> icc -Xc -ansi -c x.cc
x.cc(15): error: "E" has already been declared in the current scope
enum E {};
^
x.cc(16): error: "S" has already been declared in the current scope
struct S {};
^
compilation aborted for x.cc (code 2)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |2.95.3 3.2.3 3.3.1 3.3.4
| |3.4.3 4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2005-03-11 14:50:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20420