Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!lobster!nuchat!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Func Protos with K&R Func Defs Message-ID: Date: 11 Mar 91 18:27:31 GMT References: <10714@dog.ee.lbl.gov> <1991Mar8.204142.14568@athena.mit.edu> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 24 In article <1991Mar8.204142.14568@athena.mit.edu> scs@adam.mit.edu writes: > >This seems to rather the optimisations that an ANSI compiler > >can make... > There's a missing, so I can't figure out what comment this makes > on ANSI prototypes. The missing is "limit", you should be able to that from context. Just at the sentence for a while, and it will make. > The rules relating prototyped and old-style > functions are somewhat complicated, but they make sense, and are > formulated correctly to allow maximum interoperability (and, yes, > portability) between the two forms. Perhaps there should be a lengthy and detailed discussion on this in the std or an associated docco, because of the compilers that get it wrong and all the folks who are having so much trouble writing code that satisfies both sides. I sure haven't found the balance yet. Sigh... -- Peter da Silva. `-_-' peter@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"