|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71137 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2011-04-09 04:32:21
Author: igaztanaga
Date: 2011-04-09 04:32:18 EDT (Sat, 09 Apr 2011)
New Revision: 71137
URL: http://svn.boost.org/trac/boost/changeset/71137
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:32:18 EDT (Sat, 09 Apr 2011)
@@ -72,7 +72,7 @@
void set_offset(const PointedType *ptr)
{
#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
//offset == 1 && ptr != 0 is not legal for this pointer
if(!ptr){
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