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

Re: [Xen-devel] [PATCH v4 3/4] build: enable unused value checks for clang



On Tue, Feb 14, 2017 at 07:00:18AM -0700, Jan Beulich wrote:
> >>> On 14.02.17 at 13:30, <roger.pau@xxxxxxxxxx> wrote:
> > --- a/Config.mk
> > +++ b/Config.mk
> > @@ -213,8 +213,7 @@ CFLAGS += -std=gnu99
> >  CFLAGS += -Wall -Wstrict-prototypes
> >  
> >  # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...'
> > -# and is a bit too fierce about unused return values
> > -CFLAGS-$(clang) += -Wno-parentheses -Wno-unused-value
> > +CFLAGS-$(clang) += -Wno-parentheses
> 
> Same question here - does removing the warning suppression work
> with all clang versions, or just new enough ones?

Works with 3.5 and 3.8 at least. As I said in the other reply, given the
previous state of Xen with clang I barely doubt anyone was actually compiling
Xen with clang until I setup the FreeBSD ports and Doug the Travis stuff.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.