Ticket #6412: boost-interprocess.patch

File boost-interprocess.patch, 887 bytes (added by Petr Machata <pmachata@…>, 11 years ago)
  • boost/interprocess/offset_ptr.hpp

    diff -urp boost_1_48_0~/boost/interprocess/offset_ptr.hpp boost_1_48_0/boost/interprocess/offset_ptr.hpp
    old new class offset_ptr  
    6767   #if defined(_MSC_VER) && (_MSC_VER >= 1400)
    6868   __declspec(noinline) //this workaround is needed for msvc-8.0 and msvc-9.0
    6969   #elif defined (__GNUC__)//this workaround is needed for GCC
    70    __attribute__((noinline))
     70   __attribute__((__noinline__))
    7171   #endif
    7272   void set_offset(const PointedType *ptr)
    7373   {
    class offset_ptr  
    8787   #if defined(_MSC_VER) && (_MSC_VER >= 1400)
    8888   __declspec(noinline)
    8989   #elif defined (__GNUC__)
    90    __attribute__((noinline))
     90   __attribute__((__noinline__))
    9191   #endif
    9292   PointedType * get_pointer() const
    9393   {