RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
Andrew Cagney
ac131313@cygnus.com
Wed Apr 5 17:34:00 GMT 2000
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
More information about the Newlib
mailing list