This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20420] Unrecognized double declarations


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]