lint vs varargs

Karl Heuer karl at haddock.ima.isc.com
Sat Oct 28 04:08:24 AEST 1989


In article <1989Oct26.171829.7520 at tcsc3b2.tcsc.com> pag at tcsc3b2.tcsc.com (Philip A. Gross) writes:
>You may want to try placing the following comment before your function
>which uses varargs.
>/* VARARGS */
>Most versions of lint will recognize this comment and then properly
>ignore the undeclared parameters.  For example,

Uh, yes, but this has nothing to do with the problem he was having.  You've
"solved" his problem by writing the routine to not use either of the standard
varargs-access mechanisms, resulting in a program that passes lint, but
doesn't work.

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list