lint won't verify printf formatting against variable types??

Bob Weissman bob at omni.com
Tue Jun 27 03:24:39 AEST 1989


Last week I spent an entire day tracking down one of those bugs you just
don't see after staring at your code too long.  It was of the form:

	if (condition);
	    action;

My lint (SunOS 4.0.1 version) did not flag the extra semicolon.

I Hate C.


-- 
Bob Weissman
Domainish: bob at omni.com
UUCPish:   ...!{amdahl,apple,pyramid,tekbspa,uunet}!koosh!bob



More information about the Comp.unix.questions mailing list