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