Boost C++ Libraries: Ticket #12704: scope_exit: MSVC 14.0 Update 3 warning issued https://svn.boost.org/trac10/ticket/12704 <p> Hi, </p> <p> BOOST_SCOPE_EXIT emits<br /> <strong>warning C4459: declaration of 'boost_scope_exit_aux_args' hides global declaration</strong><br /> using compiler setting /W4 for Visual Studio 2015 Update 3 (VC 14) </p> <p> Example code: </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#include</span> <span class="cpf">&lt;boost/scope_exit.hpp&gt;</span><span class="cp"></span> <span class="kt">int</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span> <span class="kt">int</span> <span class="n">test</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">BOOST_SCOPE_EXIT</span><span class="p">(</span><span class="o">&amp;</span><span class="n">test</span><span class="p">)</span> <span class="p">{</span> <span class="n">test</span> <span class="o">=</span> <span class="mi">5</span><span class="p">;</span> <span class="p">}</span> <span class="n">BOOST_SCOPE_EXIT_END</span><span class="p">;</span> <span class="k">return</span> <span class="mi">0</span><span class="p">;</span> <span class="p">}</span> </pre></div></div> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12704 Trac 1.4.3