
20 Jan
2011
20 Jan
'11
5:27 p.m.
Peter,
Indeed. Can you examine boost/smart_ptr/detail/sp_counted_base.hpp and see what's different between 1.44 and 1.45? It should pick the following:
#elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) ) # include <boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp>
on either x86 and x64, any idea why it doesn't with -m32? Is __i386__ not defined?
it seems not: $ cat sample.cxx #include <boost/smart_ptr.hpp> #if defined __i386___ #error __i386__ defined #endif int main(void) { boost::shared_ptr<int> p; return 0; } $ g++ -m32 -march=i386 -o sample sample.cxx (goes down fine)