fix: Add -Wno-deprecated-declarations for Clang only (#5680)

This change adds `-Wno-deprecated-declarations` for Clang only (not for GCC) builds in `cmake/RippledCompiler.cmake`.
This commit is contained in:
Bart
2025-08-14 06:07:09 -04:00
committed by GitHub
parent 28eec6ce1b
commit de33a6a241
3 changed files with 2 additions and 36 deletions

View File

@@ -22,18 +22,8 @@
#include <xrpl/basics/contract.h>
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated"
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
#include <boost/outcome.hpp>
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#include <stdexcept>
namespace ripple {