$include_dir="/home/hyper-archives/geometry/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [geometry] Custom Linestring failing with simplify algorithm
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-04-22 17:34:55
Hi Suresh,
Suresh Jakka wrote On 22-4-2014 21:57:
>
> Hello all,
>
> I registered our legacy geometry types with boost geometry. When I try 
> to use the simply algorithm on linestring, I am getting the following 
> compile error messages. Could someone please tell me what I am doing 
> wrong?
>
> Error 21           error C2039: 'const_reference' : is not a member of 
> 'LineString2D<Type>'             c:\program files (x86)\microsoft 
> visual studio 11.0\vc\include\iterator     23
>
> Error 22           error C2146: syntax error : missing ';' before 
> identifier 'const_reference'               c:\program files 
> (x86)\microsoft visual studio 11.0\vc\include\iterator 23
>
> Error 23           error C4430: missing type specifier - int assumed. 
> Note: C++ does not support default-int                c:\program files 
> (x86)\microsoft visual studio 11.0\vc\include\iterator    23
>
> Error 24           error C2602: 
> 'std::back_insert_iterator<_Container>::const_reference' is not a 
> member of a base class of 'std::back_insert_iterator<_Container>' 
> c:\program files (x86)\microsoft visual studio 
> 11.0\vc\include\iterator               23
>
> Error 25           error C2868: 
> 'std::back_insert_iterator<_Container>::const_reference' : illegal 
> syntax for using-declaration; expected qualified-name    c:\program 
> files (x86)\microsoft visual studio 11.0\vc\include\iterator    23
>
> Error 26           error C2039: 'value_type' : is not a member of 
> 'QCS::LineString2D<Type>'             c:\program files (x86)\microsoft 
> visual studio 11.0\vc\include\iterator 24
>
> Error 27           error C2182: '_Val' : illegal use of type 
> 'void'         c:\program files (x86)\microsoft visual studio 
> 11.0\vc\include\iterator               31
>
> Error 28           error C2182: '_Val' : illegal use of type 
> 'void'         c:\program files (x86)\microsoft visual studio 
> 11.0\vc\include\iterator               37
>
The registration is not correct... It seems to confuse the type with an 
iterator, or something like that. Can you send more than this (e.g. the 
type and the registration)?
Regards, Barend