summaryrefslogtreecommitdiffstats
path: root/cmake/QtInternalTargets.cmake
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2022-10-18 09:26:32 +0800
committerYuhang Zhao <2546789017@qq.com>2022-10-18 19:31:25 +0800
commitade68c99497f6b9c94273421f84fb8dc951554fa (patch)
treed60e6c702f2ff81f29c668aafc7ddfc01f2e668f /cmake/QtInternalTargets.cmake
parentb1054d45e996065ea8d8738a2ec862b98e1aae2b (diff)
MSVC: Disable buggy conformance check
/Zc:lambda seems buggy. Although in my experiments it works well for 99% Qt repos, it seems some tests will trigger the bug and it also blocks some new commits. So disable it for now, it's not stable enough. Now that this check is disabled, the workaround for tst_qstringapisymmetry is also not needed anymore, so remove the workaround as well. Partially reverts commit 8cb832090a8a0e7226904561f97c6de954d752ed Change-Id: Icf0ecbbaa6262522470e5f5dea05705985ab18f1 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtInternalTargets.cmake')
-rw-r--r--cmake/QtInternalTargets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtInternalTargets.cmake b/cmake/QtInternalTargets.cmake
index 9dbf63000c..363d510fd1 100644
--- a/cmake/QtInternalTargets.cmake
+++ b/cmake/QtInternalTargets.cmake
@@ -248,7 +248,7 @@ if (MSVC)
if (MSVC_VERSION GREATER_EQUAL 1919 AND NOT CLANG) # MSVC 2019
target_compile_options(PlatformCommonInternal INTERFACE
-Zc:externConstexpr
- -Zc:lambda
+ #-Zc:lambda # Buggy. TODO: Enable again when stable enough.
-Zc:preprocessor
)
endif()