
20 Jan
2011
20 Jan
'11
5:18 p.m.
Ákos Maróy wrote:
interesting. you're right, a sample code with a simple shared_ptr reference also fails to link with the same error message, where the code is the following: ... but: this only happens with boost 1.45.0. with boost 1.44.0, it all seems to work fine.
interesting...
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?