diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-03-03 12:12:26 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-04 11:29:30 +0100 |
commit | e531b46bed9377c66fcffc650c5b39e676f43e5d (patch) | |
tree | 97fc18d4a2ba61c35b6bfb9e9116e584684fe8dd /tests/auto/corelib/global/qtendian | |
parent | e7874563e402030433e9b96b11b14bb38cdad3a8 (diff) |
Turn off compiler optimization in tst_qtendian for MSVC2008.
This causes frequent compiler errors on Windows CE.
tests\auto\corelib\global\qtendian\tst_qtendian.cpp(140) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'd:\orcas\compiler\utc\src\P2\main.c[0xCCCCCCCC:0xCCCCCCCC]', line 243)
Task-number: QTBUG-37194
Change-Id: I2adbc1e3b1896fbe86780aa26a15e918333a09f2
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'tests/auto/corelib/global/qtendian')
-rw-r--r-- | tests/auto/corelib/global/qtendian/qtendian.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qtendian/qtendian.pro b/tests/auto/corelib/global/qtendian/qtendian.pro index 470a363c09..363b86988d 100644 --- a/tests/auto/corelib/global/qtendian/qtendian.pro +++ b/tests/auto/corelib/global/qtendian/qtendian.pro @@ -2,4 +2,8 @@ CONFIG += testcase parallel_test TARGET = tst_qtendian QT = core testlib SOURCES = tst_qtendian.cpp +wince* { # QTBUG-37194 , internal compiler errors with MSVC2008 for Windows CE + QMAKE_CFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE -= -O2 +} DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |