Exclude one more MSVC version in tst_qcheckedint and tst_qnumeric
I am using version 1943 and some section in the test that have been marked as not working up until version 1942 are not working with 1943 either. I adjusted the respective sections to also exclude 1943. Change-Id: I9f0ed1c1dba919d98772d45216f16857983978cd Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
eabbc15a5b
commit
4e3a167579
@ -347,7 +347,7 @@ void tst_QCheckedInt::division()
|
||||
|
||||
// This causes an internal compiler error on MSVC, so skipping it there
|
||||
// Integrity's compiler says this code isn't constexpr.
|
||||
#if (!defined(Q_CC_MSVC) || Q_CC_MSVC > 1942) && !defined(Q_CC_GHS)
|
||||
#if (!defined(Q_CC_MSVC) || Q_CC_MSVC > 1943) && !defined(Q_CC_GHS)
|
||||
|
||||
template <typename T>
|
||||
constexpr bool checkedIntTypeProperties()
|
||||
|
@ -1017,7 +1017,7 @@ SUB_OVERFLOW_UNSIGNED_TYPE_TEST(ulong, ULONG_MAX)
|
||||
|
||||
#if defined(QT_HAS_128_BIT_MULTIPLICATION)
|
||||
// Compiling this causes an ICE in MSVC, so skipping it
|
||||
#if !defined(Q_CC_MSVC) || Q_CC_MSVC > 1942
|
||||
#if !defined(Q_CC_MSVC) || Q_CC_MSVC > 1943
|
||||
SIGNED_TYPE_TEST(qlonglong, LLONG_MIN, LLONG_MAX)
|
||||
UNSIGNED_TYPE_TEST(qulonglong, ULLONG_MAX)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user