⚗️ update warning flags
This commit is contained in:
parent
c9505dba50
commit
23c79b0fc3
@ -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;
|
||||||
@ -337,3 +341,5 @@ TEST_CASE("Unicode (3/5)" * doctest::skip())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOCTEST_CLANG_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;
|
||||||
@ -337,3 +341,5 @@ TEST_CASE("Unicode (4/5)" * doctest::skip())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOCTEST_CLANG_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;
|
||||||
@ -337,3 +341,5 @@ TEST_CASE("Unicode (5/5)" * doctest::skip())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOCTEST_CLANG_SUPPRESS_WARNING_POP
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user