diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-23 10:40:48 +0100 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2019-07-24 02:46:40 +0200 |
commit | 2d1e72e87525969be4983a08df83ace9474e3cf9 (patch) | |
tree | e81c5594be5ac62c7bc10b951efc4946db34fe1f /bin | |
parent | 8cd02e4dbcdd65a21933c347b2433610fafeff08 (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 )
> );
Reviewed-on: https://gerrit.libreoffice.org/48386
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit b3b22ee3de5ddfc73e44a2d425450b1deeb3ed0d)
Change-Id: I6976b2cc23f1d309d27d3fde9098b10c9d877599
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 b96f6106c790..d6081e036b52 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 "-Wimplicit-fallthrough" #pragma GCC diagnostic ignored "-Winvalid-constexpr" #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" |