From db2e9abaca03005d2d22c81b0f290f6ad1bd75d7 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 28 Jun 1993 02:29:40 +0000 Subject: [PATCH] Use "-std" switch to make compiler ANSI. --- v7/src/microcode/m/mips.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/v7/src/microcode/m/mips.h b/v7/src/microcode/m/mips.h index be4d09a7d..b819be659 100644 --- a/v7/src/microcode/m/mips.h +++ b/v7/src/microcode/m/mips.h @@ -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 -- 2.25.1