From 1c03b4a3634c67c0c7297f0ae433e90bb272ae82 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 9 Apr 2013 08:19:04 +0100 Subject: [PATCH] Exclude VS2005 from using variadic macros - due to issues raised in https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/VGfNtNXjHXQ --- 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 )