From: Jens Ivar Jordre (jensivar.jordre@fi.uib.no)
Date: Tue Jan 07 2003 - 10:48:36 EST
Howdy. Installing Red Hat 8.0 some time ago I found that brat did not compile properly. Today I therefore delved into converting to brat to be compatible with gcc3.2. Note however that one still has to use aclocal and automake version 1.4, available under RH 8.0 as aclocal-1.4 and automake-1.4. This has to be done since BRAT currently is incompatible with the newer versions of aclocal and automake. I have not touched autogen, so by default this script calling the default versions of aclocal and automake will not work properly in RH 8.0. There is no changed functionality. Most fixes consisted of removing default function arguments in class member function definitions, typically in .cxx files, where they don't belong. All default arguments should go in the function declaration, typically in .h file. Please keep this in mind if you are using older versions of gcc, since gcc 3.2 and above is stricter. I tested that brat compiles on RH 7.2. Since I did not do anything regarding compatibility with newer versions of autotools, I consider the migration not completed and therefore only increased the revision number. I also tagged, of course. Here's a snippet from the ChangeLog. ---- 2003-01-07 Jens Ivar Jordre <jensivar.jordre@fi.uib.no> * util/BrLine3D.cxx, util/BrVector3D.cxx: Update to compile with gcc 3.2 Removed default function arguments from .cxx files. * modules/test/TestBrDetectorParamsTPC.cxx: Update to compile with gcc 3.2 Removed default function arguments from function declaration. * modules/pid/BrC1PidModule.cxx: Update to compile with gcc 3.2 Removed default function arguments from .cxx files * modules/digitize/BrDigitizeTPC.cxx, modules/digitize/BrGeantToDetector Tracks.cxx: Update to compile with gcc 3.2 Removed default function arguments from .cxx files Also replaced call to Standard C++' pow(x,y) with TMath's Power(x,y) whe re the compiler could not distinguish between the two versions of pow, from math .h and from bits/std_cmath.h * modules/calib/chkv/BrC1AdcGainCalModule.cxx, modules/abc/BrModuleConta iner.cxx, managers/BrAppOptionManager.cxx, db/main/BrDbDb.cxx, db/calib/BrCalibr ation.cxx, db/abc/BrDb.cxx, db/abc/BrRootDb.cxx, data/track/BrDetectorHit.cxx, d ata/track/BrHit.cxx, data/track/BrTofTrackMatch.cxx, data/track/BrTpcAdcTable.cx x, data/track/BrTpcHit.cxx, data/track/BrTpcTrackCandidate.cxx, data/track/BrTra ckCandidate.cxx, data/track/BrTrack.cxx, data/track/BrTrackResidual.cxx, data/pa rams/BrDetectorParamsTPC.cxx, data/params/BrChkvParameters.cxx: Update to compile with gcc 3.2 Removed default function arguments from .cxx files * configure.in: Update to compile with gcc 3.2 Increasing revision number to 8 (2.6.8). 2003-01-07 Eun-Joo Kim, BNL, x4448 <ejkim@rcas0021.rcf.bnl.gov> * data/rdo/BrTrackTree.cxx, data/rdo/BrTrackTree.h: delete Tpm1B fiber - no plan added * data/rdo/BrTrackTree.h, data/rdo/BrTrackTree.cxx: Add MRST0 Object ---- Best wishes from Jens Ivar -- _____________________________________________________ ________| Jens Ivar Jřrdre |_______ \ | Dept. of Physics Office: 521 | / \ | Allégt 55 Phone: +47 55 58 27 92 | / \ | 5007 Bergen Fax: +47 55 58 94 40 | / / | Norway E-mail: jensivar.jordre@fi.uib.no | \ / |_____________________________________________________| \ /__________) (_________\
This archive was generated by hypermail 2.1.5 : Tue Jan 07 2003 - 16:55:42 EST