⚗️ update warning flags
This commit is contained in:
parent
aa536f3379
commit
c9505dba50
@ -38,6 +38,9 @@ using nlohmann::json;
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
DOCTEST_GCC_SUPPRESS_WARNING_PUSH
|
||||||
|
DOCTEST_GCC_SUPPRESS_WARNING("-Wnoexcept")
|
||||||
|
|
||||||
namespace udt
|
namespace udt
|
||||||
{
|
{
|
||||||
enum class country
|
enum class country
|
||||||
@ -845,3 +848,5 @@ TEST_CASE("Issue #1237")
|
|||||||
struct non_convertible_type {};
|
struct non_convertible_type {};
|
||||||
static_assert(!std::is_convertible<json, non_convertible_type>::value, "");
|
static_assert(!std::is_convertible<json, non_convertible_type>::value, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOCTEST_GCC_SUPPRESS_WARNING_POP
|
||||||
|
|||||||
@ -41,6 +41,10 @@ using nlohmann::json;
|
|||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <test_data.hpp>
|
#include <test_data.hpp>
|
||||||
|
|
||||||
|
// this test suite uses static variables with non-trivial destructors
|
||||||
|
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH
|
||||||
|
DOCTEST_CLANG_SUPPRESS_WARNING("-Wexit-time-destructors")
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
extern size_t calls;
|
extern size_t calls;
|
||||||
@ -623,3 +627,5 @@ TEST_CASE("Unicode (2/5)" * doctest::skip())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOCTEST_CLANG_SUPPRESS_WARNING_POP
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user