Removed some more warnings

This commit is contained in:
Phil Nash 2015-05-19 18:23:52 +01:00
parent 2946c1988c
commit bfa3f863d6
2 changed files with 12 additions and 1 deletions

View file

@ -2,6 +2,11 @@
#ifdef CATCH_CPP11_OR_GREATER
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc++98-compat"
#endif
TEST_CASE( "tuple<>", "[toString][tuple]" )
{
typedef std::tuple<> type;
@ -44,5 +49,9 @@ TEST_CASE( "tuple<nullptr,int,const char *>", "[toString][tuple]" )
CHECK( "{ nullptr, 42, \"Catch me\" }" == Catch::toString(value) );
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif /* #ifdef CATCH_CPP11_OR_GREATER */