Ignore:
Timestamp:
Feb 11, 2003, 4:31:10 PM (23 years ago)
Author:
cmv
Message:
  • passage xxstream.h en xxstream
  • compile avec gcc_3.2, gcc_2.96 et cxx En 3.2 le seek from ::end semble marcher (voir Eval/COS/pbseekios.cc)

rz+cmv 11/2/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ppersist.cc

    r2111 r2322  
    66#include "ppersist.h"
    77#include "anydataobj.h"
    8 #include <fstream.h>
    9 #include <iostream.h>
     8#include <fstream>
     9#include <iostream>
    1010#include <typeinfo>
    1111
     
    478478
    479479  // 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)
    481481  // There seems to be a bug where seekg with ios::end under Linux  with g++
    482482  // So, we use seek with ios::beg
Note: See TracChangeset for help on using the changeset viewer.