From f5ebd779f8f1abcd3ac52e3b119cae9ba703f280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 17 Feb 2011 22:28:36 +0100 Subject: [PATCH] GCC: Disabled the -Wsign-conversion. It is quite noisy. --- Makefile | 4 ++++ tools/dmake.cpp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a1e087771..4206104f6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ # This file is generated by tools/dmake, do not edit. ifndef CXXFLAGS +<<<<<<< HEAD CXXFLAGS=-DHAVE_RULES -Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -Wsign-conversion -g +======= + CXXFLAGS=-DHAVE_DEPENDENCIES -Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -g +>>>>>>> qwe endif ifndef CXX diff --git a/tools/dmake.cpp b/tools/dmake.cpp index b8b739ff1..3332f14c5 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -232,6 +232,7 @@ int main(int argc, char **argv) // TODO: add more compiler warnings. // -Wlogical-op : doesn't work on older GCC // -Wconversion : too many warnings + // -Wsign-conversion : too many warnings // The _GLIBCXX_DEBUG doesn't work in cygwin makeConditionalVariable(fout, "CXXFLAGS", @@ -243,7 +244,7 @@ int main(int argc, char **argv) "-Wno-long-long " "-Wfloat-equal " "-Wcast-qual " - "-Wsign-conversion " +// "-Wsign-conversion " // "-Wconversion " "-g"); }