
3 Jul
2006
3 Jul
'06
1:06 p.m.
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. :-)