Opened 4 years ago
Closed 3 years ago
#13596 closed Bugs (duplicate)
VC++ 15 compiler warning C4127: conditional expression is constant
Reported by: | 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 , 4 years ago
Keywords: | warning error C4127 added |
---|
comment:2 by , 4 years ago
comment:3 by , 3 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Close as duplicate, now in https://github.com/boostorg/geometry/issues/599
See also VC++ 14 compiler warning C4127: conditional expression is constant
https://svn.boost.org/trac10/ticket/13376