Changes between Initial Version and Version 2 of Ticket #462


Ignore:
Timestamp:
Sep 23, 2011, 4:54:32 PM (13 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #462

    • Property Status newclosed
    • Property Resolutionduplicate
  • Ticket #462 – Description

    initial v2  
    11Apparently, 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:
    22
     3{{{
    34libtool: 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
    45
     
    8384        auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
    8485        ^
     86}}}
    8587
    8688It might be necessary to insert dynamic or static casts.