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-05-11 08:42:20
#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
------------------------------------------+---------------------------
Comment (by anonymous):
Replying to [comment:5 cornedbee]:
> 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).
I think this is an error because assert does nothing if NDEBUG is defined.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11599#comment:6> 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:20 UTC