aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-01-21 02:44:37 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-21 02:44:37 +0000
commit876086937b24fed8fc5ef99877281619e211a14f (patch)
tree4ed830f06c498efba853f69a6ba98cb2c84438a2 /gcc
parent475c825089f2734f8be45f0cb2b43095e8347249 (diff)
downloadgcc-876086937b24fed8fc5ef99877281619e211a14f.zip
gcc-876086937b24fed8fc5ef99877281619e211a14f.tar.gz
gcc-876086937b24fed8fc5ef99877281619e211a14f.tar.bz2
* system.h (__NO_STRING_INLINES): Define.
From-SVN: r61528
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/system.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecbd2f9..d8ef83d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h (__NO_STRING_INLINES): Define.
+
2003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
diff --git a/gcc/system.h b/gcc/system.h
index 0e5b3c6..27f6f41 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -112,6 +112,10 @@ extern int fprintf_unlocked PARAMS ((FILE *, const char *, ...));
extern int errno;
#endif
+/* Some of glibc's string inlines cause warnings. Plus we'd rather
+ rely on (and therefore test) GCC's string builtins. */
+#define __NO_STRING_INLINES
+
#ifdef STRING_WITH_STRINGS
# include <string.h>
# include <strings.h>