We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce6f0c commit eb3dbf3Copy full SHA for eb3dbf3
unit/testing-utils/catch.hpp
@@ -44,6 +44,14 @@
44
45
# pragma GCC diagnostic push
46
# pragma GCC diagnostic ignored "-Wpadded"
47
+#elif defined _MSC_VER
48
+#include <util/pragma_push.def>
49
+#pragma warning(disable:4061)
50
+ // enumerator not explicitly handled by case label
51
+#pragma warning(disable:4388)
52
+ // signed/unsigned mismatch
53
+#pragma warning(disable:4668)
54
+ // using #if/#elif on undefined macro
55
#endif
56
#if defined(CATCH_CONFIG_MAIN) || defined(CATCH_CONFIG_RUNNER)
57
# define CATCH_IMPL
@@ -11203,6 +11211,8 @@ namespace Catch {
11203
11211
11204
11212
#ifdef __clang__
11205
11213
#pragma clang diagnostic pop
11214
11215
+#include <util/pragma_pop.def>
11206
11216
11207
11217
11208
11218
0 commit comments