Makefile: Added flag -Wno-long-long compiler flag to suppress warnings about long long

This commit is contained in:
Daniel Marjamäki 2010-03-31 21:47:51 +02:00
parent a68d8dbc77
commit 9e393fd92e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -148,7 +148,7 @@ int main(int argc, char **argv)
// TODO: add more compiler warnings.
// -Wsign-conversion : generates too many compiler warnings currently
// -Wlogical-op : doesn't work on older GCC
fout << "CXXFLAGS=-Wall -Wextra -pedantic -Wfloat-equal -Wcast-qual ";
fout << "CXXFLAGS=-Wall -Wextra -pedantic -Wno-long-long -Wfloat-equal -Wcast-qual ";
fout << (release ? "-O2 -DNDEBUG" : "-g -D_GLIBCXX_DEBUG") << "\n";
fout << "CXX=g++\n";
fout << "BIN=${DESTDIR}/usr/bin\n\n";