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@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to