[Bug c++/33805] Static member of the class should be able to depend on classes size

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed Oct 17 23:26:00 GMT 2007



------- Comment #1 from pcarlini at suse dot de  2007-10-17 23:25 -------
The compiler is correct: per 5.3.3/1, sizeof shall not be applied to an
incomplete type.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list