[Bug c++/67678] Nested class can be re-declared after definition

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 26 16:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67678

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
Personally I think that allowing this looks like a reasonable extension, but I
agree that using -pedantic this should be diagnosed (which it doesn't yet).


More information about the Gcc-bugs mailing list