diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 18:49:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 18:49:20 +0200 |
commit | f08f0d158395be759e31e98cd5469a716d22b5e2 (patch) | |
tree | b643d0f04d8161093beced2686a3401a81d7fb80 /external/boost | |
parent | 037a1adac9aa58022e59235db1f76605a6ddb747 (diff) |
Forgot to add patch file
Change-Id: Ia7c09a5bac9b644814b8c4891bb958e28937fa33
Diffstat (limited to 'external/boost')
-rw-r--r-- | external/boost/boost.boost_static_assert_unused_attribute.patch.0 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/external/boost/boost.boost_static_assert_unused_attribute.patch.0 b/external/boost/boost.boost_static_assert_unused_attribute.patch.0 new file mode 100644 index 000000000000..ef54a7fdcce5 --- /dev/null +++ b/external/boost/boost.boost_static_assert_unused_attribute.patch.0 @@ -0,0 +1,11 @@ +--- boost/static_assert.hpp ++++ boost/static_assert.hpp +@@ -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 __clang__ + # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) + #else + # define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE |