Overwork warning flags (#2936)

* ⚗️ update warning flags
This commit is contained in:
Niels Lohmann
2021-08-17 14:43:43 +02:00
committed by GitHub
parent f1e63a8322
commit 8cae9d7cd2
20 changed files with 123 additions and 38 deletions

View File

@@ -48,6 +48,10 @@ using nlohmann::json;
#define JSON_HAS_CPP_14
#endif
// NLOHMANN_JSON_SERIALIZE_ENUM uses a static std::pair
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH
DOCTEST_CLANG_SUPPRESS_WARNING("-Wexit-time-destructors")
TEST_CASE("value conversion")
{
SECTION("get an object (explicit)")
@@ -1712,3 +1716,5 @@ TEST_CASE("JSON to enum mapping")
#ifdef JSON_HAS_CPP_14
#undef JSON_HAS_CPP_14
#endif
DOCTEST_CLANG_SUPPRESS_WARNING_POP