From e531b46bed9377c66fcffc650c5b39e676f43e5d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 3 Mar 2014 12:12:26 +0100 Subject: Turn off compiler optimization in tst_qtendian for MSVC2008. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jędrzej Nowacki --- tests/auto/corelib/global/qtendian/qtendian.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/corelib/global/qtendian') 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 -- cgit v1.2.3