[Bug c++/19320] static const float initialization ignored

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 7 22:47:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 22:47 -------
Two things, this is invalid C++ in two different ways, one way is that initializing static constants that 
are not integer types is invalid (but is accepted as an extension).  The other way is that you still need 
supply the memory location for the static constant.

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


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



More information about the Gcc-bugs mailing list