RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
Wed Apr 5 07:10:00 GMT 2000
> 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.
It strikes me that the Right Thing would be to convince the GCC
maintainers to make that "not a string literal" warning be controlled
by a separate -Wxxx option. Use of expressions for format specifiers
is a very old C tradition, and IMHO it just doesn't make sense to
start whining about all that code just because the compiler lacks the
wizdom to check its validity.
I tried some time ago to convince the GCC maintainers, but failed.
(Heck, even Ulrich Drepper failed, so I'm in a very good company ;-).
Perhaps if the entire GDB maintenance team bugged them, they would
More information about the Newlib