Ticket #11635: unused-typedef.patch
File unused-typedef.patch, 512 bytes (added by , 7 years ago) |
---|
-
include/boost/static_assert.hpp
diff --git a/include/boost/static_assert.hpp b/include/boost/static_assert.hpp index 8dfddae..ae547ad 100644
a b 67 67 // 68 68 // If the compiler warns about unused typedefs then enable this: 69 69 // 70 #if defined(__GNUC__) && (__GNUC__ >= 4)70 #if (defined(__GNUC__) && (__GNUC__ >= 4)) || defined(__clang__) 71 71 # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) 72 72 #else 73 73 # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE