------- Comment #15 from joseph at codesourcery dot com  2008-05-11 12:15 
-------
Subject: Re:  Werror problem in build

On Sun, 11 May 2008, aaronavay62 at aaronwl dot com wrote:

> ------- Comment #13 from aaronavay62 at aaronwl dot com  2008-05-11 03:04 
> -------
> What would be an acceptable solution other than having bootstrap perpetually
> broken, and other than --disable-werror?

You could disable -pedantic when bootstrapping on Windows hosts, or use 
-Wno-error=format, or make it possible to control these warnings 
separately with -Wno-error=format-pedantic.

> 1) We could only enable this warning when in strict mode, eg -std=c99
> -pedantic.  -std=gnu99 -pedantic would not warn.  This seems like it might be
> best.

This isn't how the warning options are meant to work; I don't think we 
want yet more variations on when particular warnings are enabled.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25502

Reply via email to