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 Fri May 20 2005 - 19:44:48 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET