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>
This commit is contained in:
parent
e7874563e4
commit
e531b46bed
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user