Boost C++ Libraries: Ticket #3198: compiler warnings in VC9 https://svn.boost.org/trac10/ticket/3198 <p> lexical_cast issues the following warning under VC9 at warning level 4: </p> <p> c:\redsword\third_party\boost\1_39_0\boost\lexical_cast.hpp(1159) : warning C4702: unreachable code </p> <p> I find it odd that this warning is allowed through when the comments a few lines up (line 1139) explain a workaround that was done to squelch a different warning at warning level 4. Can this warning please be suppressed for those of us who must work under warning level 4 with warnings as errors turned on? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3198 Trac 1.4.3 Richard Webb <richard.webb@…> Sun, 21 Jun 2009 10:01:37 GMT <link>https://svn.boost.org/trac10/ticket/3198#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3198#comment:1</guid> <description> <p> This is a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1791" title="#1791: Patches: fix warning on MSVC warning level 4 (closed: fixed)">#1791</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>nasonov</dc:creator> <pubDate>Sat, 12 Sep 2009 21:08:39 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3198#comment:2 https://svn.boost.org/trac10/ticket/3198#comment:2 <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">duplicate</span> </li> </ul> Ticket