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-13 07:46:10 +0100
committerPhil Nash2012-08-13 07:46:10 +0100
commita695eb90064408d690f29e15a587b9db9323c43c (patch)
treef073b16ca03d7c445efd8e6abe8e4f26f0da83c6 /projects/SelfTest/TestMain.cpp
parentcdc64a138bd04ce39f0aee009532c9893be45080 (diff)
downloadcatch3-a695eb90064408d690f29e15a587b9db9323c43c.tar.gz
Builds almost completely cleanly with -WEverything in LLVM
Diffstat (limited to 'projects/SelfTest/TestMain.cpp')
-rw-r--r--projects/SelfTest/TestMain.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/SelfTest/TestMain.cpp b/projects/SelfTest/TestMain.cpp
index 15616ee3..324fc28c 100644
--- a/projects/SelfTest/TestMain.cpp
+++ b/projects/SelfTest/TestMain.cpp
@@ -5,6 +5,8 @@
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
+#pragma clang diagnostic ignored "-Wpadded"
+
#include "catch_self_test.hpp"
TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results" ) {
@@ -54,6 +56,8 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" ) {
CHECK( runner.getTotals().assertions.failed == 1 );
}
+#pragma clang diagnostic ignored "-Wweak-vtables"
+
#include "../../include/internal/catch_commandline.hpp"
#include "../../include/reporters/catch_reporter_basic.hpp"
#include "../../include/reporters/catch_reporter_xml.hpp"