mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-24 20:51:49 +02:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
#ifndef TWOBLUECUBES_CATCH_HPP_INCLUDED
|
||||
#define TWOBLUECUBES_CATCH_HPP_INCLUDED
|
||||
|
||||
#pragma clang diagnostic ignored "-Wno-global-constructors"
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wpadded"
|
||||
|
||||
|
||||
#include "internal/catch_notimplemented_exception.h"
|
||||
#include "internal/catch_context.h"
|
||||
#include "internal/catch_test_registry.hpp"
|
||||
@@ -29,7 +35,6 @@
|
||||
#endif
|
||||
|
||||
#if defined( CATCH_CONFIG_MAIN ) || defined( CATCH_CONFIG_RUNNER )
|
||||
#include "catch_runner.hpp"
|
||||
#include "internal/catch_impl.hpp"
|
||||
#endif
|
||||
|
||||
@@ -127,4 +132,6 @@
|
||||
|
||||
using Catch::Detail::Approx;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_HPP_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user