Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76606 - branches/release/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2012-01-21 05:53:03


Author: igaztanaga
Date: 2012-01-21 05:53:02 EST (Sat, 21 Jan 2012)
New Revision: 76606
URL: http://svn.boost.org/trac/boost/changeset/76606

Log:
#6412: Use attribute names with underscores for GCC
Text files modified:
   branches/release/boost/interprocess/offset_ptr.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/interprocess/offset_ptr.hpp
==============================================================================
--- branches/release/boost/interprocess/offset_ptr.hpp (original)
+++ branches/release/boost/interprocess/offset_ptr.hpp 2012-01-21 05:53:02 EST (Sat, 21 Jan 2012)
@@ -316,7 +316,7 @@
    #if defined(_MSC_VER)
    __declspec(noinline) //this workaround is needed for MSVC compilers
    #elif defined (__GNUC__)//this workaround is needed for GCC
- __attribute__((noinline))
+ __attribute__((__noinline__))
    #endif
    void set_offset(const PointedType *ptr)
    {
@@ -336,7 +336,7 @@
    #if defined(_MSC_VER) && (_MSC_VER >= 1400)
    __declspec(noinline)
    #elif defined (__GNUC__)
- __attribute__((noinline))
+ __attribute__((__noinline__))
    #endif
    PointedType * to_raw_pointer() const
    {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk