Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorChris Thrasher2024-03-12 11:27:06 -0600
committerMartin Hořeňovský2024-03-12 22:56:37 +0100
commit88f4ec3cc5620c45086e972bd372d3ba3df8c3d3 (patch)
treefcc6ccf87bf88c5c8f66a25ee7ee951f08a78477 /tests
parent792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07 (diff)
downloadcatch3-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.
Diffstat (limited to 'tests')
-rw-r--r--tests/SelfTest/TestRegistrations.cpp1
-rw-r--r--tests/SelfTest/UsageTests/Misc.tests.cpp5
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>