id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10345,Distance fails to compile for some coordinate types,Branimir Betov ,mkaravel,"Using Boost 1.56 and Visual C++ (2010, 2012, and 2013) the following code fails to compile and it used to work in 1.55. {{{ #!cpp #include ""stdafx.h"" #include #include #include #include #include ""boost/geometry/geometry.hpp"" #include #include namespace bg = boost::geometry; using namespace std; int _tmain(int argc, _TCHAR* argv[]) { typedef bg::model::point> mypt; typedef bg::model::polygon mypoly; mypoly poly; mypt pto(-122.13865, 38.69311); std::string str = ""POLYGON((-122.07493 37.62602,-122.07585 37.626158,-122.07638 37.6258760,-122.076338 37.6253233,-122.075417 37.625003,-122.074693 37.62521,-122.0744 37.625605,-122.07449 37.625765,-122.07449 37.6257,-122.07493 37.62602))""; bg::read_wkt(str, poly); double aa = bg::distance(pto, poly); // in m return 0; } }}} The same failure happens for spherical and geographic coordinate systems, but works fine for cartesian coordinates. ",Bugs,closed,Boost 1.57.0,geometry,Boost 1.56.0,Problem,fixed,,mkaravel