Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-03 09:06:32


Tomas Puverle wrote:
>>> #elif defined( __GNUC__ ) && ( defined( __sparc ) ||
>>> defined(__sparc_v9__ ) )
>>> # include <boost/detail/sp_counted_base_gcc_sparc.hpp>
>>>
>>> in sp_counted_base.hpp.
>>
>> Actually, now that I think about it, this should be
>>
>> #elif defined( __GNUC__ ) && defined( __sparc_v9__ )
>> # include <boost/detail/sp_counted_base_gcc_sparc.hpp>
>>
>> as the implementation requires Sparc V9.
>
> Peter,
>
> You may want to reconsider this fix. The assembly code in the
> previous post will work on v8 or v9. The original test is correct.

Unfortunately, I'm told that the default for g++ is V7 and the code is being
rejected. I don't have access to a Sparc and am unable to test it myself.
:-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk