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.4.1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=496010f1aecd53a5028cef3d1ff86e15dee2f6dd;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();