Subject: [Boost-bugs] [Boost C++ Libraries] #12704: scope_exit: MSVC 14.0 Update 3 warning issued
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-20 13:15:17
#12704: scope_exit: MSVC 14.0 Update 3 warning issued
------------------------------+------------------------
Reporter: thomas.forell@⦠| Owner: lcaminiti
Type: Bugs | Status: new
Milestone: To Be Determined | Component: scope_exit
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+------------------------
Hi,
BOOST_SCOPE_EXIT emits[[BR]]
'''warning C4459: declaration of 'boost_scope_exit_aux_args' hides global
declaration'''[[BR]]
using compiler setting /W4 for Visual Studio 2015 Update 3 (VC 14)
Example code:
{{{#!c++
#include <boost/scope_exit.hpp>
int main()
{
int test = 0;
BOOST_SCOPE_EXIT(&test) { test = 5; } BOOST_SCOPE_EXIT_END;
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12704> 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