From 6a115d038af259dd5b42f1651193eb0b8a83a5c8 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Sun, 21 Sep 2014 13:50:13 -0400 Subject: [PATCH 73/74] Use -Werror=sign-compare . I'm going to have to fix any errors that have this anyway, so may as well do it here properly. Signed-off-by: Peter Jones --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5bc513c..694480b 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ EFI_LDS = elf_$(ARCH)_efi.lds DEFAULT_LOADER := \\\\grub.efi CFLAGS = -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic \ -fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin \ + -Werror=sign-compare \ "-DDEFAULT_LOADER=L\"$(DEFAULT_LOADER)\"" \ "-DDEFAULT_LOADER_CHAR=\"$(DEFAULT_LOADER)\"" \ $(EFI_INCLUDES) -- 1.9.3