[geos-devel] [GEOS] #638: Recommend a static_cast around assert strings
GEOS
geos-trac at osgeo.org
Mon Aug 5 13:32:49 PDT 2013
#638: Recommend a static_cast around assert strings
------------------------+---------------------------------------------------
Reporter: goatbar | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.3.8
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by goatbar):
"GCC 4.7.x with numerous patches", but I'm not exactly sure. This is the
message I'm getting:
{{{
geos-3.3.8/src/geom/util/GeometryEditor.cpp:103:13: error: implicit
conversion turns string literal into bool: 'const char [22]' to 'bool'
[-Werror,-Wstring-conversion]
include/assert.h:92:5: note: expanded from macro 'assert'
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/638#comment:3>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list