[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sparse
Subject:    Re: [PATCH v2 07/13] evaluate: check static storage duration objects' intializers' constness
From:       Luc Van Oostenryck <luc.vanoostenryck () gmail ! com>
Date:       2016-01-26 20:18:31
Message-ID: 20160126201830.GA2099 () macpro ! local
[Download RAW message or body]

On Tue, Jan 26, 2016 at 06:56:39PM +0100, Luc Van Oostenryck wrote:
> On Tue, Jan 26, 2016 at 05:08:16PM +0100, Nicolai Stange wrote:
> 
> > The -Wstatic-initializer-not-const choice made in the current series is
> > simply a workaround, any better suggestions welcome!
> > 
> > I'm also fine with -Wstatic-initializer.
> > 
> > Comments?
> 
> I dunno.
> Better to leave it so for now, I think.

I see that clang has -Wconstexpr-not-const, which is not too long
and still quite explicit and can be used for others things than
initializers.


Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic