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++/13902] New: Misleading diagnostic for static data member definition


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


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