This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52379] When inheriting a class X from another namespace, inside the class X will always refer to that one.


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-25 14:04:38 UTC ---
(In reply to comment #2)
> (In addition, the compiler should
> also reject the semicolon after the closing brace of the namespaces).

That's a long-standing G++ extension, which -pedantic warns about.

Otherwise, agreed, this is invalid.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]