Carsten Raas:
Did you rebuild date_time itself with this change?
Yes, I did.
I followed the hint of Peter Dimov in http://lists.boost.org/Archives/boost/2008/04/135521.php
That's very odd. It's true that Datetime uses shared_ptr, and that
shared_ptr uses __sync_fetch_and_add on some platforms, but it shouldn't on
Intel x64 because:
#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) &&
!defined( __arm__ ) && !defined( __hppa ) && ( !defined( __INTEL_COMPILER )
|| defined( __ia64__ ) )
# include