1
0
forked from boostorg/bind

Disable -Warray-bounds in mem_fn_ref_test for GCC w/ ASAN

This commit is contained in:
Peter Dimov
2024-01-07 05:48:17 +02:00
parent 9067a41bae
commit 2b9c6151c3

View File

@ -8,6 +8,10 @@
// http://www.boost.org/LICENSE_1_0.txt
//
#if defined(__GNUC__) && defined(__SANITIZE_ADDRESS__)
# pragma GCC diagnostic ignored "-Warray-bounds"
#endif
#include <boost/mem_fn.hpp>
#include <boost/ref.hpp>
#include <boost/core/lightweight_test.hpp>