Hej,
I have problems with rootcint using the following class. It consists only of static vectors.
class A
{
static vector<int[7]> a
{
// vector filling
}
};
Using rootcint with
rootcint -f main.cc -c -p $(INCLUDEFLAGS) a.h
I get the error messages:
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/memory LINE:29
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/memory LINE:30
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/memory LINE:31
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/memory LINE:32
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/memory LINE:33
Error: class,struct,union or type int[7] not defined FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/vector LINE:44
Error: Function int7 is not defined in current scope FILE:/opt/software/root_v4.00.02/cint/lib/prec_stl/vector LINE:316
Possible candidates are…
filename line:size busy function type and name
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
thanks for your help,
Gernot