diff options
| author | Phil Nash | 2012-08-16 18:47:41 +0100 |
|---|---|---|
| committer | Phil Nash | 2012-08-16 18:47:41 +0100 |
| commit | cda21492a8322e61445025d8c34c46a024e563d6 (patch) | |
| tree | 5a3f1c4f1e64052471a509b4d53e8eceb204c994 /projects/SelfTest/TestMain.cpp | |
| parent | c1dbc9c22bda91b586919333fd0b946450ad3067 (diff) | |
| download | catch3-cda21492a8322e61445025d8c34c46a024e563d6.tar.gz | |
Conditionally compile clang pragmas
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
| -rw-r--r-- | projects/SelfTest/TestMain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp index 4dd59c8f..e97afec0 100644 --- a/projects/SelfTest/TestMain.cpp +++ b/projects/SelfTest/TestMain.cpp @@ -56,7 +56,9 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" ) { CHECK( totals.assertions.failed == 1 ); } +#ifdef __clang__ #pragma clang diagnostic ignored "-Wweak-vtables" +#endif #include "../../include/internal/catch_commandline.hpp" #include "../../include/reporters/catch_reporter_basic.hpp" |