[Bug c++/53628] [C++11][DR 712] Compiler requires definition of static member constants when not odr-used

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 10 21:43:00 GMT 2012


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

--- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-06-10 21:43:24 UTC ---
(In reply to comment #1)
> I would like to add that exactly the same example is still the main example of
> the otherwise valid explanations in
> 
> http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
> 
> This particular example should be modified as well (or marked to be valid in
> C++03 only)

Jonathan was quicker than I could write this...



More information about the Gcc-bugs mailing list