qt5base-lts/tests/auto/corelib/thread/qatomicinteger
Friedemann Kleint b22ef59663 Remove use of templates in tst_qatomicinteger.
MSVC 2008 is confused by TypeInStruct being a template, resulting in

\tst_qatomicinteger.cpp(189) : error C2027: use of undefined type 'QStaticAssertFailure<Test>'
        with
        [
            Test=false
        ]

for int (and thus for all unsupported types). This appears to be a real
Heisenbug-nature compiler bug as it can also be fixed by adding
qDebug() << Q_ALIGNOF(TypeInStruct<T>)
before the static assert.

Task-number: QTBUG-37195

Change-Id: Ib2b60f3c1ffeb0b8bdeb1fb0c659655ce4ab10d8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-03-04 15:59:05 +01:00
..
char Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
char16_t Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
char32_t Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
int Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
long Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
qlonglong Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
qptrdiff Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
quintptr Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
qulonglong Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
schar Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
short Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
uchar Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
uint Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
ulong Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
ushort Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
wchar_t Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
qatomicinteger.pri Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
qatomicinteger.pro Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00
tst_qatomicinteger.cpp Remove use of templates in tst_qatomicinteger. 2014-03-04 15:59:05 +01:00