mirror of
https://github.com/boostorg/bind.git
synced 2026-03-06 14:05:28 +01:00
-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/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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user