https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95610
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC fails to get global |bogus error: "global |variable via "::" in class |qualification of class name |specifier |is invalid" Keywords| |rejects-valid Last reconfirmed| |2020-06-09 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- This has nothing to do with global variables, it's a class definition. THis produces the same error, with no variables involved: class s; class ::s { };