Wextra covers multiple warnings. Temporarily remove Werror instead of disabling each of them. Werror will be reactivated together with the removal of the others "-Wno-error" switches.
Signed-off-by: Andrea Bastoni <[email protected]> --- hypervisor/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index eeeca2eb..524653aa 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -26,7 +26,8 @@ LINUXINCLUDE := -I$(src)/arch/$(SRCARCH)/include \ -I$(src)/../include/arch/$(SRCARCH) \ -I$(src)/../include KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE -KBUILD_CFLAGS := -g -Os -Werror -Wall -Wstrict-prototypes -Wtype-limits \ +KBUILD_CFLAGS := -g -Os -Wall -Wextra \ + -Wstrict-prototypes -Wtype-limits \ -Wmissing-declarations -Wmissing-prototypes \ -Wnested-externs -Wno-error=nested-externs \ -Wshadow -Wno-error=shadow \ -- 2.28.0 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20201022175826.199614-11-andrea.bastoni%40tum.de.
