// GOOD: // g++ -arch i386 -I $HOME/dev/boost_1_53_0/ jojo.cpp // BAD: // g++ -arch ppc -I $HOME/dev/boost_1_53_0/ jojo.cpp // g++ -arch ppc -I $HOME/download/boost-trunk/ jojo.cpp /* boost-trunk/boost/atomic/detail/gcc-ppc.hpp:1211: error: impossible constraint in 'asm' */ /* boost_1_53_0/boost/atomic/detail/gcc-ppc.hpp:1204: error: impossible constraint in 'asm' */ #include int main( ) { boost::atomic messageCount_(0); messageCount_.fetch_add(1, boost::memory_order_relaxed); }