Re: [Boost-bugs] [Boost C++ Libraries] #8665: Unreachable code warnings in variant.hpp - msvc

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8665: Unreachable code warnings in variant.hpp - msvc
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-06 14:46:33


#8665: Unreachable code warnings in variant.hpp - msvc
-------------------------------+---------------------
  Reporter: hvemha@… | Owner: ebf
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Changes (by apolukhin):

 * cc: antoshkka@… (added)

Comment:

 Tested on boost 1_54_0_beta1 and this looks more like a visual studio bug.
 In debug mode we do '''reach''' that code. But in release mode Visual
 studio inlines all the function calls and complains on function that '''is
 actually called'''.

 Unfortunately I fail to reproduce this issue without `boost::variant`. Can
 you?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8665#comment:1>
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:13 UTC