Re-introduce Werror that was temporarily removed in 94ed4d4d1a30. Remove Wno-error* and consolidate the CFLAGS warnings.
Signed-off-by: Andrea Bastoni <[email protected]> --- hypervisor/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index 524653aa..8e3f946d 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -26,12 +26,10 @@ LINUXINCLUDE := -I$(src)/arch/$(SRCARCH)/include \ -I$(src)/../include/arch/$(SRCARCH) \ -I$(src)/../include KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE -KBUILD_CFLAGS := -g -Os -Wall -Wextra \ +KBUILD_CFLAGS := -g -Os -Werror -Wall -Wextra \ -Wstrict-prototypes -Wtype-limits \ -Wmissing-declarations -Wmissing-prototypes \ - -Wnested-externs -Wno-error=nested-externs \ - -Wshadow -Wno-error=shadow \ - -Wredundant-decls -Wno-error=redundant-decls \ + -Wnested-externs -Wshadow -Wredundant-decls \ -Wundef -Wdeprecated \ -fno-strict-aliasing -fno-pic -fno-common \ -fno-stack-protector -fno-builtin-ffsl \ -- 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-34-andrea.bastoni%40tum.de.
