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)
This commit is contained in:
mpv 2005-06-08 04:53:40 +00:00
parent de3649f7a3
commit f15975c67b
2 changed files with 6 additions and 2 deletions

View File

@ -19,12 +19,12 @@
#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;

View 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