Opened 5 years ago

Closed 3 years ago

#13377 closed Bugs (duplicate)

VC++ 14 error C4458: declaration of 'debug_phase' hides class member

Reported by: Volker Schöch <vschoech@…> Owned by: Barend Gehrels
Milestone: To Be Determined Component: geometry
Version: Boost 1.66.0 Severity: Problem
Keywords: warning, error, C4458 Cc:

Description

I am using Microsoft Visual Studio 15.5.1 (VCToolsVersion 14.12.25827) to compile boost 1.66.0. I use compiler flag /W4. The following error occurs in geometry:

\boost_1_66_0\boost\geometry\algorithms\detail\is_valid\multipolygon.hpp(291): error C4458: declaration of 'debug_phase' hides class member

Change History (4)

comment:1 by Volker Schöch <vschoech@…>, 5 years ago

Keywords: warning error C4458 added

comment:2 by Volker Schöch <vschoech@…>, 4 years ago

This problem is still present in boost 1.67.0, compiling with Microsoft Visual Studio 15.6.0.

comment:3 by Volker Schöch <vschoech@…>, 4 years ago

There is a similar issue in another file, too:

\boost_1_67_0\boost\geometry\strategies\cartesian\intersection.hpp(182): error C4458: declaration of 'promoted_type' hides class member

comment:4 by Barend Gehrels, 3 years ago

Resolution: duplicate
Status: newclosed

Closing as duplicate, new issue in https://github.com/boostorg/geometry/issues/597

Note: See TracTickets for help on using tickets.