Opened 9 months ago

Last modified 3 months ago

#13377 new Bugs

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 (3)

comment:1 Changed 9 months ago by Volker Schöch <vschoech@…>

Keywords: warning error C4458 added

comment:2 Changed 3 months ago by Volker Schöch <vschoech@…>

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

comment:3 Changed 3 months ago by Volker Schöch <vschoech@…>

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

Note: See TracTickets for help on using tickets.