Disabled the -Wconversion. There are too many compiler warnings currently when using it.

This commit is contained in:
Daniel Marjamäki 2010-08-15 08:58:27 +02:00
parent e1d6320a55
commit f476cc12f8
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
CXXFLAGS=-Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -Wsign-conversion -Wconversion -g
CXXFLAGS=-Wall -Wextra -Wshadow -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual -Wsign-conversion -g
CXX=g++
BIN=${DESTDIR}/usr/bin

View File

@ -152,7 +152,7 @@ int main(int argc, char **argv)
else
{
// TODO: add more compiler warnings.
// -Wsign-conversion : generates too many compiler warnings currently
// -Wconversion : generates too many compiler warnings currently
// -Wlogical-op : doesn't work on older GCC
// The _GLIBCXX_DEBUG doesn't work in cygwin
@ -165,7 +165,7 @@ int main(int argc, char **argv)
<< "-Wfloat-equal "
<< "-Wcast-qual "
<< "-Wsign-conversion "
<< "-Wconversion "
// << "-Wconversion "
<< "-g\n";
}
fout << "CXX=g++\n";