This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19320] static const float initialization ignored
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2005 22:47:18 -0000
- Subject: [Bug c++/19320] static const float initialization ignored
- References: <20050107224145.19320.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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