[ROOT] STL weird behavior of vector

From: Alexandre Camsonne (camsonne@jlab.org)
Date: Thu Jul 25 2002 - 23:36:10 MEST


Hello,

Our computers have been uprgraded from Redhat 6.2 to 7.2 with gcc 3.0.4.

We are using root 3.03/06

I get an error with rootcint for a data member :

vector<UInt_t *> fD;

I get the error message

rootcint -f TAlexAnaDict.cxx -c TAlexAna.h
Error: class,struct,union or type __traits_type::iterator_category not defined  FILE:prec_stl/iterator LINE:259
Error: class,struct,union or type __traits_type::value_type not defined  FILE:prec_stl/iterator LINE:260
Error: class,struct,union or type __traits_type::difference_type not defined  FILE:prec_stl/iterator LINE:261
Error: class,struct,union or type __traits_type::pointer not defined  FILE:prec_stl/iterator LINE:262
Error: class,struct,union or type __traits_type::reference not defined  FILE:prec_stl/iterator LINE:263
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation

while changing from UInt_t to Int_t : vector<Int_t *> fD; , the rootcint step is done correctly.

So it is a little bit puzzling for me.

Thank you for you attention,

Alexandre
______________________________________________________

Alexandre Camsonne
Universite Blaise Pascal/LPC IN2P3 Clermont Ferrand

Jefferson Laboratory
Cebaf Center Room A116
Newport News VA 23606 USA

Phone : (757) 269 7544
Pager : (757) 584 5648



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:01 MET