Boost logo

Geometry :

Subject: Re: [geometry] "C4127: conditional expression is constant" compiler warning in geometry 1.52.0
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-03-28 10:15:21


On 28 March 2013 13:29, Volker Schöch <vschoech_at_[hidden]> wrote:
> Hi,
> I'm using VS 2012 to compile boost 1.52.0. The following warnings occur in geometry (regardless whether I'm compiling for x64 or x86):
>
> \boost_1_52_0\boost\geometry\algorithms\convert.hpp(96): error C4127: conditional expression is constant
> if (Close) ...
>
> \boost_1_52_0\boost\geometry\algorithms\detail\overlay\get_turns.hpp(263): error C4127: conditional expression is constant
> if (InterruptPolicy::enabled) ...
>
> \boost_1_52_0\boost\geometry\algorithms\num_points.hpp(51): error C4127: conditional expression is constant
> if (s == open) ...

These three will likely be suppress, locally, according to
https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines

Best regards,

--
Mateusz Loskot, http://mateusz.loskot.net

Geometry list run by mateusz at loskot.net