Boost logo

Geometry :

Subject: [ggl] error: _hypot was not declared in this scope
From: Mateusz Loskot (mateusz)
Date: 2009-05-14 10:42:47


Hi,

I've forgot about one error I noticed last night.

When I'm trying to build projections.cpp test program using GCC, I'm
getting error message(s) about undeclared _hypot:

gcc.compile.c++ bin/projections.test/gcc-4.3.3/debug/projections.o
In file included from ../../../boost/ggl/projections/factory.hpp:46,
                 from projections/projections.cpp:17:
../../../boost/ggl/projections/proj/geos.hpp: In member function ?void
ggl::projection::impl::geos::base_geos_ellipsoid<LatLong, Cartesian,
Parameters>::fwd(typename
ggl::projection::impl::base_t_fi<ggl::projection::impl::geos::base_geos_ellipsoid<LatLong,
Cartesian, Parameters>, LatLong, Cartesian, Parameters>::LL_T&, typename
ggl::projection::impl::base_t_fi<ggl::projection::impl::geos::base_geos_ellipsoid<LatLong,
Cartesian, Parameters>, LatLong, Cartesian, Parameters>::LL_T&, typename
ggl::projection::impl::base_t_fi<ggl::projection::impl::geos::base_geos_ellipsoid<LatLong,
Cartesian, Parameters>, LatLong, Cartesian, Parameters>::XY_T&, typename
ggl::projection::impl::base_t_fi<ggl::projection::impl::geos::base_geos_ellipsoid<LatLong,
Cartesian, Parameters>, LatLong, Cartesian, Parameters>::XY_T&) const?:
../../../boost/ggl/projections/proj/geos.hpp:92: error: there are no
arguments to ?_hypot? that depend on a template parameter, so a
declaration of ?_hypot? must be available

It looks like it was introduced during recent update to the proj stuff
generator.

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

Geometry list run by mateusz at loskot.net