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
|
| 67 | 67 | #if defined(_MSC_VER) && (_MSC_VER >= 1400) |
| 68 | 68 | __declspec(noinline) //this workaround is needed for msvc-8.0 and msvc-9.0 |
| 69 | 69 | #elif defined (__GNUC__)//this workaround is needed for GCC |
| 70 | | __attribute__((noinline)) |
| | 70 | __attribute__((__noinline__)) |
| 71 | 71 | #endif |
| 72 | 72 | void set_offset(const PointedType *ptr) |
| 73 | 73 | { |
| … |
… |
class offset_ptr
|
| 87 | 87 | #if defined(_MSC_VER) && (_MSC_VER >= 1400) |
| 88 | 88 | __declspec(noinline) |
| 89 | 89 | #elif defined (__GNUC__) |
| 90 | | __attribute__((noinline)) |
| | 90 | __attribute__((__noinline__)) |
| 91 | 91 | #endif |
| 92 | 92 | PointedType * get_pointer() const |
| 93 | 93 | { |