[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] tools/xenstore: Add -Wno-bool-operation
This suppresses a warning from GCC7 xenstored_domain.c:949:32: error: increment of a boolean expression We have not yet 100% concluded that this should not be fixed by changing the `_Bool b; b++;' to `b = 1'. But this fixes the warning and thus the build for now, and we want to apply the XSA-206 patches to stable trees. In the stable trees, this should be applied _before_ the XSA-206 series. Reported-by: Michael Young <m.a.young@xxxxxxxxxxxx> CC: Wei Liu <wei.liu2@xxxxxxxxxx> CC: Jan Beulich <JBeulich@xxxxxxxx> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- tools/xenstore/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 773d646..3b0ff16 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -5,6 +5,7 @@ MAJOR = 3.0 MINOR = 3 CFLAGS += -Werror +CFLAGS += -Wno-bool-operation CFLAGS += -I. # Include configure output (config.h) CFLAGS += -include $(XEN_ROOT)/tools/config.h -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |