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

Re: [Xen-devel] [PATCH] tools/xenstore: Add -Wno-bool-operation



On 05/04/17 14:43, Andrew Cooper wrote:
> On 05/04/17 14:27, Ian Jackson wrote:
>> Andrew Cooper writes ("Re: [Xen-devel] [PATCH] tools/xenstore: Add 
>> -Wno-bool-operation"):
>>> I'm fairly sure this will break the Clang build.
>> This seems unlikely.
> Have you tried?

In an attempt to not be completely unhelpful in this situation,

xenstore_client.o xenstore_client.c
error: unknown warning option '-Wno-bool-operation'; did you mean
'-Wno-bool-conversion'? [-Werror,-Wunknown-warning-option]
/local/xen.git/tools/xenstore/../../tools/Rules.mk:212: recipe for
target 'xenstore_client.o' failed

>
>> I assume that clang has the same behaviour as gcc, for -Wno-unknown-warning.
> Have you tried?
>
> And independently of that,
>
> andrewcoop@andrewcoop:/local/xen.git/xen$ git grep unknown-warning -- :/
> andrewcoop@andrewcoop:/local/xen.git/xen$

 xenstore_client.o xenstore_client.c
error: unknown warning option '-Wno-unknown-warning'; did you mean
'-Wno-unknown-argument'? [-Werror,-Wunknown-warning-option]
/local/xen.git/tools/xenstore/../../tools/Rules.mk:212: recipe for
target 'xenstore_client.o' failed


This definitely breaks the clang build, and a GCC workaround don't help.

~Andrew

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