[Bug c/12719] Variables declaration can be anywhere.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 7 19:33:00 GMT 2005

------- 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:

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


More information about the Gcc-bugs mailing list