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

Reply via email to