[geos-devel] [GEOS] #638: Recommend a static_cast around assert strings

GEOS geos-trac at osgeo.org
Wed Feb 1 09:29:05 PST 2017

#638: Recommend a static_cast around assert strings
 Reporter:  goatbar     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.7.0
Component:  Default     |     Version:  3.3.8
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
Changes (by strk):

 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"4331" 4331]:
 #!CommitTicketReference repository="" revision="4331"
 Add static_assert<bool> to strings inside of assert calls

 Allows compiling with -Wpointer-bool-conversion.

 Patch by Kurt Schwehr <schwehr at google.com>
 Closes #638

Ticket URL: <https://trac.osgeo.org/geos/ticket/638#comment:15>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

More information about the geos-devel mailing list