Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71138 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2011-04-09 04:33:46


Author: igaztanaga
Date: 2011-04-09 04:33:45 EDT (Sat, 09 Apr 2011)
New Revision: 71138
URL: http://svn.boost.org/trac/boost/changeset/71138

Log:
Remove asm("") because non-GCC compilers define __GNUC__ and don't support it
Text files modified:
   trunk/boost/interprocess/offset_ptr.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/offset_ptr.hpp
==============================================================================
--- trunk/boost/interprocess/offset_ptr.hpp (original)
+++ trunk/boost/interprocess/offset_ptr.hpp 2011-04-09 04:33:45 EDT (Sat, 09 Apr 2011)
@@ -92,7 +92,7 @@
    PointedType * get_pointer() const
    {
       #if defined (__GNUC__)
- asm(""); //Prevents the function to be optimized-away (provokes an special "side-effect")
+ //asm(""); //Prevents the function to be optimized-away (provokes an special "side-effect")
       #endif
       return static_cast<PointedType *>(
          static_cast<void*>(


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