This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15238] Warn about variable declarations mixed with code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2004 00:19:14 -0000
- Subject: [Bug c/15238] Warn about variable declarations mixed with code
- References: <20040430220933.15238.arend.bayer@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-01 00:19 -------
Actually it is already there in 3.4.0: -Wdeclaration-after-statement. Even though it is not on the
changes page :(. It is documented: <http://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/Warning-
Options.html#Warning%20Options> though.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |diagnostic
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15238