hi Rene (or Rooters): I have upgraded my ROOT system last night. Cint version is 5.15.76 However, the following error in step (2) -- to compile testDict.C generated by rootcint still exists ! Can anyone confirm this on your system ? What can we do to fix this problem ?? --HP >The problems you have reported so far have been fixed in more recent >versions of CINT and rootcint. >Please upgrade your setup. ---------------------------------------------- >On Thu, 27 Feb 2003, HP Wei wrote: > >> // test.H defines a class B >> class A; >> >> class B { >> public: >> B(); >> ~B(); >> >> bool foo(A **&a); >> }; >> // ------------------------- >> >> # testLinkDef.h >> #ifdef __CINT__ >> >> #pragma link off all globals; >> #pragma link off all classes; >> #pragma link off all functions; >> >> >> #pragma link C++ class B-; >> #endif >> # --------------------------- >> >> Now, let's do the following: >> >> (1) rootcint testDict.C -c -p test.H testLinkDef.h // same result if no -p >> Class B: Streamer() not declared // not shown in new version >> Class B: ShowMembers() not declared // not shown in new version ! >> >> this is fine. >> >> (2) g++ -O -fPIC -I/home/hp/ROOT/include -I./ -c -o testDict.o testDict.C >> >> testDict.C: In function `int G__B_foo_2_0(G__value *, >> const char *, G__param *, int)': >> testDict.C:86: no matching function for call to `B::foo (A *&)' >> test.H:8: candidates are: bool B::foo(A **&) >> >> [Note: I am using Cint 5.14.85 on Solaris.] >> >> Is this due to a BUG in rootcint ?? >> >> thanks, >> HP >> >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET