Re: [ROOT] Compiler warning on Alpha

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Nov 18 2002 - 21:43:36 MET


Hi Thomas,

It is difficult to come with a diagnostic without having
your include file.
I also suggest to move to 3.03/09

Rene Brun

On Mon, 18 Nov 2002, Thomas Bretz wrote:

> Hi,
> 
> I'm using root 3.02/07 on an Alpha with cxx 6.5-014 (TruUnix 5.1A)
> 
> When compiling my classes I get a warning when compiling the rootcint 
> created source file:
> =========================================================================
> cxx: Info: BaseCint.cc, line 1823: Type of actual argument inconsistent with
>            formal parameter declaration in CreateObjList (D:incargtyp)
>          TObjArray 
> *pobj,xobj=((MParList*)(G__getstructoffset()))->CreateObjList(
> (const char*)G__int(libp->para[0]),(const UInt_t)G__int(libp->para[1]));
> ------------------------------------------------------------------^
> cxx: Info: BaseCint.cc, line 1814: Type of actual argument inconsistent with
>            formal parameter declaration in CreateObjList (D:incargtyp)
>          TObjArray 
> *pobj,xobj=((MParList*)(G__getstructoffset()))->CreateObjList(
> (const char*)G__int(libp->para[0]),(const UInt_t)G__int(libp->para[1])
> ------------------------------------------------------------------^
> =========================================================================
> 
> The member function definition the compiler is reffering to is:
> =========================================================================
> class MParList : public TObject
> {
> [...]
> public:
> [...]
> 
> static TObjArray CreateObjList(const char*, UInt_t, const Uint_t, const 
> char*=NULL);
> static TObjArray CreateObjList(const char*, const UInt_t, const char*=NULL);
> [...]
>     ClassDef(MyClass, 1)
> }
> =========================================================================
> 
> What does this mean? How do I get rid of it? Is it maybe already fixed 
> in newer root versions?
> 
> Best regards,
> Thomas.
> 



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