id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2000,boost/detail/spinlock_sync.hpp incorrectly included for Intel C++ on Linux,Anthony Williams,Peter Dimov,"On a linux-x86_64 system with gcc 4.1.3 and Intel 10.1, an include of boost/shared_ptr.hpp pulls in boost/detail/spinlock_sync.hpp, which fails to compile since the __sync functions are undefined. It appears this problem is due to the #if sequence in boost/detail/spinlock.hpp. The Intel compiler defines __GNUC__ and __GNUC_MINOR__, but doesn't provide the intrinsics. By adding ""&& !defined(BOOST_INTEL)"" to the appropriate #if line as in the attached patch, everything works.",Bugs,closed,Boost 1.37.0,smart_ptr,Boost 1.35.0,Regression,fixed,,