catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific
- Commit
de7e8630134f46e67a6b59269436f9cab94cd28e- Author
- ThePhD ·
- Committer
- Martin Hořeňovský
- Parents
024aec9729e0
Changes
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.