Ticket #6416: boost-accumulators.patch

File boost-accumulators.patch, 1.2 KB (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/accumulators/statistics/sum_kahan.hpp

    diff -urp boost_1_48_0~/boost/accumulators/statistics/sum_kahan.hpp boost_1_48_0/boost/accumulators/statistics/sum_kahan.hpp
    old new struct sum_kahan_impl  
    5151    template<typename Args>
    5252    void
    5353#if BOOST_ACCUMULATORS_GCC_VERSION > 40305
    54     __attribute__((optimize("no-associative-math")))
     54    __attribute__((__optimize__("no-associative-math")))
    5555#endif
    5656    operator ()(Args const & args)
    5757    {
  • boost/accumulators/statistics/weighted_sum_kahan.hpp

    diff -urp boost_1_48_0~/boost/accumulators/statistics/weighted_sum_kahan.hpp boost_1_48_0/boost/accumulators/statistics/weighted_sum_kahan.hpp
    old new namespace impl  
    5252        template<typename Args>
    5353        void
    5454#if BOOST_ACCUMULATORS_GCC_VERSION > 40305
    55         __attribute__((optimize("no-associative-math")))
     55        __attribute__((__optimize__("no-associative-math")))
    5656#endif
    5757        operator ()(Args const &args)
    5858        {