Changes between Initial Version and Version 2 of Ticket #462
- Timestamp:
- Sep 23, 2011, 4:54:32 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #462
- Property Status new → closed
- Property Resolution → duplicate
-
Ticket #462 – Description
initial v2 1 1 Apparently, g++ does not object to implicit conversions from geos::geom::GeometryCollection * (or other geometry types) to std::auto_ptr<Geometry>, but clang raises an error: 2 2 3 {{{ 3 4 libtool: compile: /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -I/usr/pkg/include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -pipe -O2 -arch x86_64 -MT ConvexHull.lo -MD -MP -MF .deps/ConvexHull.Tpo -c ConvexHull.cpp -fno-common -DPIC -o .libs/ConvexHull.o 4 5 … … 83 84 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 84 85 ^ 86 }}} 85 87 86 88 It might be necessary to insert dynamic or static casts.