Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!gumby From: sah@gumby (Steve Hanson) Newsgroups: comp.sys.mips Subject: Re: prototypes in the C compiler Message-ID: <42950@mips.mips.COM> Date: 8 Nov 90 21:41:39 GMT References: <7031@hub.ucsb.edu> Sender: news@mips.COM Reply-To: sah@gumby (Steve Hanson) Distribution: comp Organization: MIPS Computer Systems, Sunnyvale CA Lines: 32 In-reply-to: tom@bears.ucsb.edu (Tom Weinstein) In article <7031@hub.ucsb.edu>, tom@bears (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? > >Thanks. > > >-- >He is Bob...eager for fun. | Tom Weinstein tom@bears.ucsb.edu >He wears a smile... Everybody run! | tweinst@polyslo.calpoly.edu There has been 23 bugs(including bugs rejected, cosmetic or not enough info supplied) reported against prototypes since July '86. Of the 23 bugs reported 3 remain open. The implementation was based on the May '86 draft standard and was therefore incomplete in terms of prototype checking and conversion semantics. In addition, register storage class was omitted from the implementation as far as prototypes were concerned. Over the years as the standard evolved the implementation has been updated. The next release of the compiler, 2.20, will have a complete implementation of prototypes. -- -- UUCP: {ames,decwrl,prls,pyramid}!mips!sah USPS: MIPS Computer Systems, 930 Arques Ave, Sunnyvale CA, 94086