Hi Guido, Try to replace : const char DBDataTypeNames[8][20] = {"bool", "vector<bool>", "int", "vector<int>", "float", "vector<float>", "string", "empty"}; By : const char *DBDataTypeNames[] = {"bool", "vector<bool>", "int", "vector<int>", "float", "vector<float>", "string", "empty"}; Hope it helps, Cheers, Bertrand. ----- Original Message ----- From: "Guido Gagliardi" <Guido.Gagliardi@ge.infn.it> To: <roottalk@pcroot.cern.ch> Sent: Friday, October 31, 2003 6:59 PM Subject: [ROOT] Const char[][] > Hi, > still trying to generate the dictionary for my class, i got this error > message: > > Generating dictionary RootDBDict.cxx... > Error: array initialization FILE:PixConfDBInterface.h LINE:33 > Syntax Error: "empty" Maybe missing ';' FILE:PixConfDBInterface.h LINE:33 > Error: Too many '}' FILE:PixConfDBInterface.h LINE:118 > Warning: Error occured during reading source files > Warning: Error occured during dictionary source generation > !!!Removing RootDBDict.cxx RootDBDict.h !!! > Error: rootcint: error loading headers... > make: *** [RootDBDict.cxx] Error 1 > > referring to this code line: > > const char DBDataTypeNames[8][20] = {"bool", "vector<bool>", "int", > "vector<int>", "float", "vector<float>", "string", "empty"}; > > Is this normal? What sould i do to avoid this problem? > > I am using root 3.10.01 and linux red hat 7.3, with gcc 2.96 > > Thank you > > Guido >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET