
Alexander Terekhov wrote:
Robert Zeh wrote: [...]
I am using a locally build gcc 3.4.3 on Redhat. [...] /home/razeh/boost/boost/detail/sp_counted_base_gcc_x86.hpp: In function `long int boost::detail::atomic_exchange_and_add(long int*, long int)': /home/razeh/boost/boost/detail/sp_counted_base_gcc_x86.hpp:50: warning: matching constraint does not allow a register /home/razeh/boost/boost/detail/sp_counted_base_gcc_x86.hpp:50: warning: matching constraint does not allow a register /home/razeh/boost/boost/detail/sp_counted_base_gcc_x86.hpp:50: error: inconsistent operand constraints in an `asm'
http://gcc.gnu.org/ml/gcc/2004-04/msg01455.html http://gcc.gnu.org/ml/gcc/2005-03/msg00082.html
(Not that I really understand what's the beef here...)
I think I fixed it as suggested by Richard Henderson in one of the threads.