This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re: pretty-print.h warning: ‘__gcc_tdiag__’ is a n unrecognized format function type
On Mon, 11 Jun 2012, Manuel López-Ibáñez wrote:
> http://gcc.gnu.org/wiki/FAQ#stage1warnings
>
> I really don't understand why first stage or --disable-bootstrap is
> not using -w. (Probably, like most things in GCC, because nobody has
> bothered to implement it.)
If you are building a cross compiler (so not bootstrapped), having the
warnings, even if noisy because the compiler used to build it isn't
exactly the same version as the compiler being built, is a lot better than
hiding them all. And if a file fails to build in stage 1 of a bootstrap,
having the warnings, again even if noisy, helps identify the problem more
than if only actual error messages are present (more generally, warnings
from a changed file in stage 1 of a bootstrap give you an early indication
of possible problems with a patch without needing to wait for a later
stage for a more precise set).
--
Joseph S. Myers
joseph@codesourcery.com