Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!uc!shamash!paul From: paul@u02.svl.cdc.com (Paul Kohlmiller) Newsgroups: comp.sys.mips Subject: Re: prototypes in the C compiler Message-ID: <28458@shamash.cdc.com> Date: 8 Nov 90 18:13:51 GMT References: <7031@hub.ucsb.edu> Sender: news@shamash.cdc.com Distribution: comp Lines: 19 tom@bears.ucsb.edu (Tom Weinstein) writes: >I'm going to be writing some code that has to be fairly portable to a >Mips box. The problem I have is that the person who has the Mips seems >to think that their C compiler doesn't support ANSI prototypes. This >seems a little strange to me. So, is he wrong? Does he just have an >old OS version? Are there some compiler flags that have to be set? The MIPS C compiler does support ANSI prototypes although it is not yet an ANSI C compiler. Previous to version 2.10 of the C compiler, the prototypes were allowed but there was not much checking going on. With 2.10 and later compilers,the prototypes are being checked. There is a compiler flag (-std) but it does not appear to have anything to do with prototypes. Paul Kohlmiller -- // Paul H. Kohlmiller // "Cybers, Macs and Mips" // // Control Data Corporation // Internet: paul@u02.svl.cdc.com // // All comments are strictly // America Online: Paul CDC // // my own. // Compuserve: 71170,2064 //