This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Change -W to -Wextra in Makefile.in
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 1 Oct 2006 11:33:49 +0000 (UTC)
- Subject: Re: [PATCH] Change -W to -Wextra in Makefile.in
- References: <451F5D81.8070909@gmail.com>
On Sun, 1 Oct 2006, Uros Bizjak wrote:
> Hello!
>
> This patch changes -W to -Wextra, so gcc is consistent with its own
> documentation, where -W is deprecated:
>
> `-Wextra'
> (This option used to be called `-W'. The older name is still
> supported, but the newer name is more descriptive.) Print extra
> ...
>
> Patch was bootstrapped on x86_64-pc-linux-gnu.
Have you made sure that LOOSE_WARN will not be used with the pre-existing
bootstrap compiler / compiler used to build a cross-compiler, if that is
3.3 or older? I think it will be so used. -Wextra was added in 3.4, but
we still support any GCC 2.95 or later as the compiler for building
cross-compilers, and probably older compilers as the starting point for a
bootstrap.
--
Joseph S. Myers
joseph@codesourcery.com