* Melchior FRANZ -- Friday 20 June 2008: > $OSG/include/OpenThreads/Atomic:140: error: \ > ‘oldPtr’ was not declared in this scope
OK, so this should be ptrOld now? As in: --- include/OpenThreads/Atomic (revision 8468) +++ include/OpenThreads/Atomic (working copy) @@ -132,12 +132,12 @@ return ptrOld == InterlockedCompareExchangePointer(&_ptr, ptrNew, ptrOld); #elif defined(_OPENTHREADS_ATOMIC_USE_MUTEX) ScopedLock<Mutex> lock(_mutex); - if (_ptr != oldPtr) + if (_ptr != ptrOld) return false; _ptr = ptrNew; return true; #else - if (_ptr != oldPtr) + if (_ptr != ptrOld) return false; _ptr = ptrNew; return true; m. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org