This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wformat and the like (was: gdb-7.0 on osx)


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]