From a7146916b1dd2cbb1a3d859d3ad12ed5abd314bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 18 Jan 2014 09:51:48 +0100 Subject: [PATCH] Makefile: added -Wno-sign-compare. I don't like this warning --- Makefile | 2 +- tools/dmake.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 94755da64..54ee6481f 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ else # !COMSPEC endif # COMSPEC ifndef CXXFLAGS - CXXFLAGS=-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wconversion -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wshadow -Wsign-promo $(CPPCHK_GLIBCXX_DEBUG) -g + CXXFLAGS=-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wconversion -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Woverloaded-virtual -Wpacked -Wredundant-decls -Wshadow -Wsign-promo -Wno-sign-compare $(CPPCHK_GLIBCXX_DEBUG) -g endif ifeq ($(HAVE_RULES),yes) diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 3e63cc9fa..9b7ba62ec 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -316,6 +316,7 @@ int main(int argc, char **argv) // "-Wsign-conversion " "-Wsign-promo " // "-Wunreachable-code " + "-Wno-sign-compare " // danmar: I don't like this warning, it's very rarelly a bug "$(CPPCHK_GLIBCXX_DEBUG) " "-g"); }