[ROOT] Compiler warning on Alpha

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Mon Nov 18 2002 - 12:55:57 MET


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