Skip to content

Commit de7e863

Browse files
ThePhDhorenmar
authored andcommitted
🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific
1 parent 024aec9 commit de7e863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/catch2/internal/catch_compiler_capabilities.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208

209209
////////////////////////////////////////////////////////////////////////////////
210210
// Visual C++
211-
#if defined(_MSC_VER)
211+
#if defined(_MSC_VER) && !defined(__clang__)
212212

213213
// We want to defer to nvcc-specific warning suppression if we are compiled
214214
// with nvcc masquerading for MSVC.

0 commit comments

Comments
 (0)