From de7e8630134f46e67a6b59269436f9cab94cd28e Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 16 Jan 2026 05:36:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Clang=20on=20Windows=20will=20de?= =?UTF-8?q?fine=20=5FMSC=5FVER=20and=20trip=20up=20these=20checks=20--=20m?= =?UTF-8?q?ake=20it=20actually=20Visual=20C++-specific?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/catch2/internal/catch_compiler_capabilities.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/internal/catch_compiler_capabilities.hpp b/src/catch2/internal/catch_compiler_capabilities.hpp index 80bb3af0..aa3af502 100644 --- a/src/catch2/internal/catch_compiler_capabilities.hpp +++ b/src/catch2/internal/catch_compiler_capabilities.hpp @@ -208,7 +208,7 @@ //////////////////////////////////////////////////////////////////////////////// // Visual C++ -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(__clang__) // We want to defer to nvcc-specific warning suppression if we are compiled // with nvcc masquerading for MSVC.