Index: trunk/SophyaLib/BaseTools/complexios.h
===================================================================
--- trunk/SophyaLib/BaseTools/complexios.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/complexios.h	(revision 2322)
@@ -8,5 +8,5 @@
 
 #include "machdefs.h"
-#include <iostream.h>
+#include <iostream>
 
 #if defined(NO_IOS_COMPLEX)
Index: trunk/SophyaLib/BaseTools/dvlist.h
===================================================================
--- trunk/SophyaLib/BaseTools/dvlist.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/dvlist.h	(revision 2322)
@@ -9,5 +9,5 @@
 
 #include <stdio.h>
-#include <iostream.h>
+#include <iostream>
 
 #include "mutyv.h"
Index: trunk/SophyaLib/BaseTools/fiondblock.cc
===================================================================
--- trunk/SophyaLib/BaseTools/fiondblock.cc	(revision 2292)
+++ trunk/SophyaLib/BaseTools/fiondblock.cc	(revision 2322)
@@ -5,5 +5,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
 #include <complex>
 #include "pexceptions.h"
Index: trunk/SophyaLib/BaseTools/fiondblock.h
===================================================================
--- trunk/SophyaLib/BaseTools/fiondblock.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/fiondblock.h	(revision 2322)
@@ -10,5 +10,5 @@
 #include "ppersist.h"
 #include "ndatablock.h"
-#include <iostream.h>
+#include <iostream>
 
 namespace SOPHYA {
Index: trunk/SophyaLib/BaseTools/machdefs_mkmf.h
===================================================================
--- trunk/SophyaLib/BaseTools/machdefs_mkmf.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/machdefs_mkmf.h	(revision 2322)
@@ -246,4 +246,7 @@
 
 
+/* (STREAMPOS_IS_CLASS non-active: ca compile sans sur gcc3.2 et cxx)
+   rz+cmv 11/02/03 */
+
 /* The following is true for most compilers */
 
@@ -275,5 +278,10 @@
 #ifdef __GNUG__
 #define ANSI_TEMPLATES
-// #define GNU_TEMPLATES
+/*
+if (__GNUC__ >= 3) 
+define STREAMPOS_IS_CLASS
+endif
+*/
+#define GNU_TEMPLATES
 #define HAS_STR_NPOS
 #define HAS_IOS_BIN
@@ -337,8 +345,10 @@
 #endif
 
-#ifdef ANSI_IO
-#define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_)
-#define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_)
-#endif
+/* Commente par Reza+CMV - Fev 2003 
+ ifdef ANSI_IO
+ define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_)
+ define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_)
+ endif
+*/ 
 
 #ifdef __MWERKS__
@@ -360,6 +370,4 @@
 #define NO_VALUES_H
 #include "osx_values.h"
-/* Faute de mieux pour le moment : */
-#define drand48() ((double)(random())/LONG_MAX)
 #endif
 
Index: trunk/SophyaLib/BaseTools/mutyv.cc
===================================================================
--- trunk/SophyaLib/BaseTools/mutyv.cc	(revision 2292)
+++ trunk/SophyaLib/BaseTools/mutyv.cc	(revision 2322)
@@ -7,5 +7,5 @@
 #include <stdio.h>
 
-#include <iostream.h>
+#include <iostream>
 #include <string.h>
 
Index: trunk/SophyaLib/BaseTools/mutyv.h
===================================================================
--- trunk/SophyaLib/BaseTools/mutyv.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/mutyv.h	(revision 2322)
@@ -10,5 +10,5 @@
 #include <string>
 #include <complex>
-#include <iostream.h>
+#include <iostream>
 
 namespace SOPHYA {
Index: trunk/SophyaLib/BaseTools/ndatablock.cc
===================================================================
--- trunk/SophyaLib/BaseTools/ndatablock.cc	(revision 2292)
+++ trunk/SophyaLib/BaseTools/ndatablock.cc	(revision 2322)
@@ -5,5 +5,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <iostream.h>
+#include <iostream>
 #include <complex>
 #include "pexceptions.h"
Index: trunk/SophyaLib/BaseTools/ndatablock.h
===================================================================
--- trunk/SophyaLib/BaseTools/ndatablock.h	(revision 2292)
+++ trunk/SophyaLib/BaseTools/ndatablock.h	(revision 2322)
@@ -9,5 +9,5 @@
 #include <stdlib.h>        /* pour que size_t soit defini */
 #include "anydataobj.h"
-#include <iostream.h>
+#include <iostream>
 
 namespace SOPHYA {
Index: trunk/SophyaLib/BaseTools/pexceptions.cc
===================================================================
--- trunk/SophyaLib/BaseTools/pexceptions.cc	(revision 2292)
+++ trunk/SophyaLib/BaseTools/pexceptions.cc	(revision 2322)
@@ -1,4 +1,4 @@
 #include "pexceptions.h"
-#include <iostream.h>
+#include <iostream>
 #include <stdio.h>
 
Index: trunk/SophyaLib/BaseTools/ppersist.cc
===================================================================
--- trunk/SophyaLib/BaseTools/ppersist.cc	(revision 2292)
+++ trunk/SophyaLib/BaseTools/ppersist.cc	(revision 2322)
@@ -6,6 +6,6 @@
 #include "ppersist.h"
 #include "anydataobj.h"
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
 #include <typeinfo>
 
@@ -478,5 +478,5 @@
 
   // Find tag entries at end of file
-#if (defined(Linux) || defined(Darwin)) &&  defined(__GNUG__)
+#if (defined(Linux) || defined(Darwin)) &&  defined(__GNUG__) && (__GNUC__ < 3)
   // There seems to be a bug where seekg with ios::end under Linux  with g++
   // So, we use seek with ios::beg
