+2007-02-19 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdlib_.h: Use "#pragma GCC system_header" to suppress some gcc
+ warnings.
+ Reported by Paul Eggert.
+
2007-02-19 Jim Meyering <jim@meyering.net>
Don't use FD after a successful "fdopendir (fd)".
* m4/javacomp.m4 (gt_JAVACOMP): Work around a 'tr' bug in coreutils
5.2.1 and earlier, whereby \055 was treated just like the range
- delimiter '-'. Reported by Joel E. Denny <jdenny@ces.clemson.edu>.
+ delimiter '-'.
+ Reported by Joel E. Denny <jdenny@ces.clemson.edu>.
2007-02-08 Bruno Haible <bruno@clisp.org>
#if defined __need_malloc_and_calloc
/* Special invocation convention inside glibc header files. */
+
+/* This #pragma avoids a warning with "gcc -Wall" on some glibc systems
+ on which <stdlib.h> has an inappropriate declaration, see
+ <http://sourceware.org/bugzilla/show_bug.cgi?id=1079>. */
+#ifdef __GNUC__
+# pragma GCC system_header
+#endif
+
#include @ABSOLUTE_STDLIB_H@
+
#else
/* Normal invocation convention. */
#ifndef _GL_STDLIB_H
#define _GL_STDLIB_H
+/* This #pragma avoids a warning with "gcc -Wall" on some glibc systems
+ on which <stdlib.h> has an inappropriate declaration, see
+ <http://sourceware.org/bugzilla/show_bug.cgi?id=1079>. */
+#ifdef __GNUC__
+# pragma GCC system_header
+#endif
+
#include @ABSOLUTE_STDLIB_H@