[ROOT] Const char[][]

From: Guido Gagliardi (Guido.Gagliardi@ge.infn.it)
Date: Fri Oct 31 2003 - 18:59:42 MET


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