diff options
| author | Phil Nash | 2015-07-03 18:27:36 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-07-03 18:27:36 +0100 |
| commit | d6f1446e4e5dc36af5e760d41f5edd7f361abda2 (patch) | |
| tree | 2f38a9f04608e931e69795dcf8ec61a60680a52b /projects/SelfTest/CmdLineTests.cpp | |
| parent | 62e517f83325ece83f65b14a01283b5e5c001160 (diff) | |
| download | catch3-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.cpp | 3 |
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 ); } |