This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52379] When inheriting a class X from another namespace, inside the class X will always refer to that one.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Feb 2012 14:04:38 +0000
- Subject: [Bug c++/52379] When inheriting a class X from another namespace, inside the class X will always refer to that one.
- Auto-submitted: auto-generated
- References: <bug-52379-4@http.gcc.gnu.org/bugzilla/>
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.