Re: [ROOT] Warnings in Rtypes.h

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Aug 21 2003 - 18:43:36 MEST


Hi Thomas,

I do not see this message using gcc2.95. On which system are you getting
the problem?
Could you provide a small test? ROOT classes do not show this problem.

Rene Brun

On 
Thu, 21 Aug 2003, Thomas Bretz wrote:

> Dear all,
> 
> after updating to root 3.05/07 from 3.02/07 we get warnings in Rtypes.h 
> (using gcc 2.95) Can this be fixed, please?
> 
> ----------------------------------------------------------------------------
> In file included from /CERN/root/3.05.07/root/include/TObject.h:31,
>                  from /CERN/root/3.05.07/root/include/TNamed.h:26,
>                  from /CERN/root/3.05.07/root/include/TDirectory.h:25,
>                  from /CERN/root/3.05.07/root/include/TROOT.h:29,
>                  from ../mbase/MAGIC.h:11,
>                  from MSearch.h:5,
>                  from MSearch.cc:41:
> /CERN/root/3.05.07/root/include/Rtypes.h:99: warning: negative integer 
> implicitly converted to unsigned type
> /CERN/root/3.05.07/root/include/Rtypes.h:101: warning: negative integer 
> implicitly converted to unsigned type
> ----------------------------------------------------------------------------
> 
> For the time being I'll try to find the corresponding compiler switch, 
> but this may only remove the warning, and other important warning may be 
> missed. Do you know whether the warning in Rtypes.h may result in real 
> trouble?
> 
> Thanks,
> Thomas.
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET