[Bug c++/11393] Initializer of static const float class member is not legal in c++98
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Tue Jul 1 17:31:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11393
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-01 17:31 -------
It does reject with "gcc -S pr11393.cc -pedantic-errors" in the mainline (20030701) and has done
since at least 2.95.3.
I think this is the right thing to do is to warn about with -pedantic.
More information about the Gcc-bugs
mailing list