Boost logo

Geometry :

Subject: [geometry] Warnings (Microsoft Visual C++ 2010)
From: Volker Schöch (vschoech_at_[hidden])
Date: 2012-02-08 13:35:17


Hi,
when compiling with Microsoft Visual C++ 2010, I receive the following warnings. Any chance these could be eliminated? Or should I actually take them to heart and change something in the way I am calling those algorithms? Yes it's true, I am using integer coordinates for intersection of polygons. That's fine for my application and I think I should be able to do it with GGL -- am I wrong?

error C4189: 'fp_strategy' : local variable is initialized but not referenced ...\boost_1_48_0\boost\geometry\strategies\cartesian\distance_projected_point.hpp 157

error C4244: 'return' : conversion from 'double' to 'int', possible loss of data ...\boost_1_48_0\boost\geometry\strategies\cartesian\distance_projected_point.hpp 169

error C4701: potentially uninitialized local variable 'mindist' used ...\boost_1_48_0\boost\geometry\multi\algorithms\distance.hpp 54

error C4127: conditional expression is constant ...\boost_1_48_0\boost\geometry\algorithms\detail\overlay\overlay.hpp 118

Thank you!
   Volker

--
Volker Schöch | vschoech_at_[hidden]
Senior Software Engineer
think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany
http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091
Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl

Geometry list run by mateusz at loskot.net