diff options
| author | ThePhD | 2026-01-16 05:36:05 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-01-19 15:14:53 +0100 |
| commit | de7e8630134f46e67a6b59269436f9cab94cd28e (patch) | |
| tree | 31ef9855ff0a8506472ce5aecc32848dcc701a3c /src | |
| parent | 024aec9729e0146c809da0c005e7733834f652a0 (diff) | |
| download | catch3-de7e8630134f46e67a6b59269436f9cab94cd28e.tar.gz | |
🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/internal/catch_compiler_capabilities.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |