From 4b2bc8757c6d5a95e163b8a54a122d4c95b84310 Mon Sep 17 00:00:00 2001 From: Michael Vlach Date: Sat, 10 Oct 2020 10:19:34 +0200 Subject: [PATCH] Update catch_compiler_capabilities.hpp --- 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 61679a57..a2b784f1 100644 --- a/src/catch2/internal/catch_compiler_capabilities.hpp +++ b/src/catch2/internal/catch_compiler_capabilities.hpp @@ -57,7 +57,7 @@ #endif -#if defined(__clang__) +#if defined(__clang__) && !defined(_MSC_VER) # define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION _Pragma( "clang diagnostic push" ) # define CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION _Pragma( "clang diagnostic pop" )