From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5498 invoked by alias); 9 Oct 2009 08:40:19 -0000 Received: (qmail 5483 invoked by uid 22791); 9 Oct 2009 08:40:17 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.ableton.net (HELO mail.ableton.net) (62.96.12.115) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Oct 2009 08:40:11 +0000 Received: from client2027.office.ableton.com ([10.1.15.78]) by mail.ableton.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1MwB1D-0006VA-Fe for gdb@sourceware.org; Fri, 09 Oct 2009 10:40:07 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: -Wformat and the like (was: gdb-7.0 on osx) From: Tobias Hahn In-Reply-To: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> Date: Fri, 09 Oct 2009 08:40:00 -0000 Content-Transfer-Encoding: 7bit Message-Id: <3424D328-9EB7-483D-BB65-7471CE2BBDE6@ableton.com> References: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> To: gdb@sourceware.org X-IsSubscribed: yes 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/msg00171.txt.bz2 By the way: Why do the makefiles include -Wformat, -Wformat-nonliteral and -Werror? I agree that this would be a best pratice if the code were clean, but with literally thousands of these kinds of errors it just gives me as a user a hard time trying to get a build. Right now, I am trying find the correct place to patch the Makefiles since it adds -Wformat-nonliteral explicitely, overriding my -Wno- format-nonliteral, which breaks a ton of stuff. Am I the only one having these problems? Are there some magic secret configure options to get "configure && make" to produce a build? I am using the daily snapshot gdb-7.0.50.20091009. Best, Tobias Am 08.10.2009 um 17:57 schrieb Tobias Hahn: > I cannot get gdb-7.0 to debug my executables under 10.6. I have > built it using > > $ ../gdb-7.0/configure --build=x86_64-apple-darwin10 CFLAGS="-g -O2 - > Wno-format" Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838 Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf Vorsitzender des Aufsichtsrats: Uwe Struck