Skip to content

Commit

Permalink
Ignore C++98 related compiler warnings
Browse files Browse the repository at this point in the history
Catch2 has long since required a standard newer than C++98 so we
can safely ignore any warnings related to such old standards.
  • Loading branch information
ChrisThrasher committed Mar 12, 2024
1 parent 459ac85 commit 20d3f19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/SelfTest/TestRegistrations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down
5 changes: 0 additions & 5 deletions tests/SelfTest/UsageTests/Misc.tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 20d3f19

Please sign in to comment.