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++/67678] Nested class can be re-declared after definition


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.


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