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]
Other format: [Raw text]

Re: [PATCH] Change -W to -Wextra in Makefile.in


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


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