
Geometry : 
Subject: [geometry] "C4127: conditional expression is constant" compiler warning in geometry 1.52.0
From: Volker Schöch (vschoech_at_[hidden])
Date: 20130328 09:29:41
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?
Thanks!
Volker
 Volker Schöch  vschoech_at_[hidden] Senior Software Engineer thinkcell Software GmbH  Chausseestr. 8/E  10115 Berlin  Germany http://www.thinkcell.com  phone +49 30 66647310  US phone +1 800 891 8091 Amtsgericht BerlinCharlottenburg, HRB 85229  European Union VAT Id DE813474306 Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl
Geometry list run by mateusz at loskot.net