[Bug c++/13902] New: Misleading diagnostic for static data member definition
gdr at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 28 21:48:00 GMT 2004
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
More information about the Gcc-bugs
mailing list