Equality vs Assignment

Chris Gray cg at myrias.UUCP
Fri Sep 19 05:48:29 AEST 1986

The proper place for this check is of course as a warning issued by the C
compiler. It's not all that hard - it took me about 30 lines of code in the
compiler (ANSI draft based) that I've done. It's a check I felt was quite
important, since I've been bitten by it too many times (I program in other
languages besides C, where '=' IS a comparison).

		Chris Gray (...alberta!myrias!cg)

More information about the Comp.lang.c mailing list