This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"


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.


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