unify handling of -Wreturn-type

Joseph S. Myers jsm28@cam.ac.uk
Wed Feb 21 07:14:00 GMT 2001


On Wed, 21 Feb 2001, Matt Kraai wrote:

> 2001-02-15  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
> 
> 	* toplev.c (W_options): Add -Wreturn-type entry.
> 	* c-decl.c (c_decode_option): Remove decode for -Wreturn-type.
> 	* cp/decl2.c (cxx_decode_option): Ditto.
> 	* cp/lang-options.h: Remove -Wreturn-type from C++ options.

It should also be possible to remove the declaration of warn_return_type
from cp-tree.h.

Note that the cp directory uses its own separate ChangeLog.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list