Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tobias Hahn <tobias.hahn@ableton.com>
To: gdb@sourceware.org
Subject: Re: -Wformat and the like (was: gdb-7.0 on osx)
Date: Fri, 09 Oct 2009 08:40:00 -0000	[thread overview]
Message-ID: <3424D328-9EB7-483D-BB65-7471CE2BBDE6@ableton.com> (raw)
In-Reply-To: <847995BD-73DF-46CD-AFDE-25AB8A5A6E6D@ableton.com>

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





  parent reply	other threads:[~2009-10-09  8:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 15:57 gdb-7.0 on osx Tobias Hahn
2009-10-08 16:02 ` Tristan Gingold
2009-10-08 16:56   ` Tobias Hahn
2009-10-09  7:55     ` Tristan Gingold
2009-10-09  9:39       ` Tobias Hahn
2009-10-09 13:05         ` Tristan Gingold
2009-10-09  8:04     ` Tristan Gingold
2009-10-09 12:56       ` Jack Howarth
2009-10-09 13:05         ` Tristan Gingold
2009-10-09  8:40 ` Tobias Hahn [this message]
2009-10-09  8:53   ` -Wformat and the like (was: gdb-7.0 on osx) Tobias Hahn
2009-10-09 17:51   ` -Wformat and the like Tom Tromey
2009-10-09 18:28     ` Stan Shebs
2009-10-09 18:44       ` Pedro Alves
2009-10-09 19:38         ` Tobias Hahn
2009-10-09 19:50           ` Daniel Jacobowitz
     [not found]         ` <02C5402A-7B26-4A21-91C2-549917DA523E@ableton.com>
2009-10-09 19:55           ` Pedro Alves
2009-10-12  9:51             ` Tristan Gingold
2009-10-12 14:32               ` Pedro Alves
2009-10-15 13:27                 ` Tristan Gingold
2009-10-09 20:27       ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3424D328-9EB7-483D-BB65-7471CE2BBDE6@ableton.com \
    --to=tobias.hahn@ableton.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox