diff options
| author | Chris Thrasher | 2024-03-12 11:27:06 -0600 |
|---|---|---|
| committer | Martin Hořeňovský | 2024-03-12 22:56:37 +0100 |
| commit | 88f4ec3cc5620c45086e972bd372d3ba3df8c3d3 (patch) | |
| tree | fcc6ccf87bf88c5c8f66a25ee7ee951f08a78477 | |
| parent | 792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07 (diff) | |
| download | catch3-88f4ec3cc5620c45086e972bd372d3ba3df8c3d3.tar.gz | |
Ignore C++98 related compiler warnings
Catch2 has long since required a standard newer than C++98 so we
can safely ignore any warnings related to such old standards.
| -rw-r--r-- | tests/SelfTest/TestRegistrations.cpp | 1 | ||||
| -rw-r--r-- | tests/SelfTest/UsageTests/Misc.tests.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/SelfTest/TestRegistrations.cpp b/tests/SelfTest/TestRegistrations.cpp index 64767735..d7a6966f 100644 --- a/tests/SelfTest/TestRegistrations.cpp +++ b/tests/SelfTest/TestRegistrations.cpp @@ -20,7 +20,6 @@ CATCH_REGISTER_TAG_ALIAS("[@tricky]", "[tricky]~[.]") #ifdef __clang__ # pragma clang diagnostic ignored "-Wpadded" # pragma clang diagnostic ignored "-Wweak-vtables" -# pragma clang diagnostic ignored "-Wc++98-compat" #endif /** diff --git a/tests/SelfTest/UsageTests/Misc.tests.cpp b/tests/SelfTest/UsageTests/Misc.tests.cpp index f08c8ef1..3697f069 100644 --- a/tests/SelfTest/UsageTests/Misc.tests.cpp +++ b/tests/SelfTest/UsageTests/Misc.tests.cpp @@ -11,11 +11,6 @@ #include <catch2/internal/catch_config_wchar.hpp> #include <catch2/internal/catch_windows_h_proxy.hpp> -#ifdef __clang__ -# pragma clang diagnostic ignored "-Wc++98-compat" -# pragma clang diagnostic ignored "-Wc++98-compat-pedantic" -#endif - #include <iostream> #include <cerrno> |