forked from boostorg/bind
-Wunused-but-set-variable is only in Clang 13 and higher
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#include <boost/mem_fn.hpp>
|
#include <boost/mem_fn.hpp>
|
||||||
#include <boost/core/lightweight_test.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"
|
# pragma clang diagnostic ignored "-Wunused-but-set-variable"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user