Re: [osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-23 Thread Mathias Fröhlich
Hi, On Thursday 22 March 2012, Ulrich Hertlein wrote: > Simpler maybe, but I would expect that to be more expensive in CPU terms > than a CPU opcode. Not? Depends on how this is implemented on BSD. May be they implement that today in the header with the exact same gcc/clang intrinsics? Then it

Re: [osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-22 Thread Ulrich Hertlein
Hi Stephan, On 22/03/12 22:29 , Stephan Maximilian Huber wrote: > Am 22.03.12 03:01, schrieb Ulrich Hertlein: >> This recently broke for me on OS X (with clang 3.1) as well. Casting >> 'ptrOld' to (void*) >> works and this is also done for the other implementations (WIN32_INTERLOCKED >> and >>

Re: [osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-22 Thread Stephan Maximilian Huber
Hi Ulrich, Am 22.03.12 03:01, schrieb Ulrich Hertlein: > This recently broke for me on OS X (with clang 3.1) as well. Casting > 'ptrOld' to (void*) > works and this is also done for the other implementations (WIN32_INTERLOCKED > and > BSD_ATOMIC) as well. > > No ideal, both 'ptrOld' and 'ptrNe

Re: [osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-22 Thread Mathias Fröhlich
Hi, On Thursday 22 March 2012, Ulrich Hertlein wrote: > On 13/03/12 4:43 , Stephan Maximilian Huber wrote: > > it seems that compiling osg and specifically OpenThreads is currently > > broken for IOS when using xcode 4.3.1. The compilation fails at > > OpenThreads/Atomic with > > > > Users/stepha

Re: [osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-21 Thread Ulrich Hertlein
Hi Stephan, On 13/03/12 4:43 , Stephan Maximilian Huber wrote: > it seems that compiling osg and specifically OpenThreads is currently > broken for IOS when using xcode 4.3.1. The compilation fails at > OpenThreads/Atomic with > > Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/in

[osg-users] OpenThreads/Atomic currently broken with Xcode 4.3.1 and IOS

2012-03-12 Thread Stephan Maximilian Huber
Hi, it seems that compiling osg and specifically OpenThreads is currently broken for IOS when using xcode 4.3.1. The compilation fails at OpenThreads/Atomic with Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: error: cannot initialize a parameter