diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-05-19 08:42:46 (GMT) |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-05-19 10:03:55 (GMT) |
commit | 30f7edc0aab629499b74263391ae529ad31b2ff8 (patch) | |
tree | cd2f8f7f3cac7d5c96d76fa412f54eae9f53653d /doc/src/snippets/sqldatabase/sqldatabase.cpp | |
parent | ba5fb9f05c891feac8ab69006189de1aaafebc18 (diff) | |
download | Qt-30f7edc0aab629499b74263391ae529ad31b2ff8.zip Qt-30f7edc0aab629499b74263391ae529ad31b2ff8.tar.gz Qt-30f7edc0aab629499b74263391ae529ad31b2ff8.tar.bz2 |
Ignore GCC warning of unsafe floating point comparisons.
Due to optimizations, there are few cases where comparing with a constant
is needed, e.g. in operator*=. G++ will give us a warning for this.
Since we know what we are doing, surpress the warning.
The only drawback for this workaround is if somebody includes
qtransform.h in his code and disable the float-equal warning since
the warning will be activated again.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions