aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-01-21 17:02:51 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-01-21 17:02:51 -0800
commit1c99d804eeb06044f5e7b3ff7b840a3570aa59c1 (patch)
tree845b96df5c1eb09fbf1a857272f510da30049ca8 /gcc/system.h
parent44897a588a0bfc48d4850f98996fbc85390ccf90 (diff)
downloadgcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.zip
gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.gz
gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.bz2
dwarf2out.c (lookup_filename): Fix printf format warning.
* dwarf2out.c (lookup_filename): Fix printf format warning. * system.h (fread_unlocked, fwrite_unlocked): Undef. * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. (fixincl.o-warn, gnu-regex.o-warn): New. * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. * fixinc/fixincl.c (process): Fix printf format warning. From-SVN: r61584
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 27f6f41..da78a59 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -99,6 +99,11 @@ extern int fprintf_unlocked PARAMS ((FILE *, const char *, ...));
#endif
+/* ??? Glibc's fwrite/fread_unlocked macros cause
+ "warning: signed and unsigned type in conditional expression". */
+#undef fread_unlocked
+#undef fwrite_unlocked
+
/* There are an extraordinary number of issues with <ctype.h>.
The last straw is that it varies with the locale. Use libiberty's
replacement instead. */