"Joel E. Denny" <[EMAIL PROTECTED]> writes:

> /opt/SUNWspro/bin/lint -V says:
>
>    lint: Sun C 5.5 2003/03/12

That's a bit old, but not ancient.  We should support it, if it's easy.

Does this work for you?

#define YYUSE(v) ((v) = (v))


>> How would you tell your 'lint' version to not output that warning?
>> I'd like something that works at the source code level.
>
> No clue, and the man page didn't help.  Maybe my lint is too old.

I doubt it.  See <http://docs.sun.com/source/819-0494/lint.html>.
Maybe "lint -erroff=E_FALSE_LOGICAL_EXPR" would do the trick?


Reply via email to