Bruno Haible <[EMAIL PROTECTED]> writes:
> I'm applying this:
>
> 2007-02-19 Bruno Haible <[EMAIL PROTECTED]>
>
> * lib/stdlib_.h: Use "#pragma GCC system_header" to suppress some gcc
> warnings.
> Reported by Joel E. Denny <[EMAIL PROTECTED]> via Paul Eggert.
Would it be possible to apply a similar fix to string_.h? Under
mingw, I see the following warnings when compiling a file that
just contains the single line "#include <string.h>":
[EMAIL PROTECTED]:~/pspp/mingw/pspp/_mingw/gl(0)$ i586-mingw32msvc-gcc -c
-I. -Drestrict= -Wmissing-prototypes include-string.c
In file included from ./string.h:23,
from include-string.c:1:
///usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/include/string.h:97:
warning: no previous prototype for 'strcasecmp'
///usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/include/string.h:103:
warning: no previous prototype for 'strncasecmp'
[EMAIL PROTECTED]:~/pspp/mingw/pspp/_mingw/gl(0)$
Sorry about the overlong lines.
--
Ben Pfaff
[EMAIL PROTECTED]
http://benpfaff.org