Use "-std" switch to make compiler ANSI.
authorChris Hanson <org/chris-hanson/cph>
Mon, 28 Jun 1993 02:29:40 +0000 (02:29 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 28 Jun 1993 02:29:40 +0000 (02:29 +0000)
v7/src/microcode/m/mips.h

index be4d09a7d78077690310849db794238a90ea8096..b819be6591b1c4d984a52d9ef2ecfe50afc8fd82 100644 (file)
@@ -1,7 +1,7 @@
 /* -*-C-*-
    Machine file for MIPS computers.
 
-$Id: mips.h,v 1.7 1992/11/18 15:52:47 gjr Exp $
+$Id: mips.h,v 1.8 1993/06/28 02:29:40 cph Exp $
 
 Copyright (c) 1989-1992 Massachusetts Institute of Technology
 
@@ -41,11 +41,10 @@ MIT in each case. */
 #define LIB_DEBUG
 
 #ifndef ALTERNATE_CC
-/* The "-Olimit" switch is needed because some procedures are larger
-   than the built-in optimization limit.  The "-w" switch says not to
-   report warnings -- there are many of them, all harmless, that would
-   not be reported if this were an ANSI compiler. */
-#define C_SWITCH_MACHINE -Olimit 2000 -w
+/* The "-std" switch says to turn on ANSI features and compatible
+   extensions.  The "-Olimit" switch is needed because some procedures
+   are larger than the built-in optimization limit.  */
+#define C_SWITCH_MACHINE -std -Olimit 2000
 #else
 #define C_SWITCH_MACHINE
 #endif