Merge pull request #2 from mgaunard/clang_warning_fix

Avoid unused typedef warnings with clang
This commit is contained in:
jzmaddock
2014-10-02 18:28:18 +01:00

View File

@ -67,7 +67,7 @@
// //
// If the compiler warns about unused typedefs then enable this: // 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)
# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused))
#else #else
# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE