Boost C++ Libraries: Ticket #3946: compiler warnings in VC8 https://svn.boost.org/trac10/ticket/3946 <p> The following code under VC8 with warning level 4 produces the warnings below. </p> <pre class="wiki">#include &lt;boost/exception.hpp&gt; #include &lt;iostream&gt; struct Error : boost::exception {}; int main() { throw Error() &lt;&lt; boost::errinfo_file_name(__FILE__); return 0; } </pre><pre class="wiki">1&gt;d:\development\release-boost\v1.41.0\boost\exception\info.hpp(150) : warning C4706: assignment within conditional expression </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3946 Trac 1.4.3 andrey.torba@… Thu, 18 Feb 2010 15:59:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3946#comment:1 https://svn.boost.org/trac10/ticket/3946#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> The warning is fixed on trunk in 58072. </p> Ticket