Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Exclude VS2005 from using variadic macros

- due to issues raised in https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/VGfNtNXjHXQ
Commit
1c03b4a3634c67c0c7297f0ae433e90bb272ae82
Author
Phil Nash ·
Parents
1ece38ed2062

Files · Download .tar.gz

Changes

 include/catch.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/catch.hpp b/include/catch.hpp
index 9240467a..9e8c2a71 100644
--- a/include/catch.hpp
+++ b/include/catch.hpp
@@ -18,7 +18,7 @@
 #endif
 
 // Use variadic macros if the compiler supports them
-#if ( defined _MSC_VER && _MSC_VER >= 1400 && !defined __EDGE__) || \
+#if ( defined _MSC_VER && _MSC_VER > 1400 && !defined __EDGE__) || \
     ( defined __WAVE__ && __WAVE_HAS_VARIADICS ) || \
     ( defined __GNUC__ && __GNUC__ >= 3 ) || \
     ( !defined __cplusplus && __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L )