diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-31 14:08:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-31 14:45:38 +0200 |
commit | 168bf78980691229c1831ad19f098167a09e1dd5 (patch) | |
tree | 310bad583838525d0a2cdd3754efc274833f7bc4 /external/boost | |
parent | aedd003086e5d14dad584e4bd36ab5e4c06e0e18 (diff) |
boost: fix Clang > 3.5 -Wunused-local-typedefs in concept_check
Change-Id: I84ee651a51e1919be036ffd47d80eb1ab7433973
Diffstat (limited to 'external/boost')
-rw-r--r-- | external/boost/UnpackedTarball_boost.mk | 2 | ||||
-rw-r--r-- | external/boost/boost.concept_check.Wunused-local-typedefs.warnings.patch.1 | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/external/boost/UnpackedTarball_boost.mk b/external/boost/UnpackedTarball_boost.mk index 8e9d6242d245..732b5645f059 100644 --- a/external/boost/UnpackedTarball_boost.mk +++ b/external/boost/UnpackedTarball_boost.mk @@ -93,6 +93,8 @@ boost_patches += boost_1_59_0.multi_array.wshadow.patch boost_patches += boost_1_59_0.signal2.wshadow.patch # https://svn.boost.org/trac/boost/ticket/11501 boost_patches += boost_1_59_0.property_tree.wreturn-type.patch +# fixed upstream by bdcd06c4cc1971d763e528b8cb1d0f16fcc5ecf4 +boost_patches += boost.concept_check.Wunused-local-typedefs.warnings.patch.1 $(eval $(call gb_UnpackedTarball_UnpackedTarball,boost)) diff --git a/external/boost/boost.concept_check.Wunused-local-typedefs.warnings.patch.1 b/external/boost/boost.concept_check.Wunused-local-typedefs.warnings.patch.1 new file mode 100644 index 000000000000..c85fc7e26143 --- /dev/null +++ b/external/boost/boost.concept_check.Wunused-local-typedefs.warnings.patch.1 @@ -0,0 +1,13 @@ +Fixed differently upstream by commit bdcd06c4cc1971d763e528b8cb1d0f16fcc5ecf4 + +--- boost/boost/concept/detail/general.hpp.orig 2015-07-31 14:03:08.184447736 +0200 ++++ boost/boost/concept/detail/general.hpp 2015-07-31 14:03:10.048447591 +0200 +@@ -67,7 +67,7 @@ + + // Version check from https://svn.boost.org/trac/boost/changeset/82886 + // (boost/static_assert.hpp) +-#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) ++#if defined(__GNUC__) && (((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__)) + #define BOOST_CONCEPT_UNUSED_TYPEDEF __attribute__((unused)) + #else + #define BOOST_CONCEPT_UNUSED_TYPEDEF /**/ |