summaryrefslogtreecommitdiff
path: root/external/boost/include/boost/any.hpp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-23 10:40:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-24 07:56:06 +0100
commitb3b22ee3de5ddfc73e44a2d425450b1deeb3ed0d (patch)
tree232d1dcab2e2e71155e3a3cd8d4eb9d76df3ff06 /external/boost/include/boost/any.hpp
parentde8f6b25de6fbe813fe172542e7eff1596b37335 (diff)
Silence upcoming GCC 8 -Werror=parentheses in external/boost
...reporting such delights as > [CXX] sal/cppunittester/cppunittester.cxx > In file included from workdir/UnpackedTarball/boost/boost/mpl/aux_/na_assert.hpp:23, [...] > from external/boost/include/boost/algorithm/string.hpp:25, > from sal/cppunittester/cppunittester.cxx:60: > workdir/UnpackedTarball/boost/boost/mpl/assert.hpp:188:21: error: unnecessary parentheses in declaration of ‘assert_arg’ [-Werror=parentheses] > failed ************ (Pred::************ > ^ where boost/mpl/assert.hpp contains > template< typename Pred > > failed ************ (Pred::************ > assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ) > ); Change-Id: I6976b2cc23f1d309d27d3fde9098b10c9d877599 Reviewed-on: https://gerrit.libreoffice.org/48386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/boost/include/boost/any.hpp')
-rw-r--r--external/boost/include/boost/any.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/boost/include/boost/any.hpp b/external/boost/include/boost/any.hpp
index 54d625842fd3..31949512b391 100644
--- a/external/boost/include/boost/any.hpp
+++ b/external/boost/include/boost/any.hpp
@@ -11,6 +11,7 @@
#pragma GCC diagnostic ignored "-Winvalid-constexpr"
#pragma GCC diagnostic ignored "-Wmicrosoft-unqualified-friend"
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
+#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wplacement-new"
#pragma GCC diagnostic ignored "-Wreturn-type"
#pragma GCC diagnostic ignored "-Wshadow"