Salome HOME
Keep compatible with gcc 2
authorjrt <jrt>
Tue, 23 Sep 2003 14:33:41 +0000 (14:33 +0000)
committerjrt <jrt>
Tue, 23 Sep 2003 14:33:41 +0000 (14:33 +0000)
src/SMDS/SMDS_FaceOfEdges.hxx
src/SMDS/SMDS_FaceOfNodes.hxx
src/SMDS/SMDS_MeshEdge.hxx
src/SMDS/SMDS_MeshElement.hxx
src/SMDS/SMDS_Tria3OfNodes.hxx
src/SMDS/SMDS_VolumeOfFaces.hxx
src/SMESHDS/SMESHDS_Mesh.hxx

index 6f4d56c..978ad5d 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _SMDS_FaceOfEdges_HeaderFile
 #define _SMDS_FaceOfEdges_HeaderFile
 
-#include <ostream>
+#include <iostream>
 #include "SMDS_MeshFace.hxx"
 #include "SMDS_MeshEdge.hxx"
 #include "SMDS_Iterator.hxx"
index e368a96..809ee5f 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _SMDS_FaceOfNodes_HeaderFile
 #define _SMDS_FaceOfNodes_HeaderFile
 
-#include <ostream>
+#include <iostream>
 #include "SMDS_MeshFace.hxx"
 #include "SMDS_MeshNode.hxx"
 #include "SMDS_Iterator.hxx"
index 0ed6e55..cfef08e 100644 (file)
@@ -28,7 +28,7 @@
 #define _SMDS_MeshEdge_HeaderFile
 
 #include "SMDS_MeshElement.hxx"
-#include <ostream>
+#include <iostream>
 
 class SMDS_MeshEdge:public SMDS_MeshElement
 {
index d35e151..86bc6dd 100644 (file)
@@ -33,7 +33,7 @@
 #include "SMDS_MeshElementIDFactory.hxx"
 
 #include <vector>
-#include <ostream>
+#include <iostream>
 
 using namespace std;
 class SMDS_MeshNode;
index a52dd7a..ee4c330 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _SMDS_Tria3OfNodes_HeaderFile
 #define _SMDS_Tria3OfNodes_HeaderFile
 
-#include <ostream>
+#include <iostream>
 #include "SMDS_MeshFace.hxx"
 #include "SMDS_MeshNode.hxx"
 #include "SMDS_Iterator.hxx"
index ed5efc9..05480f3 100644 (file)
@@ -31,7 +31,7 @@
 #include "SMDS_MeshFace.hxx"
 #include "SMDS_Iterator.hxx"
 #include <vector>
-#include <ostream>
+#include <iostream>
 using namespace std;
 
 class SMDS_VolumeOfFaces:public SMDS_MeshVolume
index ce7d49a..6159a4f 100644 (file)
 #include <TopoDS_Face.hxx>
 #include <TopoDS_Vertex.hxx>
 #include <TopoDS_Edge.hxx>
+
 //Not portable see http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_4 to know more.
-#include <ext/hash_map>
-using namespace __gnu_cxx;
+#ifdef __GNUC__
+#if __GNUC__ < 3
+       #include <hash_map.h>
+#else
+       #include <ext/hash_map>
+       using namespace __gnu_cxx;
+#endif
+#endif
 
 using namespace std;