Re: [Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1507: [variant] C4512 warnings from VC8.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-05 14:14:49


#1507: [variant] C4512 warnings from VC8.0
----------------------------------------------------------+-----------------
  Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: ebf
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost Development Trunk | Severity: Cosmetic
Resolution: | Keywords:
----------------------------------------------------------+-----------------
Comment (by Richard Webb <richard.webb_at_[hidden]>):

 When building in release mode, VC8/9 also produce some unreachable code
 warnings:


 {{{
 boost\variant\detail\visitation_impl.hpp(205) : warning C4702: unreachable
 code
 boost\variant\detail\visitation_impl.hpp(180) : warning C4702: unreachable
 code
 boost\variant\detail\visitation_impl.hpp(252) : warning C4702: unreachable
 code
 boost\variant\detail\visitation_impl.hpp(280) : warning C4702: unreachable
 code
 }}}


 Attached is a patch for visitation_impl.hpp that uses a pragma to silence
 these.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1507#comment:2>
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:49:57 UTC