From: jrt Date: Mon, 5 Jan 2004 09:05:43 +0000 (+0000) Subject: [Bug SMESH4830] bug in instal with gcc 2.95. Bug fixed. X-Git-Tag: V1_3_1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fad0769be87f74668e0a39302912a9118a143a2f;p=modules%2Fsmesh.git [Bug SMESH4830] bug in instal with gcc 2.95. Bug fixed. Note: SGI say that is requiered to use set_intersection (see http://www.sgi.com/tech/stl/set_intersection.html). --- diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index 07385dc90..ca5172d4e 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -28,6 +28,9 @@ #include "SMDS_HexahedronOfNodes.hxx" #include "SMDS_FaceOfEdges.hxx" +#include +using namespace std; + /////////////////////////////////////////////////////////////////////////////// /// Create a new mesh object /////////////////////////////////////////////////////////////////////////////// diff --git a/src/SMESHDS/SMESHDS_Document.cxx b/src/SMESHDS/SMESHDS_Document.cxx index f5b03b514..1a07cf0ba 100644 --- a/src/SMESHDS/SMESHDS_Document.cxx +++ b/src/SMESHDS/SMESHDS_Document.cxx @@ -26,9 +26,8 @@ // Module : SMESH // $Header: -using namespace std; #include "SMESHDS_Document.hxx" -#include +#include "utilities.h" //======================================================================= //function : Create