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]

Re: unify handling of -Wreturn-type


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


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