[geos-devel] Warnings

Paul Ramsey pramsey at refractions.net
Wed Feb 12 01:45:09 EST 2003


Here are the (non-trivial) warnings I get under Red Hat 8.

MultiPolygon.cpp:31: warning: taking address of temporary
Polygon.cpp:14: warning: taking address of temporary
LineString.cpp:108: warning: taking address of temporary
LineString.cpp:109: warning: taking address of temporary
../graph/GeometryGraph.cpp:42: warning: taking address of temporary
../graph/Edge.cpp:118: warning: taking address of temporary

../graph/Depth.cpp:7: warning: return to non-pointer type `int' from NULL
../graph/Depth.cpp:7: warning: argument to non-pointer type `int' from NULL
../graph/Depth.cpp:14: warning: assignment to non-pointer type `int' 
from NULL
../graph/Depth.cpp:14: warning: argument to non-pointer type `int' from NULL
../graph/Depth.cpp:45: warning: NULL used in arithmetic
../graph/Depth.cpp:53: warning: NULL used in arithmetic
../graph/Depth.cpp:57: warning: NULL used in arithmetic

LineSegment.cpp:138: warning: passing `double' for argument 1 of `
LineSegment.cpp:140: warning: passing `double' for argument 1 of `
LineSegment.cpp:142: warning: passing `double' for argument 1 of `
LineSegment.cpp:144: warning: passing `double' for argument 1 of `

-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the geos-devel mailing list