id summary reporter owner description type status milestone component version severity resolution keywords cc 9174 Incompatible declaration in interlocked.hpp anikin@… Peter Dimov If I compile '''boost\detail\interlocked.hpp''' on MS '''Visual Studio 2010''' using '''Intel Compiler 14.0''' and my project also includes msvc's '''''', then I get a compiler error of incompatible declarations, because declares `_InterlockedCompareExchange`, `_InterlockedExchange` and `_InterlockedExchangeAdd` without `__cdecl` but interlocked.hpp declares them as `__cdecl`. The issue is solved by stripping `__CLRCALL_PURE_OR_CDECL` from declarations of these three functions. (And maybe better include the standard when compiling on MSVC even with Intel compiler) Bugs closed To Be Determined smart_ptr Boost 1.54.0 Problem fixed interlocked _InterlockedCompareExchange _InterlockedExchangeAdd