[Bug c++/77564] Code fails to link when compiled with -O0
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 12 13:22:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77564
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Right, the code is invalid. This is a FAQ.
See https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
More information about the Gcc-bugs
mailing list