[Bug c++/20420] Unrecognized double declarations
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 11 14:51:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list