GCC: Disabled the -Wsign-conversion. It is quite noisy.

This commit is contained in:
Daniel Marjamäki 2011-02-17 22:28:36 +01:00
parent dfba4b7332
commit f5ebd779f8
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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");
}