bug-bison
[Top][All Lists]
Advanced

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

Re: %destructor feedback


From: Akim Demaille
Subject: Re: %destructor feedback
Date: Wed, 07 Dec 2005 09:12:30 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 > Personally, I don't ever use lint (although it's looking kind of 
 > interesting).  But if bison has to deal with this because people want it, 
 > then I believe the loss of functionality incurred by previous YYUSE 
 > definitions is worse than a small performance penalty.  Perhaps there 
 > should be a flag to #define YYUSE(e) as nothing when the user wants to 
 > swap warnings for small performance improvements.

I'd rather say that we should special case YYUSE.  For instance when
the compiler is GCC, or when lint is used etc.  From this thread it
seems there is no single answer, let's forge a multiple one.









reply via email to

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