- Timestamp:
- 07/11/06 20:35:27 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7784 r7786 21 21 2006/07/11 Thomas Bretz 22 22 23 * 24 25 26 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: 27 27 - fixed some compiler warning of the kind 28 28 ambiguous overload for `Bool_t ? const char[14] : const TString &' … … 30 30 latest Mars version) 31 31 32 * mbase/MZlib.[h,cc]: 33 - added some preprocessor statements which allow compilation with 34 gcc 2.95.3 35 32 36 * mastro/MAstroCamera.cc: 33 37 - removed path from include 34 38 35 39 * mastro/Makefile: 36 40 - added directory for MHCamera -
trunk/MagicSoft/Mars/mbase/MZlib.cc
r7449 r7786 120 120 // -------------------------------------------------------------------------- 121 121 // 122 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, ios_base::openmode) 122 # if (__GNUC__>2) 123 streambuf::pos_type MZlib::seekoff(streambuf::off_type offset, ios_base::seekdir dir, 124 ios_base::openmode) 125 # else 126 streampos MZlib::seekoff(streamoff offset, int dir, int) 127 # endif 123 128 { 124 129 // Using a switch instead results in: … … 170 175 // -------------------------------------------------------------------------- 171 176 // 177 # if (__GNUC__>2) 172 178 streambuf::pos_type MZlib::seekpos(streambuf::pos_type pos, ios_base::openmode) 179 # else 180 streampos MZlib::seekpos(streampos pos, int) 181 # endif 173 182 { 174 183 // Seek the z-stream to the given position -
trunk/MagicSoft/Mars/mbase/MZlib.h
r7449 r7786 43 43 void close(); 44 44 45 # if (__GNUC__>2) 45 46 std::streambuf::pos_type seekoff(std::streambuf::off_type, std::ios_base::seekdir, 46 47 std::ios_base::openmode = std::ios_base::in); 47 48 std::streambuf::pos_type seekpos(std::streambuf::pos_type, 48 49 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 49 54 50 55 ClassDef(MZlib, 0) // A C++ wrapper to istream zlib files
Note:
See TracChangeset
for help on using the changeset viewer.