Mail Archives: djgpp-workers/2001/11/03/12:34:25
While compiling the readline library in the latest GDB pretest, GCC
3.0.2 prints numerous warnings like this:
gcc -c -DHAVE_CONFIG_H -I. -I. -Id:/usr/djgpp/include -DRL_LIBRARY_VERSION='"4.1"' -g -O2 readline.c
In file included from rldefs.h:53,
from readline.c:54:
d:/usr/djgpp/include/string.h:53: warning: conflicting types for built-in function `bzero'
What prototype of bzero does GCC expect? More generally, how can one
know what prototypes does GCC expect from functions it treats as
built-in?
Apart of using -fno-nonansi-builtins (which I don't want to do, since
older versions of GCC will probably barf on it), can I do something
in the GDB distribution to avoid this warning? For example, are
there some -Wxxx flags I can avoid using to shut this warning up?
- Raw text -