bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: %destructor feedback


From: Paul Eggert
Subject: Re: %destructor feedback
Date: Mon, 05 Dec 2005 23:24:48 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Joel E. Denny" <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]