From: mpv Date: Wed, 8 Jun 2005 04:53:40 +0000 (+0000) Subject: Porting to Mandrake 10.1 and new products: X-Git-Tag: T2_2_4a~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f15975c67b23ca009514fbc80a9c312d8f89a63f;p=modules%2Fsmesh.git Porting to Mandrake 10.1 and new products: new compiler gcc 3.4.1 (definition of the implementation methods must be before templates (from TCollection) definition) --- diff --git a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx index 93c2cff5b..7128186a0 100644 --- a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx +++ b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx @@ -19,12 +19,12 @@ #include + #include "DriverSTL_R_SMDS_Mesh.h" #include "SMDS_Mesh.hxx" #include "SMDS_MeshElement.hxx" #include "SMDS_MeshNode.hxx" -#include #include #include #include @@ -32,7 +32,6 @@ #include #include #include - #include "utilities.h" static const int HEADER_SIZE = 84; diff --git a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.h b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.h index 14afd3c21..96f4e07a9 100644 --- a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.h +++ b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.h @@ -23,6 +23,7 @@ #include "Driver_SMDS_Mesh.h" #include +#include class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh { @@ -42,4 +43,8 @@ class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh bool myIsAscii; }; +// mpv: for compatibility with Mandrake 10.1 compiler +inline Standard_Integer HashCode (const gp_Pnt& point, const Standard_Integer Upper); +inline Standard_Boolean IsEqual (const gp_Pnt& point1, const gp_Pnt& point2); + #endif