[Top][All Lists]

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

Re: Unsuppressable warnings

From: Paul Hilfinger
Subject: Re: Unsuppressable warnings
Date: Thu, 02 Jun 2011 16:19:57 -0700

> 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.

This does fix the problem; thanks.

> > , 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.

On reflection, I am reluctant to suggest adding features to accommodate
somewhat obscure uses of the software.  Until others start to get
irritated with the warnings from use of destructors, I think that -Wnone
and -Wno-other will suffice for my purposes.

Paul Hilfinger

reply via email to

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