On 30/01/2021 12:45, Bill Gunshannon via cctalk wrote:
On 1/29/21 4:25 PM, Nemo Nusquam via cctalk wrote:
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.


Which Henry was that?  Henry Spencer perhaps?
Yes, Henry Spencer (formerly of zoo.toronto.edu).

N.

Reply via email to