]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
- Patch for GCC 4.3
authorribes <ribes>
Fri, 18 Jul 2008 13:07:11 +0000 (13:07 +0000)
committerribes <ribes>
Fri, 18 Jul 2008 13:07:11 +0000 (13:07 +0000)
src/Batch/Batch_BatchManager.hxx
src/Container/Salome_file_i.hxx
src/Container/TestSalome_file.cxx
src/DF/testDF.cxx
src/Logger/SALOME_Logger_Server.hxx
src/Logger/SALOME_Logger_Server_main.cxx
src/SALOMEDSImpl/SALOMEDSImpl_SObject.hxx
src/SALOMEDSImpl/SALOMEDSImpl_Tool.hxx
src/SALOMELocalTrace/LocalTraceBufferPool.cxx
src/TOOLSDS/SALOMEDS_Tool.cxx

index 92a81a73255138f5cfafde8b5f8e3a21bac36a0b..a1f84bfed7f68845122b90b749c4a61b88f4197e 100644 (file)
 #ifndef _BATCHMANAGER_H_
 #define _BATCHMANAGER_H_
 
+#include <string.h>
+#include <stdlib.h>
+#include <limits.h>
+
 #include <string>
 #include <map>
 #include "Batch_Job.hxx"
index b1337871fef2a5bc2e71b8ddae0ee06757fab3d8..03826f328d821a4823c33958af198d57a36d8292 100644 (file)
@@ -34,6 +34,7 @@
 #include <SALOME_Container.hxx>
 #include <map>
 #include <cstdio>
+#include <string>
 
 class CONTAINER_EXPORT Salome_file_i:
   public virtual POA_Engines::Salome_file
index 76d3b031fc7a2040f0da52392e5556db85279cac..10ef21a2141d7fb3cb4705d8a5f1e6beb96d9fdc 100644 (file)
@@ -3,6 +3,7 @@
 #include <fstream>
 #include <sstream>
 #include "HDFascii.hxx"
+#include <stdlib.h>
 
 using namespace std;
 
index 69dd8920cb378a4c0982ec61d99b78ccb1a93a0c..ae268e765d1d8ae2e21de8cd02a05cb2ffdb067f 100644 (file)
 //Author:  Sergey RUIN
 
 #include <stdio.h>
-#include <iostream.h
+#include <iostream> 
 #include <vector>
 #include <string>
+#include <string.h>
 
 #include "DF_definitions.hxx"
 #include "DF_Application.hxx"
index 6481eb9956a3d9627fb4501b4b76b216118ab2c1..cd0a304c817d21f8b24cd33dddc5adc82b464e8c 100644 (file)
 
 #include <SALOMEconfig.h>
 
-#ifndef WNT
-#include <fstream.h>
-#else
 #include <fstream>
+#ifdef WNT
 #include <iosfwd>
 #endif
 #include <omnithread.h>
@@ -52,11 +50,8 @@ private:
        //otherwise all messages will be put into terminal via cout 
         bool m_putIntoFile;
        //ofstream class specialized for disk file output
-#ifndef WNT
-        ofstream m_outputFile; 
-#else
-               std::ofstream m_outputFile; 
-#endif
+       std::ofstream m_outputFile; 
+
        //synchronisation object
        static omni_mutex myLock;
 };
index c9551d567919d0f9586c9e22f758530bbb31c44f..1be06053f4246e44f100e078f2305e5bed3b1644 100644 (file)
@@ -12,6 +12,8 @@
 #include "SALOME_Logger_Server.hxx"
 #include <SALOMEconfig.h>
 #include <sys/types.h>
+#include <stdlib.h>
+
 #ifndef __WIN32__
 # include <unistd.h>
 #else
index 80d797e412722e389a5ae61c4f64d15040d6b0b1..e77436c81ba89f523fabd1b5369fcecb007498e1 100644 (file)
@@ -28,6 +28,7 @@
 #include "DF_Attribute.hxx"
 #include <string>
 #include <vector>
+#include <string.h>
 
 class SALOMEDSImpl_SComponent;
 class SALOMEDSImpl_Study;
index 36ca6874f05140cc37cb679af919b35c29399569..12ec13542962cc42da0dfcc6572e29f258642fe8 100644 (file)
@@ -31,6 +31,7 @@
 #include <string>
 #include <vector>
 #include "DF_Label.hxx"
+#include <string.h>
 
 class SALOMEDSImpl_Tool                                
 {
index f41e57593b0c60599283b6b11c3468b1f44a820e..435319a83934bd0df790a87ea13396f0fbcb1fb6 100644 (file)
@@ -27,6 +27,7 @@
 #include <iostream>
 #include <limits.h>
 #include <cassert>
+#include <string.h>
 
 #ifndef WNT
 #include <dlfcn.h>
index fcf2be69dad1e7c513e116a140d4d0f43adde91d..172e8359cf609a7dd97d8fb5113047d9e3f2b2fe 100644 (file)
@@ -32,8 +32,8 @@
 #include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <iostream.h
-#include <fstream.h>
+#include <iostream> 
+#include <fstream>
 #include <pwd.h> 
 #include <unistd.h>
 #else