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

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



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.  I assume that clang has the same behaviour as
gcc, for -Wno-unknown-warning.

> Furthermore, the proper fix here is to make less "clever" code.  IMO,
> this compiler warning is entirely legitimate, because relying on the
> saturation behaviour of incrementing a boolean is worthy only for
> obfuscated code.

I don't care to argue about this.  Feel free to submit an alternative
patch.

Ian.

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