compiler warnings in VC9

Description

Including boost/thread/locks.hpp under VC9 with warning level 4 produces the warning below. Warnings are not allowed on my project, and rather than wrapping boost includes with a #pragma directive, I'd rather these warnings just be suppressed in the code that's causing them.