--- static_assert.hpp-dist 2015-09-17 12:33:56.000000000 +0200 +++ static_assert.hpp 2015-09-17 12:35:10.000000000 +0200 @@ -67,7 +67,7 @@ // // If the compiler warns about unused typedefs then enable this: // -#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) +#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || (defined(__apple_build_version__) && (__apple_build_version__ >= 7000000)) # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) #else # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE