This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13902] New: Misleading diagnostic for static data member definition
- From: "gdr at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2004 21:48:03 -0000
- Subject: [Bug c++/13902] New: Misleading diagnostic for static data member definition
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile the attached file and look at the message
for line 5. It is speaking of 'sizeof (*T)' which definitely
is wrong. I've not checked with 3.4.x or mainline but I
suspect the problem would be there too.
Oh, whether the program is well-formed or not is a different
issue (I think it is, but that needs a formal proof).
--
Summary: Misleading diagnostic for static data member definition
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gdr at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13902