diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-03-17 11:15:23 +0100 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2020-03-17 15:35:34 +0100 |
commit | 7150b07041bf05d953e82aa8d1738c83e9ba80f6 (patch) | |
tree | a5cb8ce264fdcbca0752e6ba366679bb27b679fc /tests | |
parent | b345087ddee39679223147e1da8f1240fb3bc8b9 (diff) |
QLocale: Fix test on MinGW 8.1.0 32 bit
The call of _control87 would crash because of the previous test.
Change-Id: I254efe9c2e9892a473a02663e5ff7016791d5d6d
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/text/qlocale/tst_qlocale.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp index ec85a6c5c6..5eb6a6a9a4 100644 --- a/tests/auto/corelib/text/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/text/qlocale/tst_qlocale.cpp @@ -1395,6 +1395,7 @@ void tst_QLocale::fpExceptions() // check that double-to-string conversion doesn't throw floating point exceptions when they are // enabled #ifdef Q_OS_WIN + _clear87(); unsigned int oldbits = _control87(0, 0); _control87( 0 | _EM_INEXACT, _MCW_EM ); #endif |