Index: win32/thread_primitives.hpp =================================================================== --- win32/thread_primitives.hpp (revision 80159) +++ win32/thread_primitives.hpp (working copy) @@ -341,7 +341,7 @@ { inline bool interlocked_bit_test_and_set(long* x,long bit) { -#if 0 +#ifndef BOOST_INTEL_CXX_VERSION __asm { mov eax,bit; mov edx,x; @@ -349,7 +349,7 @@ setc al; }; #else - bool ret; + bool ret=false; __asm { mov eax,bit; mov edx,x; lock bts [edx],eax; setc al; mov ret, al }; @@ -360,7 +360,7 @@ inline bool interlocked_bit_test_and_reset(long* x,long bit) { -#if 0 +#ifndef BOOST_INTEL_CXX_VERSION __asm { mov eax,bit; mov edx,x; @@ -369,8 +369,7 @@ }; #else - - bool ret; + bool ret=false; __asm { mov eax,bit; mov edx,x; lock btr [edx],eax; setc al; mov ret, al };