Compiler Error Checking and Error Messages - How much is too much?

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Tue Sep 17 06:40:26 AEST 1985


> 	I used a compiler once that made assignment of pointer
> to an int a FATAL ERROR.   Note that on this system both 
> pointers and ints were 32 bits.

Perhaps it would have let you if you'd used a type cast?
In any case, this is certainly nonportable usage.

ANSI X3J11 (q.v.) attempts to define proper behavior in such cases.



More information about the Comp.lang.c mailing list