Files
libreoffice/external/boost/boost.boost_static_assert_unused_attribute.patch.0
Stephan Bergmann f08f0d1583 Forgot to add patch file
Change-Id: Ia7c09a5bac9b644814b8c4891bb958e28937fa33
2014-09-15 18:49:20 +02:00

12 lines
474 B
Plaintext

--- 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