diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-23 10:40:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-24 07:56:06 +0100 |
commit | b3b22ee3de5ddfc73e44a2d425450b1deeb3ed0d (patch) | |
tree | 232d1dcab2e2e71155e3a3cd8d4eb9d76df3ff06 /bin | |
parent | de8f6b25de6fbe813fe172542e7eff1596b37335 (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 'bin')
-rwxr-xr-x | bin/gen-boost-headers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gen-boost-headers b/bin/gen-boost-headers index 12e51d0882df..8822ad824c1f 100755 --- a/bin/gen-boost-headers +++ b/bin/gen-boost-headers @@ -45,6 +45,7 @@ cat <(cd ${SRCDIR} && git grep -h '^# *include') \ #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" |