Opened 4 years ago
Closed 3 years ago
#13598 closed Bugs (duplicate)
VC++ 15 compiler warning C4456: declaration of 'cur' hides previous local declaration
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | To Be Determined | Component: | geometry |
Version: | Boost 1.67.0 | Severity: | Problem |
Keywords: | error warning C4456 | Cc: |
Description
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.
Closing as duplicate, new issue in https://github.com/boostorg/geometry/issues/600