summaryrefslogtreecommitdiffstats
path: root/tests/auto/compilerwarnings
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:43:09 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-01 08:46:53 (GMT)
commitf0183775d1575a4537bed8c10e9c757ffa66fe03 (patch)
tree3f5a348f318dfc30862148dd60be8b0d8a946857 /tests/auto/compilerwarnings
parent9a5442b732592f2ed474e705b7ea29776d96a83b (diff)
downloadQt-f0183775d1575a4537bed8c10e9c757ffa66fe03.zip
Qt-f0183775d1575a4537bed8c10e9c757ffa66fe03.tar.gz
Qt-f0183775d1575a4537bed8c10e9c757ffa66fe03.tar.bz2
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 907aade..0be5cb0 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)