Add -Wold-style-definition

Joseph S. Myers jsm@polyomino.org.uk
Mon Sep 15 09:17:00 GMT 2003


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



More information about the Gcc-patches mailing list