[geos-devel] [GEOS] #954: Fix -Wshadow warning in src/algorithm/InteriorPointArea.cpp

GEOS geos-trac at osgeo.org
Fri Feb 22 11:45:42 PST 2019


#954: Fix -Wshadow warning in src/algorithm/InteriorPointArea.cpp
------------------------+---------------------------
 Reporter:  rouault     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by rouault):

 Unfortunately (or fortunately !) gcc has warnings that clang doesn't have,
 and the reverse. Or sometimes they have the same flags, like -Wshadow, but
 they don't behave exactly the same, and that also depends on the version
 of the compilers... That's the point of having CI testing both...

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/954#comment:7>
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