[Bug c++/48930] [C++0x] Invalid implicitly declared default c'tor

schaub.johannes at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun May 8 22:04:00 GMT 2011


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

--- Comment #2 from Johannes Schaub <schaub.johannes at googlemail dot com> 2011-05-08 21:47:01 UTC ---
(In reply to comment #1)
> I think it can be argued that this is a bug in the Standard rather than in GCC.
> The Standard says that members of C are zero initialized. 
> 

Let me please be more precise than that. I wanted those notes to only apply to
the value initialization of "c2". I agree that the default initialization for
"c1" is still ill-formed and should be diagnosed.



More information about the Gcc-bugs mailing list