Hi, The following construct in a header file causes rootcint to die of errors (4.00/03, gcc-3.3.2 FC1): #include <list> using namespace std; typedef std::list<int**> lppI_t; typedef std::list<int**>::iterator lppI_i; The error output is attached (together with linkdef and header file). After playing around for some time, i noticed that adding two 'typename's to cint/lib/prec_stl/memory fixes the problem. The patch is also attached, but i'm not competent on the matter and the fix is most likely a crappy one. Cheers, matevz Generating dictionary for Safr rootcint -f Safr_Dict.cc -c Safr.h Safr_LinkDef.h cint internal limitation in cint/src/typedef.c 977 cint internal limitation in cint/src/typedef.c 977 Syntax error FILE:prec_stl/memory LINE:52 Syntax error FILE:prec_stl/memory LINE:56 Syntax error FILE:prec_stl/memory LINE:57 Limitation: reference or pointer type not handled properly FILE:prec_stl/list LINE:48 Limitation: reference or pointer type not handled properly FILE:prec_stl/list LINE:49 Warning: Error occured during reading source files Warning: Error occured during dictionary source generation !!!Removing Safr_Dict.cc Safr_Dict.h !!! Error: rootcint: error loading headers... make: *** [Safr_Dict.cc] Error 1
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET