On 01/29/21 15:58, Fred Cisin via cctalk wrote (in part):
'=' and '==' makes possible what is probably the most common error, and which the compiler doesn't catch:
if (x = 3) . . .   /* sets x to 3 and gives TRUE for the condition */
I imagine that there are probably some pre-processors that would return a WARNING for it.

Henry's first commandment: Thou shalt run lint frequently and study its pronouncements with care, for verily its perception and judgement oft exceed thine.

N.

Reply via email to