Changeset 7786


Ignore:
Timestamp:
07/11/06 20:35:27 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7784 r7786  
    2121 2006/07/11 Thomas Bretz
    2222
    23    *  mbase/MStatusArray.cc, mdata/MDataChain.cc, mdata/MDataFormula.cc,
    24       mhflux/MMcSpectrumWeight.cc, mimage/MHillasExt.cc, mjobs/MJCut.cc,
    25       msignal/MExtractTimeAndChargeDigitalFilter.cc,
    26       mranforest/MRanForestCalc.cc:
     23   * mbase/MStatusArray.cc, mdata/MDataChain.cc, mdata/MDataFormula.cc,
     24     mhflux/MMcSpectrumWeight.cc, mimage/MHillasExt.cc, mjobs/MJCut.cc,
     25     msignal/MExtractTimeAndChargeDigitalFilter.cc,
     26     mranforest/MRanForestCalc.cc:
    2727     - fixed some compiler warning of the kind
    2828         ambiguous overload for `Bool_t ? const char[14] : const TString &'
     
    3030       latest Mars version)
    3131
     32   * mbase/MZlib.[h,cc]:
     33     - added some preprocessor statements which allow compilation with
     34       gcc 2.95.3
     35
    3236   * mastro/MAstroCamera.cc:
    3337     - removed path from include
    34    
     38
    3539   * mastro/Makefile:
    3640     - added directory for MHCamera
  • trunk/MagicSoft/Mars/mbase/MZlib.cc

    r7449 r7786  
    120120// --------------------------------------------------------------------------
    121121//
    122 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, ios_base::openmode)
     122# if (__GNUC__>2)
     123streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir,
     124                                   ios_base::openmode)
     125# else
     126streampos MZlib::seekoff(streamoff offset, int dir, int)
     127# endif
    123128{
    124129    // Using a switch instead results in:
     
    170175// --------------------------------------------------------------------------
    171176//
     177# if (__GNUC__>2)
    172178streambuf::pos_type MZlib::seekpos(streambuf::pos_type pos, ios_base::openmode)
     179# else
     180streampos MZlib::seekpos(streampos pos, int)
     181# endif
    173182{
    174183    // Seek the z-stream to the given position
  • trunk/MagicSoft/Mars/mbase/MZlib.h

    r7449 r7786  
    4343    void close();
    4444
     45# if (__GNUC__>2)
    4546    std::streambuf::pos_type seekoff(std::streambuf::off_type, std::ios_base::seekdir,
    4647                                     std::ios_base::openmode = std::ios_base::in);
    4748    std::streambuf::pos_type seekpos(std::streambuf::pos_type,
    4849                                     std::ios_base::openmode = std::ios_base::in);
     50# else
     51    std::streampos seekoff(std::streamoff, int, int = std::ios::in);
     52    std::streampos seekpos(std::streampos, int = std::ios::in);
     53# endif
    4954
    5055    ClassDef(MZlib, 0) // A C++ wrapper to istream zlib files
Note: See TracChangeset for help on using the changeset viewer.