Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!crdgw1!sungod!davidsen From: davidsen@sungod.crd.ge.com (William Davidsen) Newsgroups: comp.unix.xenix Subject: Re: Function Prototypes and SCO Xenix-386 C Keywords: C, ANSI Message-ID: <1391@crdgw1.crd.ge.com> Date: 28 Jul 89 19:49:22 GMT References: <1989Jul27.171720.1948@holos0.uucp> Sender: news@crdgw1.crd.ge.com Reply-To: davidsen@crdos1.UUCP (bill davidsen) Distribution: usa Organization: General Electric Corp. R&D, Schenectady, NY Lines: 14 In article <1989Jul27.171720.1948@holos0.uucp> lbr@holos0.UUCP (Len Reed) writes: | The Xenix-386 cc command will not support function prototypes if I | use -M3 (generate 80386 code). This certainly means that cc is forking | a different compiler, and an older one, for -M2 than for -M3. The -M3 | version generates lots of syntax error messages for a line like: | void my_function ( char *, int **, struct foo *, int); You must have an *OLD* version. Both the current version I have at work and the previous version I have home (got it about March89) work just fine in that regard. bill davidsen (davidsen@crdos1.crd.GE.COM) {uunet | philabs}!crdgw1!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me