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

GEOS geos-trac at osgeo.org
Mon Feb 25 11:25:32 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):

 > Are we guaranteed that shadowing behaves in the same exact way between
 Java and any implementation of C++ ?

 Of course not. As mentionned above, even C++ compilers do not all agree on
 what is shadowing and what is not. You fix until they are all happy...

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