c++/2972

nathan@gcc.gnu.org nathan@gcc.gnu.org
Sun May 27 09:16:00 GMT 2001


The following reply was made to PR c++/2972; it has been noted by GNATS.

From: nathan@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, pere@hungry.com
Cc:  
Subject: Re: c++/2972
Date: 27 May 2001 16:15:03 -0000

 Synopsis: Uninitialized member variables are not default initialized
 
 State-Changed-From-To: open->suspended
 State-Changed-By: nathan
 State-Changed-When: Sun May 27 09:15:03 2001
 State-Changed-Why:
     you are incorrect. [12.6.2]/4 specifies that POD types (of
     which scalar types are), are not initialized.
     
     However, we should warn, if the -Wuninitialized flag is
     given, so I've made this a suspended change-request.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2972&database=gcc



More information about the Gcc-prs mailing list