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

2005-02-06 Thread pinskia at gcc dot gnu dot org
--- 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 ju

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

2005-02-06 Thread cwant at ualberta dot ca
--- Additional Comments From cwant at ualberta dot ca 2005-02-07 06:26 --- It would be nice to have a warning/error option for when these kind of declarations occur. Our application (blender) runs on many platforms and is built with a number of different compilers, some of which do not a