Changeset 2322 in Sophya for trunk/SophyaLib/BaseTools
- Timestamp:
- Feb 11, 2003, 4:31:10 PM (23 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/complexios.h
r268 r2322 8 8 9 9 #include "machdefs.h" 10 #include <iostream .h>10 #include <iostream> 11 11 12 12 #if defined(NO_IOS_COMPLEX) -
trunk/SophyaLib/BaseTools/dvlist.h
r1310 r2322 9 9 10 10 #include <stdio.h> 11 #include <iostream .h>11 #include <iostream> 12 12 13 13 #include "mutyv.h" -
trunk/SophyaLib/BaseTools/fiondblock.cc
r1967 r2322 5 5 #include <stdio.h> 6 6 #include <stdlib.h> 7 #include <iostream .h>7 #include <iostream> 8 8 #include <complex> 9 9 #include "pexceptions.h" -
trunk/SophyaLib/BaseTools/fiondblock.h
r802 r2322 10 10 #include "ppersist.h" 11 11 #include "ndatablock.h" 12 #include <iostream .h>12 #include <iostream> 13 13 14 14 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/machdefs_mkmf.h
r1889 r2322 246 246 247 247 248 /* (STREAMPOS_IS_CLASS non-active: ca compile sans sur gcc3.2 et cxx) 249 rz+cmv 11/02/03 */ 250 248 251 /* The following is true for most compilers */ 249 252 … … 275 278 #ifdef __GNUG__ 276 279 #define ANSI_TEMPLATES 277 // #define GNU_TEMPLATES 280 /* 281 if (__GNUC__ >= 3) 282 define STREAMPOS_IS_CLASS 283 endif 284 */ 285 #define GNU_TEMPLATES 278 286 #define HAS_STR_NPOS 279 287 #define HAS_IOS_BIN … … 337 345 #endif 338 346 339 #ifdef ANSI_IO 340 #define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_) 341 #define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_) 342 #endif 347 /* Commente par Reza+CMV - Fev 2003 348 ifdef ANSI_IO 349 define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_) 350 define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_) 351 endif 352 */ 343 353 344 354 #ifdef __MWERKS__ … … 360 370 #define NO_VALUES_H 361 371 #include "osx_values.h" 362 /* Faute de mieux pour le moment : */363 #define drand48() ((double)(random())/LONG_MAX)364 372 #endif 365 373 -
trunk/SophyaLib/BaseTools/mutyv.cc
r1607 r2322 7 7 #include <stdio.h> 8 8 9 #include <iostream .h>9 #include <iostream> 10 10 #include <string.h> 11 11 -
trunk/SophyaLib/BaseTools/mutyv.h
r1875 r2322 10 10 #include <string> 11 11 #include <complex> 12 #include <iostream .h>12 #include <iostream> 13 13 14 14 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/ndatablock.cc
r1873 r2322 5 5 #include <stdio.h> 6 6 #include <stdlib.h> 7 #include <iostream .h>7 #include <iostream> 8 8 #include <complex> 9 9 #include "pexceptions.h" -
trunk/SophyaLib/BaseTools/ndatablock.h
r1623 r2322 9 9 #include <stdlib.h> /* pour que size_t soit defini */ 10 10 #include "anydataobj.h" 11 #include <iostream .h>11 #include <iostream> 12 12 13 13 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/pexceptions.cc
r1960 r2322 1 1 #include "pexceptions.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdio.h> 4 4 -
trunk/SophyaLib/BaseTools/ppersist.cc
r2111 r2322 6 6 #include "ppersist.h" 7 7 #include "anydataobj.h" 8 #include <fstream .h>9 #include <iostream .h>8 #include <fstream> 9 #include <iostream> 10 10 #include <typeinfo> 11 11 … … 478 478 479 479 // Find tag entries at end of file 480 #if (defined(Linux) || defined(Darwin)) && defined(__GNUG__) 480 #if (defined(Linux) || defined(Darwin)) && defined(__GNUG__) && (__GNUC__ < 3) 481 481 // There seems to be a bug where seekg with ios::end under Linux with g++ 482 482 // So, we use seek with ios::beg
Note:
See TracChangeset
for help on using the changeset viewer.