Changeset 1900 in Sophya for trunk/SophyaLib/BaseTools


Ignore:
Timestamp:
Feb 15, 2002, 6:35:01 PM (24 years ago)
Author:
ansari
Message:

Portage sous Mac OS X - Reza 15/02/2002

Location:
trunk/SophyaLib/BaseTools
Files:
2 edited

Legend:

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

    r1783 r1900  
    5656ppclassNameList = new map<string, uint_8>;
    5757dobjclassNameList = new map<string, uint_8>;
     58cout << " PIOPersist::Initialize() Starting Sophya Persistence management service " << endl;
    5859}
    5960
     
    477478
    478479  // Find tag entries at end of file
    479 #if defined(Linux) &&  defined(__GNUG__)
     480#if (defined(Linux) || defined(Darwin)) &&  defined(__GNUG__)
    480481  // There seems to be a bug where seekg with ios::end under Linux  with g++
    481482  // So, we use seek with ios::beg
     483  // The bug seems to be there also with Darwin/MacOSX
    482484  s->seekg(0, ios::end);
    483485  int_8 tagpos = s->tellg() - (sizeof(int_8)+1);
  • trunk/SophyaLib/BaseTools/sophyainit.cc

    r1607 r1900  
    3333SophyaInitiator::SophyaInitiator()
    3434{
     35#if defined(Darwin)
     36  // Il semble y avoir un probleme sous MacOSX ...
     37  if (FgInit == 0)
     38    cout << " SophyaInitiator::SophyaInitiator() BaseTools Init" << endl;
     39#endif
    3540  FgInit++;
    3641  if (FgInit > 1)  return;
Note: See TracChangeset for help on using the changeset viewer.