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++/14208] [3.4/3.5 Regression] Regression compiling Boost.Python test


------- Additional Comments From bangerth at dealii dot org  2004-02-19 14:36 -------
OK, this one is really short: 
---------------------------- 
struct B { 
    typedef B type; 
}; 
 
struct type : B {}; 
----------------------------- 
 
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc 
x.cc:5: error: `B::type' has the same name as the class in which it is 
declared 
 
icc accepts the code. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.4.0 3.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-19 14:36:03
               date|                            |


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


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