Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/CmdLineTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2015-07-03 18:27:36 +0100
committerPhil Nash2015-07-03 18:27:36 +0100
commitd6f1446e4e5dc36af5e760d41f5edd7f361abda2 (patch)
tree2f38a9f04608e931e69795dcf8ec61a60680a52b /projects/SelfTest/CmdLineTests.cpp
parent62e517f83325ece83f65b14a01283b5e5c001160 (diff)
downloadcatch3-d6f1446e4e5dc36af5e760d41f5edd7f361abda2.tar.gz
Fixed an issue on some compilers with implicit conversion from nullptr to Ptr
- also cleaned up some warnings to do with CATCH_NULL
Diffstat (limited to 'projects/SelfTest/CmdLineTests.cpp')
-rw-r--r--projects/SelfTest/CmdLineTests.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/SelfTest/CmdLineTests.cpp b/projects/SelfTest/CmdLineTests.cpp
index 955bcd3d..719c89b8 100644
--- a/projects/SelfTest/CmdLineTests.cpp
+++ b/projects/SelfTest/CmdLineTests.cpp
@@ -9,6 +9,9 @@
#include "catch.hpp"
#include "catch_test_spec_parser.hpp"
+#ifdef __clang__
+# pragma clang diagnostic ignored "-Wc++98-compat"
+#endif
inline Catch::TestCase fakeTestCase( const char* name, const char* desc = "" ){ return Catch::makeTestCase( CATCH_NULL, "", name, desc, CATCH_INTERNAL_LINEINFO ); }