Boost C++ Libraries: Ticket #10666: VC++ 2013 compiler warning C4127: conditional expression is constant https://svn.boost.org/trac10/ticket/10666 <p> I'm using Microsoft Visual Studio 12 (2013) to compile boost 1.56.0. I use compiler flag /W4. The following warnings (which we declared errors for our project) occur in geometry, regardless whether I'm compiling for x64 or x86: </p> <pre class="wiki">\boost_1_56_0\boost\geometry\algorithms\remove_spikes.hpp(97): error C4127: conditional expression is constant \boost_1_56_0\boost\geometry\algorithms\remove_spikes.hpp(130): error C4127: conditional expression is constant </pre><p> Please consider related Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8403" title="#8403: Support Requests: VC++ 2012 compiler warning C4127: conditional expression is constant (closed: fixed)">#8403</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10666 Trac 1.4.3 Volker Schöch <vschoech@…> Thu, 20 Nov 2014 09:43:29 GMT version changed https://svn.boost.org/trac10/ticket/10666#comment:1 https://svn.boost.org/trac10/ticket/10666#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.56.0</span> → <span class="trac-field-new">Boost 1.57.0</span> </li> </ul> <p> This warning is still present in 1.57.0. </p> Ticket awulkiew Wed, 11 Feb 2015 19:55:39 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/10666#comment:2 https://svn.boost.org/trac10/ticket/10666#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> Fix: <a class="ext-link" href="https://github.com/boostorg/geometry/pull/218"><span class="icon">​</span>https://github.com/boostorg/geometry/pull/218</a> </p> <p> I also fixed one in Rational which is Geometry dependency.<br /> See: <a class="ext-link" href="https://github.com/boostorg/rational/pull/7"><span class="icon">​</span>https://github.com/boostorg/rational/pull/7</a> </p> Ticket