[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4/5] kconfig: disable non-literal format string warnings
Kconfig makes heavy use of non-literals as format strings, disable compiler warnings since this is expected usage. Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Cc: Doug Goldstein <cardoe@xxxxxxxxxx> --- xen/tools/kconfig/Makefile.kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xen/tools/kconfig/Makefile.kconfig b/xen/tools/kconfig/Makefile.kconfig index 138bf3f1b7..763de37a14 100644 --- a/xen/tools/kconfig/Makefile.kconfig +++ b/xen/tools/kconfig/Makefile.kconfig @@ -43,6 +43,11 @@ FORCE: # Sets toolchain binaries to use include $(XEN_ROOT)/config/$(shell uname -s).mk +# Disable format warnings, kconfig makes heavy use of non-literal format +# strings. +HOSTCFLAGS += -Wno-format +HOSTCXXFLAGS += -Wno-format + # include the original Makefile and Makefile.host from Linux include $(src)/Makefile include $(src)/Makefile.host -- 2.20.1 (Apple Git-117) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |