One more point regarding = and == (more flamage)
Guy Helmer
ghelmer at dsuvax.uucp
Sun Mar 24 11:29:59 AEST 1991
In <1991Mar22.161333.24290 at dg-rtp.dg.com> hagins at gamecock.rtp.dg.com (Jody Hagins) writes:
>Well, I'm not Henry, but I definitely agree here! Also, Borland seems
>to agree here as well, since while(*foo++ = *bar++); will generate a
^
>warning message.
It would be nice to have a compiler that would flag unintended empty
statements, too :-)
>Jody Hagins
--
Guy Helmer | helmer at sdnet.bitnet
Dakota State University | dsuvax!ghelmer at wunoc.wustl.edu
(605) 256-5264, (605) 256-2788 | uunet!dsuvax!ghelmer
Ahh, if weddings were as easy to design as software...
More information about the Comp.lang.c
mailing list