This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17620] New: [4.0 regression] Bogus error with duplicate base class breaks boost
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2004 20:23:05 -0000
- Subject: [Bug c++/17620] New: [4.0 regression] Bogus error with duplicate base class breaks boost
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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