Funny mistake

Arto V. Viitanen av at uta.fi
Fri Mar 15 01:49:44 AEST 1991


In article <13337 at helios.TAMU.EDU> antek at binoc.tamu.edu (Antek Laczkowski) writes:
>
>"if (a = b)" instead of "if (a == b)". 
>
>That's a REALLY disgusting error, 
>because the "C" compiler (at least under UNIX BSD 3.4) doesn't report it, 

It seems, that almost all PC C compilers (at least Turbo C, C++) reports this
kind of stuff.



-- 
Arto V. Viitanen				         email: av at kielo.uta.fi
University Of Tampere,				   	    av at ohdake.cs.uta.fi
Finland



More information about the Comp.lang.c mailing list