]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 6f4d56c772e91ff2e1eb35e60afeb917e7a12304..978ad5df60aa55a0d9660f181acba45136e17ae0 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 e368a96affcab65a078cf1901d5d969f9293f635..809ee5f1c1710e8f9051f662a23e39a615216c4e 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 0ed6e5548dc6a0e74f65da8e21651506dcc8ecee..cfef08ed7eac938d9bb90b3a4271e1bcb8fe75fe 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 d35e151bd4d249f5b2a69b3a7a4cebead2f893bd..86bc6ddb5109df689494b1f5bea20ec160b21d0b 100644 (file)
@@ -33,7 +33,7 @@
 #include "SMDS_MeshElementIDFactory.hxx"
 
 #include <vector>
-#include <ostream>
+#include <iostream>
 
 using namespace std;
 class SMDS_MeshNode;
index a52dd7a1f30b2fb2fe00bfb2b3cb10761065fafe..ee4c330da567e0ec22cda3bc597994a564dec269 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 ed5efc9c929eea7c1cc6f7b73596208f2d4c0316..05480f3df0ea075ee98627bd000a7b24f5f1e6e7 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 ce7d49a87f7bec0f7439167d4a2a2f39d545f948..6159a4fca69bb143cdc7bd1520d4894cee54436b 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;