Compilers and programming style (was Re: A question of style)
Tom Neff
tneff at bfmny0.UU.NET
Fri Jan 5 00:59:24 AEST 1990
If you have a specialized systems/hardware-type situation where merely
referring to a variable has useful side effects, then you can cast it
to (void) or some such, to make this obvious. Otherwise, it's probably
a coding error and lint should catch it.
The issue of how much of lint's work the c compiler ought to do is a
separate one.
--
Annex Canada now! We need the room, \) Tom Neff
and who's going to stop us. (\ tneff at bfmny0.UU.NET
More information about the Comp.lang.c
mailing list