This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 5 Apr 2000 11:32:26 +1000 (EST)
- cc: ac131313 at cygnus dot com, binutils at sourceware dot cygnus dot com, gdb-patches at sourceware dot cygnus dot com, newlib at sourceware dot cygnus dot com
On 4 Apr 2000, Ian Lance Taylor wrote:
> One way to make this work would be to define WARN_CFLAGS, or something
> like that, in the top level Makefile.in, and use it in some
> subdirectories but not others.
While you're at it Andrew, it would be nice if WARN_CFLAGS included
-Wno-format when compiling with nls enabled (but not with nls
disabled). With --enable-nls, real warnings are hidden amongst reams of
"warning: format not a string literal, argument types not checked" if you
are using a recent gcc.
I've been meaning for ages to add a little configure magic to do this...
--
Linuxcare. Support for the Revolution.