• Stephan Bergmann's avatar
    Silence upcoming GCC 8 -Werror=parentheses in external/boost · b3b22ee3
    Stephan Bergmann yazdı
    ...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/48386Tested-by: 's avatarJenkins <ci@libreoffice.org>
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    b3b22ee3
gen-boost-headers 2.37 KB