Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13376 closed Bugs (fixed)

VC++ 14 compiler warning C4127: conditional expression is constant

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, C4127 Cc:

Description

I'm using Microsoft Visual Studio 15.5.1 (VCToolsVersion 14.12.25827) to compile boost 1.66.0. I use compiler flag /W4. The following warning (which we declared an error for our project) occurs in geometry:

\boost_1_66_0\boost\geometry\algorithms\detail\overlay\traversal_switch_detector.hpp(459): warning C4127: conditional expression is constant

Change History (3)

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

Keywords: warning C4127 added

comment:2 by Barend Gehrels, 5 years ago

Resolution: fixed
Status: newclosed

Thanks, fixed (27b15722cac065d5248ae8ba5507efdd1671e239), will be released in 1.67 (cannot select that now)

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

See also VC++ 15 compiler warning C4127: conditional expression is constant
https://svn.boost.org/trac10/ticket/13596

Note: See TracTickets for help on using tickets.