From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10129 invoked by alias); 9 Oct 2009 08:53:09 -0000 Received: (qmail 10119 invoked by uid 22791); 9 Oct 2009 08:53:08 -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:52:59 +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 1MwBDd-0007WV-EO for gdb@sourceware.org; Fri, 09 Oct 2009 10:52:57 +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: <3424D328-9EB7-483D-BB65-7471CE2BBDE6@ableton.com> Date: Fri, 09 Oct 2009 08:53:00 -0000 Content-Transfer-Encoding: 7bit Message-Id: References: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com> <3424D328-9EB7-483D-BB65-7471CE2BBDE6@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/msg00172.txt.bz2 Update: configure --disable-werror seems to do the job. Am 09.10.2009 um 10:40 schrieb Tobias Hahn: > 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 > > > > Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838 Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf Vorsitzender des Aufsichtsrats: Uwe Struck