This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67678] Nested class can be re-declared after definition
- 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, 26 Sep 2015 19:24:43 +0000
- Subject: [Bug c++/67678] Nested class can be re-declared after definition
- Auto-submitted: auto-generated
- References: <bug-67678-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67678
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, it might be an intentional GNU extension. Older versions of Clang warned
about it with the -Wgnu option rather than -Wredeclared-class-member.