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:

93|error: ?difference_type? does not name a type|
93|note: (perhaps ?typename
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?


-------------- 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 :

Geometry list run by mateusz at