Hi Chris,
The problem that some of the name produced are too long for some of the
fixed length buffer internal to CINT (yes we are working on removing those).
To work-around the problem you need to recompile ROOT with the CPP macro
G__LONGBUF
defined (better yet modify G__ci.h to contained #define G__LONGBUF).
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of chris129_at_cs.iastate.edu
Sent: Friday, May 20, 2005 12:45 PM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] ROOT Stable And 5-D Vector
I'm not sure if this has been discussed before but here goes.
I am able to easily compile things so that they can be loaded into root as
shared libraries. However, if I use a vector of dimensions greater than 4,
such as this:
vector <vector <vector <vector <vector <float> > > > > flt_1;
I cause rootcint to segfault when it's generating the dictionaries:
[chris_at_odin root]$ make
Generating dictionary VhistDict.cxx...
Info: Class Vhist: Streamer() not declared make: *** [VhistDict.cxx] Segmentation fault make: *** Deleting file `VhistDict.cxx'
[chris_at_odin root]$ rootcint -f VhistDict.cxx -c Vhist.h
Segmentation fault
Once again, this is on version 4.04/02, one of the prebuilt ones for RH9.
Can
anyone else tell me if they get the same problems on other builds. This is
the
only install I have of root that I know is working properly!
Note: I do seem to be able to load this library inside of root: .L
Vhist.cpp++
and it seems to work fine.
Received on Mon May 23 2005 - 21:13:18 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET