1
0
forked from boostorg/bind

-Wunused-but-set-variable is only in Clang 13 and higher

This commit is contained in:
Peter Dimov
2024-01-07 02:23:21 +02:00
parent 9d6b7fb86e
commit e066884190

View File

@ -20,7 +20,7 @@
#include <boost/mem_fn.hpp>
#include <boost/core/lightweight_test.hpp>
#if defined(__clang__)
#if defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION >= 130000
# pragma clang diagnostic ignored "-Wunused-but-set-variable"
#endif