Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!gatech!purdue!haven!ni.umd.edu!uc780.umd.edu!greg From: greg@uc780.umd.edu Newsgroups: comp.sys.amiga.programmer Subject: Re: ANSI prototypes, the right choice... Message-ID: <21FEB91.21191655@uc780.umd.edu> Date: 21 Feb 91 21:19:16 GMT Sender: usenet@ni.umd.edu (USENET News System) Organization: The University of Maryland University College Lines: 26 >In article <1991Feb11.030811.25074@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: >>You have it backwards. Lattice accepts mixtures. No other Ansi-compatible >>compiler I've used does... > >How curious; an ANSI-conforming compiler has to accept mixtures. Given >some attention to parameter types, a program which prototypes a function and >then gives an old-style definition of it is completely, 100% ANSI-conforming, >and any compiler which refuses to accept it is not. Not so. Most C compilers for mainframes I have seen allow both 100% ANSI compliant mode and a "not so compliant" ;-) mode. The VAX C compiler is an example. >-- >"Read the OSI protocol specifications? | Henry Spencer @ U of Toronto Zoology >I can't even *lift* them!" | henry@zoo.toronto.edu utzoo!henry +-----------------------------------------------------------------------------+ | J. Gregory Wright Disclaimer: The views expressed herein do not | | Sprint International necessarily reflect the views of | | Reston, Virginia my employer, or any other sane | | human being. | +-----------------------------------------------------------------------------+ | BITNet: greg@uc780 | | Internet: greg@socrates.umd.edu | | X.400: SU:wright,GI:j._gregory,C:usa,ADMD:telemail | +-----------------------------------------------------------------------------+