This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/15238] Warn about variable declarations mixed with code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]