[Boost-bugs] [Boost C++ Libraries] #13598: VC++ 15 compiler warning C4456: declaration of 'cur' hides previous local declaration

Subject: [Boost-bugs] [Boost C++ Libraries] #13598: VC++ 15 compiler warning C4456: declaration of 'cur' hides previous local declaration
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-13 13:52:55


#13598: VC++ 15 compiler warning C4456: declaration of 'cur' hides previous local
declaration
----------------------------------------+----------------------------
 Reporter: Volker Schöch <vschoech@…> | Owner: Barend Gehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: error warning C4456 |
----------------------------------------+----------------------------
 I'm using Microsoft Visual Studio 15.6.0 to compile boost 1.67.0. I use
 compiler flag /W4. The following warnings occur in geometry:

 **\boost_1_67_0\boost\geometry\algorithms\detail\is_valid\has_spikes.hpp(146):
 warning C4456: declaration of 'prev' hides previous local declaration**

 **\boost_1_67_0\boost\geometry\algorithms\detail\is_valid\has_spikes.hpp(149):
 warning C4456: declaration of 'next' hides previous local declaration**

 **\boost_1_67_0\boost\geometry\algorithms\detail\is_valid\has_spikes.hpp(142):
 warning C4456: declaration of 'cur' hides previous local declaration**

 Consider related ticket #13378.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13598>
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 : 2018-06-13 14:11:42 UTC