[ROOT] Bug in ROOT compilation with FreeBSD 4.6

From: Pierre-Luc Drouin (pldrouin@physics.carleton.ca)
Date: Sat Aug 03 2002 - 06:11:12 MEST


Hello,

I've got a bug when I've tried to compile ROOT on a FreeBSD 4.6 station.

It's about the return statement in file base/src/TTimeStamp line 277
(member function GetZoneOffset()). It says than the return statement
returns a char* and it is supposed to be a Int_t. I've looked in
timezone(3) and this function returns really a char*. The line 277 being
#ifndef R__MACOSX, I've thought I could use the MAC OSX code. So, I've
commented lines 277 and 278 and it seems to work now.

Have I done the right thing?

Thank you!

Pierre-Luc Drouin
SNO, Carleton University



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:03 MET