Func Protos with K&R Func Defs

Peter da Silva peter at ficc.ferranti.com
Fri Mar 8 09:54:16 AEST 1991


In article <10714 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
> This statement is correct (in a strict logical sense), but all the
> implications it makes are wrong.  That is, the statement

> 	[compiler treats prototyped functions specially] implies
> 		[compiler may not take advantage of...]

> is true but only because the clause [compiler treats prototyped
> functions specially] is false.

This means, then, that an ANSI compiler is allowed to make the sorts of
optimisations that prototypes allow it to safely make, without the prototypes
being in scope? This seems to rather the optimisations that an ANSI compiler
can make...
-- 
Peter da Silva.  `-_-'  peter at ferranti.com
+1 713 274 5180.  'U`  "Have you hugged your wolf today?"



More information about the Comp.lang.c mailing list