shebs 02/08/12 22:52:14
Modified: gcc c-common.c
Log:
Disable long double warnings for non-Darwin.
Revision Changes Path
1.71 +4 -1 gcc3/gcc/c-common.c
Index: c-common.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/c-common.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- c-common.c 2002/08/12 03:12:33 1.70
+++ c-common.c 2002/08/13 05:52:13 1.71
@@ -686,8 +686,11 @@
/* APPLE LOCAL begin long double */
/* Nonzero means warn about usage of long double. */
-
+#ifdef CONFIG_DARWIN_H
int warn_long_double = 1;
+#else
+int warn_long_double = 0;
+#endif
/* APPLE LOCAL end long double */
/* APPLE LOCAL begin constant cfstrings */