------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-07 06:32 ------- (In reply to comment #3) In 3.4.0 and above there is already a warning for this: -Wdeclaration-after-statement
As mentioned this is standard C99 code also (yes most C compilers are not C99 compilers but just C90 ones) which is why the warning was added. (another way to get the warning is with -pedantic but that adds other warnings too which you might not want). -- What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12719