From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23613 invoked by alias); 9 Oct 2009 18:28:13 -0000 Received: (qmail 23604 invoked by uid 22791); 9 Oct 2009 18:28:12 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Oct 2009 18:28:08 +0000 Received: (qmail 11518 invoked from network); 9 Oct 2009 18:28:06 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 Oct 2009 18:28:06 -0000 Message-ID: <4ACF80A8.9020206@codesourcery.com> Date: Fri, 09 Oct 2009 18:28:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: tromey@redhat.com CC: Tobias Hahn , gdb@sourceware.org Subject: Re: -Wformat and the like References: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> <3424D328-9EB7-483D-BB65-7471CE2BBDE6@ableton.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00180.txt.bz2 Tom Tromey wrote: >>>>>> "Tobias" == Tobias Hahn writes: >>>>>> > > Tobias> By the way: Why do the makefiles include -Wformat, -Wformat-nonliteral > Tobias> and -Werror? I agree that this would be a best pratice if the code > Tobias> were clean, but with literally thousands of these kinds of errors it > Tobias> just gives me as a user a hard time trying to get a build. > > I don't know the answer, but I definitely don't see thousands of such > warnings on my Fedora 11 box. > > I'm sure it's an OS X thing - the headers have all kinds of BSD-ish and Mach-ish arcana that are different from other systems for, uh, deeply-thought-out and carefully-documented reasons. :-) One could get GDB to a clean build with OS X, but it would be a lot of macro gymnastics. Stan