Hi, I'm trying to recompile my code with the dev version 3 of ROOT. I have a problem with one of my custom streamers. The corresponding class contains an array of pointers to objects (TObjArray** mFilesHashTable). So in the previous versions of ROOT I was using a custom streamer to handle this array. The problem with the new version is that, even with the option "-" in LinkDef.h and the streamer not generated, there is a (utility ?) function generated called void R__VHashTable_mFilesHashTable(TBuffer &, char *) What's this new beast ? This function generates an error at compile time : VEGA_G_Database.cc: In function `void R__VHashTable_mFilesHashTable(TBuffer &, char *)': VEGA_G_Database.cc:378: no match for `TBuffer & >> TObjArray **&' /home/buskulic/root/include/TBuffer.h:278: candidates are: class TBuffer & TBuffer::operator >>(Char_t &) /home/buskulic/root/include/TBuffer.h:340: class TBuffer & TBuffer::operator >>(UChar_t &) and so on...... Is there a way to overcome this problem ? Arrays of pointers to objects should be handled properly. If not, I'll have to switch to a TObjArray of TObjArray's or vector<TObjArray*> but for backward compatibility, I would prefer not Cheers Damir -- ===================================================================== | Damir Buskulic | Universite de Savoie/LAPP | | | Chemin de Bellevue, B.P. 110 | | Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex | | e-mail: buskulic@lapp.in2p3.fr | FRANCE | ===================================================================== mailto:buskulic@lapp.in2p3.fr
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET