This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/25502] I64d format Werror problem in build



------- 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


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