summaryrefslogtreecommitdiff
path: root/tests/auto/compilerwarnings
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-01 10:43:09 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-01 10:46:53 +0200
commitf0183775d1575a4537bed8c10e9c757ffa66fe03 (patch)
tree3f5a348f318dfc30862148dd60be8b0d8a946857 /tests/auto/compilerwarnings
parent9a5442b732592f2ed474e705b7ea29776d96a83b (diff)
downloadqt4-tools-f0183775d1575a4537bed8c10e9c757ffa66fe03.tar.gz
Fix the compilerwarning test on GCC
Don't issue this warning: comparing floating point with == or != is unsafe There is many of them and the Qt code is correct (it has to be fast comparison to know if fast code path must be taken) Reviewed-by: Jeremy
Diffstat (limited to 'tests/auto/compilerwarnings')
-rw-r--r--tests/auto/compilerwarnings/tst_compilerwarnings.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/compilerwarnings/tst_compilerwarnings.cpp b/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
index 907aade3f4..0be5cb0e2e 100644
--- a/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
+++ b/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
@@ -179,7 +179,6 @@ void tst_CompilerWarnings::warnings()
<< "-Wno-long-long" << "-Wshadow" << "-Wpacked" << "-Wunreachable-code"
<< "-Wundef" << "-Wchar-subscripts" << "-Wformat-nonliteral" << "-Wformat-security"
<< "-Wcast-align"
- << "-Wfloat-equal"
<< "-o" << tmpFile
<< tmpSourceFile;
#elif defined(Q_CC_XLC)