2
0
mirror of https://github.com/catchorg/Catch2 synced 2026-02-26 17:22:11 +00:00

🐛 Clang on Windows will define _MSC_VER and trip up these checks -- make it actually Visual C++-specific

This commit is contained in:
ThePhD
2026-01-16 05:36:05 +01:00
committed by Martin Hořeňovský
parent 024aec9729
commit de7e863013

View File

@@ -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.