> > With an existing #define, the compiler will compile ansi prototypes.  I don't think
> > it will automatically perform function parameter type casting, which is what's 
>really needed.
> 
> ... Having a half-ansi compiler is just confusing. A tool which checks
> that functions are being used with the correct number of paramaters woudl
> be very useful, and easier to do than such a fundamental modification to
> the compiler.

Can anybody say `lint'? ;) As far as casting parameters, as long as you
keep standard type promotion in mind (integral types [except long] to
int, float to double), this shouldn't be a problem. Any code that relies
on promotion to a nonstandard type is probably dangerous anyway. Think
v7, not sysV.


- phil
(soon to be the proud owner of a Poqet Plus!)

Reply via email to