This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Makefile] Bootstrap with -Wold-style-definition
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: kcook34 at ford dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Oct 2003 18:45:21 -0500 (EST)
- Subject: Re: [Makefile] Bootstrap with -Wold-style-definition
- References: <3FA19AAE.7030906@ford.com>
> A simple patch which adds in -Wold-style-definition to the bootstrap
> to which should help everyone remember to retain the C90 conversion.
>
> 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
>
> * Makefile.in (LOOSE_WARN_XGCC): New variable.
> (POSTSTAGE1_FLAGS_TO_PASS): Use it.
>
Great idea, thanks.
Question: why do you add the new LOOSE_WARN_XGCC variable? I would
think putting -Wold-style-definition in STRICT2_WARN would serve just
as well, no?
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu