Re: [ROOT] Warnings in Rtypes.h

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Aug 21 2003 - 18:34:19 MEST


With what kind of compiler switches do you run to get this warning? We
have not seen it with any of our supported compilers and any of the
supported platforms.

-- Fons


On Thu, 2003-08-21 at 16:23, 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.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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