mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Keep compatible with gcc 2
This commit is contained in:
parent
3297595671
commit
bef8537764
@ -22,7 +22,7 @@
|
|||||||
#ifndef _SMDS_FaceOfEdges_HeaderFile
|
#ifndef _SMDS_FaceOfEdges_HeaderFile
|
||||||
#define _SMDS_FaceOfEdges_HeaderFile
|
#define _SMDS_FaceOfEdges_HeaderFile
|
||||||
|
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_MeshEdge.hxx"
|
#include "SMDS_MeshEdge.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef _SMDS_FaceOfNodes_HeaderFile
|
#ifndef _SMDS_FaceOfNodes_HeaderFile
|
||||||
#define _SMDS_FaceOfNodes_HeaderFile
|
#define _SMDS_FaceOfNodes_HeaderFile
|
||||||
|
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#define _SMDS_MeshEdge_HeaderFile
|
#define _SMDS_MeshEdge_HeaderFile
|
||||||
|
|
||||||
#include "SMDS_MeshElement.hxx"
|
#include "SMDS_MeshElement.hxx"
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
|
|
||||||
class SMDS_MeshEdge:public SMDS_MeshElement
|
class SMDS_MeshEdge:public SMDS_MeshElement
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "SMDS_MeshElementIDFactory.hxx"
|
#include "SMDS_MeshElementIDFactory.hxx"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
class SMDS_MeshNode;
|
class SMDS_MeshNode;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef _SMDS_Tria3OfNodes_HeaderFile
|
#ifndef _SMDS_Tria3OfNodes_HeaderFile
|
||||||
#define _SMDS_Tria3OfNodes_HeaderFile
|
#define _SMDS_Tria3OfNodes_HeaderFile
|
||||||
|
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_MeshNode.hxx"
|
#include "SMDS_MeshNode.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include "SMDS_MeshFace.hxx"
|
#include "SMDS_MeshFace.hxx"
|
||||||
#include "SMDS_Iterator.hxx"
|
#include "SMDS_Iterator.hxx"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <ostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class SMDS_VolumeOfFaces:public SMDS_MeshVolume
|
class SMDS_VolumeOfFaces:public SMDS_MeshVolume
|
||||||
|
@ -42,9 +42,16 @@
|
|||||||
#include <TopoDS_Face.hxx>
|
#include <TopoDS_Face.hxx>
|
||||||
#include <TopoDS_Vertex.hxx>
|
#include <TopoDS_Vertex.hxx>
|
||||||
#include <TopoDS_Edge.hxx>
|
#include <TopoDS_Edge.hxx>
|
||||||
|
|
||||||
//Not portable see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4 to know more.
|
//Not portable see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4 to know more.
|
||||||
#include <ext/hash_map>
|
#ifdef __GNUC__
|
||||||
using namespace __gnu_cxx;
|
#if __GNUC__ < 3
|
||||||
|
#include <hash_map.h>
|
||||||
|
#else
|
||||||
|
#include <ext/hash_map>
|
||||||
|
using namespace __gnu_cxx;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user