[Boost-bugs] [Boost C++ Libraries] #3198: compiler warnings in VC9

Subject: [Boost-bugs] [Boost C++ Libraries] #3198: compiler warnings in VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-21 00:01:17


#3198: compiler warnings in VC9
---------------------------------+------------------------------------------
 Reporter: kfriddile@… | Owner: nasonov
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: lexical_cast
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 lexical_cast issues the following warning under VC9 at warning level 4:

 c:\redsword\third_party\boost\1_39_0\boost\lexical_cast.hpp(1159) :
 warning C4702: unreachable code

 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?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3198>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC