From 7b0b760d78e03dadc4aea8800bffad8e0eabc3a6 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 7 Dec 2020 23:04:37 +0100 Subject: [PATCH] src/Makefile: add -Wsign-compare to warning flags to better match MSVC. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 66ce6286..250c755a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -67,7 +67,7 @@ CXXFLAGS += -fno-delete-null-pointer-checks endif CXXFLAGS += -fno-strict-aliasing -fwrapv CXXFLAGS += -funsigned-char -CXXFLAGS += -Wall -W -Wcast-align -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wshadow -Wvla -Wwrite-strings +CXXFLAGS += -Wall -W -Wcast-align -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wshadow -Wsign-compare -Wvla -Wwrite-strings CXXFLAGS_WERROR ?= -Werror CXXFLAGS += $(CXXFLAGS_WERROR)