Commit 7cedcfded9 for openssl.org
commit 7cedcfded912afeb7aa3020ac934e79d9025bb81
Author: Richard Levitte <levitte@openssl.foundation>
Date: Thu Nov 5 10:16:04 2026 +0100
.github/workflows/windows.yml: buildtest-c++ with cl
VC-* targets never set CXX, so the buildtest_cc_* programs are not
even generated on Windows: nothing in CI compiles the public headers
as C++ with MSVC. Constructs that are invalid in MSVC C++ (compound
literals are the motivating example) would only be caught by
downstream consumers.
Assisted-by: Pi:moonshotai/kimi-k3
Signed-off-by: Richard Levitte <levitte@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Tue Nov 10 15:32:23 2026
Merged-from: https://github.com/openssl/openssl/pull/33553
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 407dedfc24..8f76fe9961 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -183,7 +183,7 @@ jobs:
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
- perl ..\Configure --banner=Configured --strict-warnings enable-demos no-makedepend no-shared no-fips enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-trace enable-crypto-mdebug -DOSSL_WINCTX=openssl VC-WIN64A-masm
+ perl ..\Configure --banner=Configured --strict-warnings enable-demos no-makedepend no-shared no-fips enable-md2 enable-rc5 enable-weak-ssl-ciphers enable-trace enable-crypto-mdebug -DOSSL_WINCTX=openssl enable-buildtest-c++ CXX=cl VC-WIN64A-masm
perl configdata.pm --dump
- name: build
working-directory: _build