------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-09-14 22:43 ------- G++ will issue a diagnostic about this usage with -pedantic.
The decision not to issue a diagnostic in the default mode is conscious and intentional; G++ has historically accepted this code, and there is no semantic problem with accepting it. There are some members of the GCC community that are very much opposed to making the compiler stricter in the default mode. Jason, Nathan, do you think we should turn this diagnostic on by default (as a pedwarn), or just close this PR? If the latter, should we document this extension? -- What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at redhat dot com, | |nathan at codesourcery dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16782