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

GEOS geos-trac at osgeo.org
Tue Feb 26 11:21:24 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 mdavis):

 FWIW, I experimented with add AppleClang to the cmake GCC path (which is
 pretty crazy in itself [1]).  Had to remove -fno-implicit-inline-
 templates.  Then still got a ton of new warnings, mostly about implicit
 conversions.

 So it doesn't seem like there's a simple path to making the OSX build
 chain match the GCC one.

 [1] https://stackoverflow.com/questions/10046114/in-cmake-how-can-i-test-
 if-the-compiler-is-clang

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