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++/17620] New: [4.0 regression] Bogus error with duplicate base class breaks boost


This is a recent regression that breaks compiling boost: 
------------------- 
template <bool> struct S {}; 
 
typedef S<false> B; 
 
struct D1 : B {}; 
struct D2 : B {}; 
-------------------- 
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -c x.cc 
x.cc:6: error: duplicate base type `B' invalid 
 
Needless to say that the error message is completely bogus. 
 
W.

-- 
           Summary: [4.0 regression] Bogus error with duplicate base class
                    breaks boost
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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