Ticket #6408: boost-random.patch

File boost-random.patch, 706 bytes (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/random/detail/integer_log2.hpp

    diff -urp boost_1_48_0~/boost/random/detail/integer_log2.hpp boost_1_48_0/boost/random/detail/integer_log2.hpp
    old new namespace detail {  
    2727#elif defined(BOOST_MSVC)
    2828#define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline
    2929#elif defined(__GNUC__) && __GNUC__ >= 4
    30 #define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((const)) __attribute__((always_inline))
     30#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((__const__)) __attribute__((__always_inline__))
    3131#else
    3232#define BOOST_RANDOM_DETAIL_CONSTEXPR inline
    3333#endif