[ROOT] vector<> incompatibility?

From: Tommaso Chiarusi (Tommaso.Chiarusi@bo.infn.it)
Date: Mon Sep 29 2003 - 17:10:26 MEST


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