mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-31 03:40:34 +05:00
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:
parent
de3649f7a3
commit
f15975c67b
@ -19,12 +19,12 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
#include "DriverSTL_R_SMDS_Mesh.h"
|
#include "DriverSTL_R_SMDS_Mesh.h"
|
||||||
|
|
||||||
#include "SMDS_Mesh.hxx"
|
#include "SMDS_Mesh.hxx"
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include <gp_Pnt.hxx>
|
|
||||||
#include <OSD_Path.hxx>
|
#include <OSD_Path.hxx>
|
||||||
#include <OSD_File.hxx>
|
#include <OSD_File.hxx>
|
||||||
#include <OSD_FromWhere.hxx>
|
#include <OSD_FromWhere.hxx>
|
||||||
@ -32,7 +32,6 @@
|
|||||||
#include <OSD_SingleProtection.hxx>
|
#include <OSD_SingleProtection.hxx>
|
||||||
#include <NCollection_DataMap.hxx>
|
#include <NCollection_DataMap.hxx>
|
||||||
#include <Standard_NoMoreObject.hxx>
|
#include <Standard_NoMoreObject.hxx>
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|
||||||
static const int HEADER_SIZE = 84;
|
static const int HEADER_SIZE = 84;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "Driver_SMDS_Mesh.h"
|
#include "Driver_SMDS_Mesh.h"
|
||||||
|
|
||||||
#include <Standard_TypeDef.hxx>
|
#include <Standard_TypeDef.hxx>
|
||||||
|
#include <gp_Pnt.hxx>
|
||||||
|
|
||||||
class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
||||||
{
|
{
|
||||||
@ -42,4 +43,8 @@ class DriverSTL_R_SMDS_Mesh: public Driver_SMDS_Mesh
|
|||||||
bool myIsAscii;
|
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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user