This is the mail archive of the gcc@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: Re: pretty-print.h warning: ‘__gcc_tdiag__’ is an unrecognized format function type


On 11 June 2012 22:27, Joseph S. Myers <joseph@codesourcery.com> wrote:
> 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).

Fine. Added to the FAQ.


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