This is the mail archive of the gcc-patches@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]

Re: Add -Wold-style-definition


On Mon, 15 Sep 2003, Andreas Jaeger wrote:

> 2003-09-14  Andreas Jaeger  <aj@suse.de>
>             Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
> 
> 	* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
> 	* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
> 	* c-parse.in: Warn about old-style parameter definition.
> 	* c-common.c: Define warn_old_style_defintion.
> 	* c-common.h: Declare it.
> 	* c.opt: Add Wold-style-defintion.
> 
> testsuite:
> 2003-09-14  Andreas Jaeger  <aj@suse.de>
> 
> 	* gcc.dg/old_style_def.c: New test.

OK with the testsuite ChangeLog entry updated for the new filename.

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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