|
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:01:59
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) ...
>
> Maybe it's possible to eliminate those warnings for the next boost version?
I will look at those working.
You may consider to submit reports (or all in one) to https://svn.boost.org/
This makes it easier to not to miss it while releasing.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net