diff --git a/include/internal/catch_compiler_capabilities.h b/include/internal/catch_compiler_capabilities.h index 7d0d7a3d..e2486a3d 100644 --- a/include/internal/catch_compiler_capabilities.h +++ b/include/internal/catch_compiler_capabilities.h @@ -52,7 +52,7 @@ #elif __GNUC__ >= 3 -#define CATCH_SFINAE +// #define CATCH_SFINAE // Taking this out completely for now #endif // __GNUC__ < 3 diff --git a/include/internal/catch_tostring.hpp b/include/internal/catch_tostring.hpp index 739dd851..e751816e 100644 --- a/include/internal/catch_tostring.hpp +++ b/include/internal/catch_tostring.hpp @@ -22,6 +22,9 @@ namespace Catch { namespace Detail { +// SFINAE is currently disabled by default for all compilers. +// If the non SFINAE version of IsStreamInsertable is ambiguous for you +// and your compiler supports SFINAE, try #defining CATCH_SFINAE #ifdef CATCH_SFINAE template @@ -81,7 +84,6 @@ template struct StringMaker : Detail::StringMakerBase::value> {}; - template struct StringMaker { static std::string convert( T const* p ) {