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

2017-02-14 Thread Roger Pau Monne
On Tue, Feb 14, 2017 at 07:00:18AM -0700, Jan Beulich wrote: > >>> On 14.02.17 at 13:30, 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

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

2017-02-14 Thread Jan Beulich
>>> On 14.02.17 at 13:30, 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-