Boost C++ Libraries: Ticket #3195: compiler warnings in VC9 https://svn.boost.org/trac10/ticket/3195 <p> 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. </p> <p> 2&gt;C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/thread/locks.hpp(1088) : warning C4127: conditional expression is constant </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3195 Trac 1.4.3 Anthony Williams Wed, 09 Jun 2010 12:36:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3195#comment:1 https://svn.boost.org/trac10/ticket/3195#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed on trunk </p> Ticket