Changes between Initial Version and Version 2 of Ticket #462

Show
Ignore:
Timestamp:
09/23/11 16:54:32 (21 months ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #462

    • Property status changed from new to closed
    • Property resolution changed from to duplicate
  • 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.