Add suppression

This commit is contained in:
Daniel Winsor 2024-02-21 15:05:57 -08:00
parent d2b2c98185
commit 48d105af23

View File

@ -63,6 +63,12 @@
#pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wsign-conversion"
#endif #endif
// Turn off clang unsafe buffer warnings as all accessed are guarded by runtime checks
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#endif // defined(__clang__)
namespace gsl namespace gsl
{ {