Hi Thiago, the internal error is a compiler bug. We don't exactly know whats necessary to trigger it. It happens more likely if there is more than one instance of the compiler running at the same time, or if a visual studio environment is opened. However some code pathes might be triggering this too.
The preprocessor output can be found here: http://www.kdab.com/~bjoern/tst_qatomicint.7z Best regards Björn Breitmeyer -- Björn Breitmeyer | [email protected] | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Germany: +49-30-521325470, Sweden (HQ): +46-563-540090 KDAB - Qt Experts - Platform-independent software solutions Am Dienstag, 11. Februar 2014, 12:59:45 schrieb Thiago Macieira: > Current tests are frequently showing the following error messages: > > c: > \work\build\qt\qtbase\tests\auto\corelib\global\qtendian\tst_qtendian.cpp(14 > 0) > : fatal error C1001: An internal error has occurred in the compiler. > > Anyone who can try to test what we could shuffle around to get rid of the > error? > > The other error is: > > ..\tst_qatomicinteger.cpp(168) : error C2027: use of undefined type > 'QStaticAssertFailure<Test>' > > Line 168 is a function declaration in the middle of the class: > void fetchAndSub(); > > The nearest Q_STATIC_ASSERT is 20 lines down, in a function which is not the > one declared above: > Q_STATIC_ASSERT(sizeof(QAtomicInteger<T>) == sizeof(T)); > Q_STATIC_ASSERT(Q_ALIGNOF(QAtomicInteger<T>) == > Q_ALIGNOF(TypeInStruct<T>)); > > This appears to be the char16_t test, but since VS 2008 does not support > Unicode strings, the test should compile with T == int and simply cause a > QSKIP in initTestCase. > > Given: > - the above ICE > - the fact that there's problem for compiling short, ushort, wchar_t or > char32_t > - 16-bit atomics are not supported on WinCE due to lack of intrinsics > > I'm guessing it's *also* a compiler bug. But can someone verify my > assumptions? That it's the char16_t test, that the preprocessor output was > correct and using QAtomicInteger<int>, that there's a QSKIP in initTestCase?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
