This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 06 Apr 2000 10:32:15 +1000
- CC: Ian Lance Taylor <ian at zembu dot com>, binutils at sourceware dot cygnus dot com, gdb-patches at sourceware dot cygnus dot com, newlib at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.21.0004051120170.15948-100000@front.linuxcare.com.au>
Alan Modra wrote:
>
> 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.
Not a problem. Just appending it to my list of things to do one day ...
:-)
Andrew