This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11393] Initializer of static const float class member is not legal in c++98
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Oct 2012 11:45:11 +0000
- Subject: [Bug c++/11393] Initializer of static const float class member is not legal in c++98
- Auto-submitted: auto-generated
- References: <bug-11393-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11393
--- Comment #30 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-10-26 11:45:11 UTC ---
>
> Your "c" example seems like a completely separate issue that should be a
> separate PR, I don't understand why it's being discussed here.
It is now PR55080.
About this PR, I concur now with Jonathan:
"My suggestion would be do nothing and lose the PR. If you want a warning in
C++98 use -pedantic, which is consistent with other GNU extensions. In C++11
use constexpr."