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++/36749] sizeof returns 0 for class



------- Comment #2 from paolo dot carlini at oracle dot com  2008-07-07 14:24 -------
The problem is one of diagnostic: the code should be just rejected because Foo
is an incomplete type.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36749


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