Opened 4 years ago

Closed 3 years ago

#13596 closed Bugs (duplicate)

VC++ 15 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.67.0 Severity: Problem
Keywords: warning error C4127 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 (which we declared an error for our project) occur in geometry:

\boost_1_67_0\boost\geometry\algorithms\detail\overlay\sort_by_side.hpp(369): warning C4127: conditional expression is constant

\boost_1_67_0\boost\geometry\algorithms\detail\overlay\handle_colocations.hpp(836): error C4127: conditional expression is constant

\boost_1_67_0\boost\geometry\algorithms\detail\overlay\traversal.hpp(804): error C4127: conditional expression is constant

\boost_1_67_0\boost\geometry\io\wkt\write.hpp(165): error C4127: conditional expression is constant

Change History (3)

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

Keywords: warning error C4127 added

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

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

comment:3 by Barend Gehrels, 3 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.