Hi Melchior, Your change looks correct, now applied and checked into SVN.
I am a bit surprised that _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS path wasn't selected on your machine, perhaps the checks for support need to be tweaked. Robert. On Fri, Jun 20, 2008 at 7:45 AM, Melchior FRANZ <[EMAIL PROTECTED]> wrote: > * 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 > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org