[Bug c++/95610] bogus error: "global qualification of class name is invalid"

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 9 20:45:48 GMT 2020


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 { };


More information about the Gcc-bugs mailing list