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 #16 from joseph at codesourcery dot com  2008-05-11 12:17 -------
Subject: Re:  I64d format Werror problem in build

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

> Another question: why does "lld" not cause warnings on linux here?  I don't see
> what the difference is.  Whatever the situation is, I don't see any reason that
> "I64d" should behave differently from "lld" in gnu89 mode.

The difference is that "lld" is a standard C99 format and "I64d" isn't; 
-Wno-long-long disables warnings in gnu89 -pedantic mode for certain 
standard C99 usages, not for non-standard usages.  You could add 
-Wno-long-long-windows-formats to disable warning for "I64d" in both gnu89 
and gnu99 modes.


-- 


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]