Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10830: Clang static analyzer warns about <boost/graph/named_function_params.hpp>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-04 11:49:06
#10830: Clang static analyzer warns about <boost/graph/named_function_params.hpp>
-------------------------------+----------------------
Reporter: anonymous | Owner: jewillco
Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Comment (by anonymous):
vs2015 generates an error for this in x64 release build:
c:\boost\boost_1_59_0_vs2015\x64\boost\graph\named_function_params.hpp(240):
error C4172: returning address of local variable or temporary
return lookup_named_param_def<Tag, Args, param_not_found>::get(p,
param_not_found());
see also http: connect.microsoft.com/VisualStudio/feedback/details/1425276
/false-positive-error-c4172-returning-address-of-local-variable-or-
temporary
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10830#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:19 UTC