From: mpv Date: Wed, 22 Jun 2016 07:37:19 +0000 (+0300) Subject: Fix for problems of compilation on Windows X-Git-Tag: V_2.5.0~227 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eac5a8255f130a01dace3d5930e714f90f723365;p=modules%2Fshaper.git Fix for problems of compilation on Windows --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h b/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h index 26a7e82fd..ef804ed78 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_DirectAPI.h @@ -19,7 +19,7 @@ namespace GeomAlgoAPI_DirectAPI * \ingroup DataAlgo * \brief Allows to access the direct API */ -class GeomAlgoAPI_DirectAPI +class GEOMALGOAPI_EXPORT GeomAlgoAPI_DirectAPI { public: /// Creates a box using the dimensions. diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp index 4f74d5aef..e8a372682 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp @@ -204,7 +204,7 @@ void GeomAlgoAPI_MakeShape::initialize() { //================================================================================================= void GeomAlgoAPI_MakeShape::prepareNamingFaces() { - int index = 1; + long double index = 1; GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE); for(GeomAPI_ShapeExplorer anExp(shape(), GeomAPI_Shape::FACE); anExp.more(); anExp.next()) { std::shared_ptr aFace = anExp.current();