From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27119 invoked by alias); 11 May 2008 12:18:34 -0000 Received: (qmail 26965 invoked by alias); 11 May 2008 12:17:50 -0000 Date: Sun, 11 May 2008 12:18:00 -0000 Message-ID: <20080511121750.26964.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/25502] I64d format Werror problem in build In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg00846.txt.bz2 ------- 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