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:
committed by
Martin Hořeňovský
parent
024aec9729
commit
de7e863013
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user