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/machdefs_mkmf.h

    r1889 r2322  
    246246
    247247
     248/* (STREAMPOS_IS_CLASS non-active: ca compile sans sur gcc3.2 et cxx)
     249   rz+cmv 11/02/03 */
     250
    248251/* The following is true for most compilers */
    249252
     
    275278#ifdef __GNUG__
    276279#define ANSI_TEMPLATES
    277 // #define GNU_TEMPLATES
     280/*
     281if (__GNUC__ >= 3)
     282define STREAMPOS_IS_CLASS
     283endif
     284*/
     285#define GNU_TEMPLATES
    278286#define HAS_STR_NPOS
    279287#define HAS_IOS_BIN
     
    337345#endif
    338346
    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*/
    343353
    344354#ifdef __MWERKS__
     
    360370#define NO_VALUES_H
    361371#include "osx_values.h"
    362 /* Faute de mieux pour le moment : */
    363 #define drand48() ((double)(random())/LONG_MAX)
    364372#endif
    365373
Note: See TracChangeset for help on using the changeset viewer.