From c8ed8f13dc482ff56094d217cfe54027f90a9c8f Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 20 Jun 2011 13:29:24 +0000 Subject: [PATCH] Porting SALOME6 on windows. --- src/GEOMBase/GEOM_GenericObjPtr.h | 4 +++- src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/GEOMBase/GEOM_GenericObjPtr.h b/src/GEOMBase/GEOM_GenericObjPtr.h index 43eca3feb..fa48ae28d 100644 --- a/src/GEOMBase/GEOM_GenericObjPtr.h +++ b/src/GEOMBase/GEOM_GenericObjPtr.h @@ -25,6 +25,8 @@ #ifndef GEOM_GenericObjPtr_H #define GEOM_GenericObjPtr_H +#include "GEOM_GEOMBase.hxx" + #include "SALOMEconfig.h" #include CORBA_SERVER_HEADER(GEOM_Gen) @@ -228,7 +230,7 @@ namespace GEOM typedef GenericObjPtr GroupOpPtr; typedef GenericObjPtr AdvancedOpPtr; - template<> bool GenericObjPtr::isSame( GEOM::GEOM_Object_ptr theLeft, GEOM::GEOM_Object_ptr theRight ); + template<> bool GEOMBASE_EXPORT GenericObjPtr::isSame( GEOM::GEOM_Object_ptr theLeft, GEOM::GEOM_Object_ptr theRight ); } #endif // GEOM_GenericObjPtr_H diff --git a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx index 329f4eec2..b545e3c48 100644 --- a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx @@ -20,6 +20,14 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +#ifdef WNT +// E.A. : On windows with python 2.6, there is a conflict +// E.A. : between pymath.h and Standard_math.h which define +// E.A. : some same symbols : acosh, asinh, ... +#include +#include +#endif + #include #include -- 2.39.2