Suppressed a load of warnings

This commit is contained in:
Phil Nash
2014-05-19 18:57:14 +01:00
parent ebd4888fe1
commit 3bdc97d8ad
26 changed files with 103 additions and 37 deletions

View File

@@ -8,6 +8,10 @@
#include "catch.hpp"
#ifdef __clang__
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
#endif
TEST_CASE( "INFO and WARN do not abort tests", "[messages][.]" )
{
INFO( "this is a " << "message" ); // This should output the message if a failure occurs

View File

@@ -10,6 +10,10 @@
#include <iostream>
#ifdef __clang__
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
#endif
TEST_CASE( "random SECTION tests", "[.][sections][failing]" )
{
int a = 1;

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_common.h"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_console_colour.hpp"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_interfaces_capture.h"

View File

@@ -1 +1,2 @@
#include "catch_suppress_warnings.h"
#include "catch_interfaces_config.h"

View File

@@ -1 +1,2 @@
#include "catch_suppress_warnings.h"
#include "catch_interfaces_reporter.h"

View File

@@ -1 +1,2 @@
#include "catch_suppress_warnings.h"
#include "catch_interfaces_testcase.h"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_message.h"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_option.hpp"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_ptr.hpp"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_streambuf.h"

View File

@@ -1,2 +1,3 @@
// This file is only here to verify (to the extent possible) the self sufficiency of the header
#include "catch_suppress_warnings.h"
#include "catch_test_spec.hpp"

View File

@@ -12,6 +12,11 @@
#include "catch.hpp"
#ifdef __clang__
#pragma clang diagnostic ignored "-Wc++98-compat"
#pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
#endif
namespace Catch
{
template<>