From ae6eb111bd6f56c1e4dc84bc5ab136bae7915062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 Mar 2024 09:58:17 +0100 Subject: [PATCH] package/ci: try also /Zc:preprocessor in the conformant MSVC build. --- package/ci/appveyor.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/ci/appveyor.yml b/package/ci/appveyor.yml index 9a0eda088..ec4a0cbc2 100644 --- a/package/ci/appveyor.yml +++ b/package/ci/appveyor.yml @@ -80,8 +80,11 @@ environment: ENABLE_VULKAN: ON - TARGET: desktop COMPILER: msvc - # Not playing with fire and using /EHsc on 2022 as well - COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc" -DMSVC_COMPATIBILITY=OFF + # Not playing with fire and using /EHsc on 2022 as well. Testing with the + # conformant preprocessor also, but just on one of the two permissive + # builds to avoid a false impression that the differences are depending on + # /permissive- alone. + COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc /Zc:preprocessor" -DMSVC_COMPATIBILITY=OFF PLATFORM: x64 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 APPVEYOR_JOB_NAME: windows-conforming-msvc2022