Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76604 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2012-01-21 05:48:29


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

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

Modified: trunk/boost/interprocess/offset_ptr.hpp
==============================================================================
--- trunk/boost/interprocess/offset_ptr.hpp (original)
+++ trunk/boost/interprocess/offset_ptr.hpp 2012-01-21 05:48:28 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