[Bug c++/17620] New: [4.0 regression] Bogus error with duplicate base class breaks boost
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 22 20:23:00 GMT 2004
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
More information about the Gcc-bugs
mailing list