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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2012-08-16 18:47:41 +0100
committerPhil Nash2012-08-16 18:47:41 +0100
commitcda21492a8322e61445025d8c34c46a024e563d6 (patch)
tree5a3f1c4f1e64052471a509b4d53e8eceb204c994 /projects/SelfTest/TestMain.cpp
parentc1dbc9c22bda91b586919333fd0b946450ad3067 (diff)
downloadcatch3-cda21492a8322e61445025d8c34c46a024e563d6.tar.gz
Conditionally compile clang pragmas
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
-rw-r--r--projects/SelfTest/TestMain.cpp2
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"