Hi, Thanks for your report. This is problem related to use of compiled vector (cintdlls) AND the usage of array of vector. We are working on a solution. However, you can also do vector<vector<double> > v; v.reserve(ncolumns); Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Tommaso Chiarusi Sent: Monday, September 29, 2003 10:10 AM To: Root Newsgroup Subject: [ROOT] vector<> incompatibility? Dear rooters, one function of mines, containing the simple declaration on LINE 10 vector<double> *v = new vector<double>[ncolumns]; used to work good with RedHat 7.2, gcc 2.96 and ROOT v. 3.03/09. It is not so with RedHat 9.0, gcc 2.96 and ROOT v. 3.05/07 for I get the following messages: Error: Can't call vector<double,allocator<double> >::vector<double>() in current scope FILE:/home/dimaria/root/macro_bright/Bright_distrib.C LINE:10 Possible candidates are... filename line:size busy function type and name (in vector<double,allocator<double> >) *** Interpreter error recovered *** what's up? Thank you, Tommaso
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET