c:\program files\bthread\boost\shared_ptr.hpp(142) : error C2332: 'class' : missing tag name
1>c:\program files\bthread\boost\shared_ptr.hpp(142) : error C2011: '<unnamed-tag>' : 'enum' type redefinition
1> c:\program files\microsoft sdks\windows\v6.0a\include\shlwapi.h(1550) : see declaration of '<unnamed-tag>'
1>c:\program files\bthread\boost\shared_ptr.hpp(142) : error C2143: syntax error : missing ',' before 'return'
1>c:\program files\bthread\boost\shared_ptr.hpp(146) : error C2332: 'class' : missing tag name
1>c:\program files\bthread\boost\shared_ptr.hpp(146) : error C2011: '<unnamed-tag>' : 'enum' type redefinition
1> c:\program files\microsoft sdks\windows\v6.0a\include\shlwapi.h(1550) : see declaration of '<unnamed-tag>'
1>c:\program files\bthread\boost\shared_ptr.hpp(146) : error C2143: syntax error : missing ',' before 'return'
1>c:\program files\bthread\boost\shared_ptr.hpp(146) : error C2059: syntax error : 'return'
1>c:\program files\bthread\boost\shared_ptr.hpp(147) : error C2143: syntax error : missing ';' before '{'
1>c:\program files\bthread\boost\shared_ptr.hpp(149) : error C2143: syntax error : missing ';' before '}'
1>c:\program files\bthread\boost\shared_ptr.hpp(153) : error C2143: syntax error : missing ';' before '}'
1>c:\program files\bthread\boost\shared_ptr.hpp(164) : error C2649: 'typename' : is not a 'class'
1>c:\program files\bthread\boost\shared_ptr.hpp(529) : error C2649: 'typename' : is not a 'class'
 
You didn't attach the code you try to compile.
It seems like missing ";" after a class definition in one of your headers.