bug-bison
[Top][All Lists]
Advanced

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

Re: Unsuppressable warnings


From: Joel E. Denny
Subject: Re: Unsuppressable warnings
Date: Thu, 2 Jun 2011 18:50:05 -0400 (EDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Thu, 2 Jun 2011, Paul Hilfinger wrote:

> The -Wnone option,
> contrary to the documentation, does NOT suppress all categories of
> warnings---in particular, not these.  Perhaps its reach should be
> extended

Please try bison 2.5, which has fixes for this bug.

> , or there should be a category of destructor whose action
> really is intended by the programmer to be needed ONLY in case of error
> (so that it does not cause warnings)?

Is simply disabling this warning for all destructors not sufficient?  
That is, do you want the warnings for some destructors in the same 
grammar?

If not, then perhaps we should just have a new warning category so you 
don't have to disable all categories of bison warnings in order to disable 
this category.



reply via email to

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