Boost logo

Geometry :

Subject: [ggl] difference_type’ does not name a type in segment_range_iterator.hpp
From: Richard Ulrich (richi)
Date: 2010-08-15 09:13:26


I saw the compiler warnings from time to time that I used an obsolete
version of ggl.
But now that I wanted to use comparable_distance, and realized that it
was not available in that old version, I finally upgraded.
But now after changing all the includes and namespaces and the few other
thingies, the following compiler error remains:

../../3rd-party/ggl/boost/geometry/iterators/segment_range_iterator.hpp|
93|error: ?difference_type? does not name a type|
../../3rd-party/ggl/boost/geometry/iterators/segment_range_iterator.hpp|
93|note: (perhaps ?typename
boost::iterator_facade<boost::geometry::segment_range_iterator<Segment>,
const typename boost::geometry::point_type<Geometry>::type,
boost::random_access_traversal_tag, const typename
boost::geometry::point_type<Geometry>::type&, long
int>::difference_type? was intended)|
||=== Build finished: 1 errors, 0 warnings ===|

Do I have to define some traits for boost::geometry::point_ll_deg
myself, or do I have to include another header file?

Rgds
Richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/ggl/attachments/20100815/a8cfba52/attachment.bin


Geometry list run by mateusz at loskot.net