Boost logo

Geometry :

Subject: [geometry] Compilation error with version 1.56
From: jakka30 (sjakka_at_[hidden])
Date: 2014-10-22 14:48:52


Hello all,We are trying to move to Latest Boost version 1.56 from version
1.55. In version 1.55, everything compiles fine. When we moved to version
1.56, we are getting the following compile error with Visual Studio 2013
compiler. Could someone help us to fix this
one?t:\boost\boost\geometry\algorithms\assign.hpp(155): error C2780: 'void
boost::geometry::dispatch::assign<boost::geometry::point_tag,Geometry,3>::apply(Point
&,const T &,const T &,const T &)' : expects 4 arguments - 3 provided1>
with1> [1> Geometry=robust_point_type1> ,
Point=robust_point_type1> ]1>
t:\boost\boost\geometry\algorithms\detail\assign_values.hpp(277) : see
declaration of
'boost::geometry::dispatch::assign<boost::geometry::point_tag,Geometry,3>::apply'1>
with1> [1> Geometry=robust_point_type1> ]1>
t:\boost\boost\geometry\policies\robustness\get_rescale_policy.hpp(70) : see
reference to function template instantiation 'void
boost::geometry::assign_values<RobustPoint,boost::long_long_type>(Geometry
&,const Type &,const Type &)' being compiled1> with1> [1>
RobustPoint=robust_point_type1> , Geometry=robust_point_type1>
, Type=boost::long_long_type1> ]1>
t:\boost\boost\geometry\policies\robustness\get_rescale_policy.hpp(154) :
see reference to function template instantiation 'void
boost::geometry::detail::get_rescale_policy::init_rescale_policy<point_type,robust_point_type,Geometry,factor_type>(const
Geometry &,Point &,RobustPoint &,Factor &)' being compiled1> with1>
[1> Geometry=QCS::Polygon3D1> , Point=point_type1>
, RobustPoint=robust_point_type1> ,
Factor=factor_type1> ]1>
t:\boost\boost\geometry\policies\robustness\get_rescale_policy.hpp(277) :
see reference to function template instantiation 'Policy
boost::geometry::detail::get_rescale_policy::get_rescale_policy::apply(const
Geometry &)' being compiled1> with1> [1>
Policy=rescale_policy_type1> , Geometry=QCS::Polygon3D1>
]1>
t:\boost\boost\geometry\policies\robustness\get_rescale_policy.hpp(277) :
see reference to function template instantiation 'Policy
boost::geometry::detail::get_rescale_policy::get_rescale_policy::apply(const
Geometry &)' being compiled1> with1> [1>
Policy=rescale_policy_type1> , Geometry=QCS::Polygon3D1>
]1> t:\boost\boost\geometry\algorithms\intersects.hpp(67) : see
reference to function template instantiation 'Policy
boost::geometry::get_rescale_policy<rescale_policy_type,Geometry>(const
Geometry &)' being compiled1> with1> [1>
Policy=rescale_policy_type1> , Geometry=QCS::Polygon3D1>
]1> q:\lpcore\lassymbols\lppolygon.cpp(1066) : see reference to
function template instantiation 'bool
boost::geometry::intersects<QCS::Polygon3D&lt;Type>>(const Geometry &)'
being compiled1> with1> [1> Type=double1> ,
Geometry=QCS::Polygon3D1> ]Thanks,Suresh

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/Compilation-error-with-version-1-56-tp4026218.html
Sent from the Boost Geometry mailing list archive at Nabble.com.


Geometry list run by mateusz at loskot.net