From 72dde9873a59588739ea970fd10bdded999d4f67 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Mon, 24 Jun 2024 11:08:50 -0700 Subject: Add a compile test for headers that require C compatibility windows_clangcl_bazel.bat includes a change from --copt to --cxxopt to only pass /std:c++XX to C++ compiles PiperOrigin-RevId: 646157298 Change-Id: Ib6d9861a2b2d45eb0d664f23b6f3a7426f8e0ab3 --- ci/windows_clangcl_bazel.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci/windows_clangcl_bazel.bat') diff --git a/ci/windows_clangcl_bazel.bat b/ci/windows_clangcl_bazel.bat index ac2f9167..b031c30d 100755 --- a/ci/windows_clangcl_bazel.bat +++ b/ci/windows_clangcl_bazel.bat @@ -43,9 +43,9 @@ IF NOT "%ALTERNATE_OPTIONS%"=="" copy %ALTERNATE_OPTIONS% absl\base\options.h test ... ^ --compilation_mode=%COMPILATION_MODE% ^ --compiler=clang-cl ^ - --copt=/std:%STD% ^ --copt=/WX ^ --copt=-Wno-microsoft-cast ^ + --cxxopt=/std:%STD% ^ --define=absl=1 ^ --distdir=%KOKORO_GFILE_DIR%\distdir ^ --enable_bzlmod=true ^ -- cgit v1.2.3