This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25502] I64d format Werror problem in build
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2008 12:17:50 -0000
- Subject: [Bug bootstrap/25502] I64d format Werror problem in build
- References: <bug-25502-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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