Salome HOME
Porting to Mandrake 10.1 and new products:
authormpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:53:40 +0000 (04:53 +0000)
committermpv <mpv@opencascade.com>
Wed, 8 Jun 2005 04:53:40 +0000 (04:53 +0000)
new compiler gcc 3.4.1 (definition of the implementation methods must be before templates (from TCollection) definition)

src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx
src/DriverSTL/DriverSTL_R_SMDS_Mesh.h

index 93c2cff5bfd0dcbeab51d5f2f033a76ea5c5032a..7128186a01dc843c8b63d915286a78120a9a4724 100644 (file)
 
 #include <stdio.h>
 
+
 #include "DriverSTL_R_SMDS_Mesh.h"
 
 #include "SMDS_Mesh.hxx"
 #include "SMDS_MeshElement.hxx"
 #include "SMDS_MeshNode.hxx"
-#include <gp_Pnt.hxx>
 #include <OSD_Path.hxx>
 #include <OSD_File.hxx>
 #include <OSD_FromWhere.hxx>
@@ -32,7 +32,6 @@
 #include <OSD_SingleProtection.hxx>
 #include <NCollection_DataMap.hxx>
 #include <Standard_NoMoreObject.hxx>
-
 #include "utilities.h"
 
 static const int HEADER_SIZE           =  84;
index 14afd3c21bd84c18896080656dff386b2b885ec5..96f4e07a9a558cbdcdfac073ae39382e4b379b6f 100644 (file)
@@ -23,6 +23,7 @@
 #include "Driver_SMDS_Mesh.h"
 
 #include <Standard_TypeDef.hxx>
+#include <gp_Pnt.hxx>
 
 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