Re: [Boost-bugs] [Boost C++ Libraries] #11599: VS2015 warns that in new_tree, not all control paths return a value

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11599: VS2015 warns that in new_tree, not all control paths return a value
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-01 15:31:26


#11599: VS2015 warns that in new_tree, not all control paths return a value
------------------------------------------+---------------------------
  Reporter: Edward Brey <edward.brey@…> | Owner: cornedbee
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.59.0 | Severity: Problem
Resolution: fixed | Keywords: warnings
------------------------------------------+---------------------------
Changes (by cornedbee):

 * status: new => closed
 * resolution: => fixed

Comment:

 In my opinion, VS's warning is broken and I would have loved to be able to
 use Clang's uncovered-switch warning. But I've bit the sour apple and did
 this because I couldn't find any nicer way of silencing VS without
 outright suppressing the warning (and thus adding compiler-specific code).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11599#comment:5>
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:19 UTC