[ROOT] Re: Problems with rootcint and STL classes

From: Gora Mohanty (gora@solar2.ucr.edu)
Date: Sun Jun 16 2002 - 13:26:09 MEST


Oops,
  I forgot to mention that I am using ROOT version 3.03.05 (also tried
3.03.04) compiled with gcc 3.0 on a Linux Suse 7.1 system. A copy of my
original message is appended.

Regards,
Gora

-----------------------------------------------------------------------
   I am having a problem with generating the dictionary source for a
class that uses STL vectors, etc. Here are the error messages that I
get when running rootcint:
Error: class,struct,union or type __traits_type::iterator_category not defined  FILE:/usr/local/root/new_OI/cint/lib/prec_stl/iterator LINE:260
Error: class,struct,union or type __traits_type::value_type not defined  FILE:/usr/local/root/new_OI/cint/lib/prec_stl/iterator LINE:261
Error: class,struct,union or type __traits_type::difference_type not defined  FILE:/usr/local/root/new_OI/cint/lib/prec_stl/iterator LINE:262
Error: class,struct,union or type __traits_type::pointer not defined  FILE:/usr/local/root/new_OI/cint/lib/prec_stl/iterator LINE:263
Error: class,struct,union or type __traits_type::reference not defined  FILE:/usr/local/root/new_OI/cint/lib/prec_stl/iterator LINE:264
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing HeaderInfoDict.cxx HeaderInfoDict.h !!!
/usr/local/root/new_OI/bin/rootcint: error loading headers...
make: *** [HeaderInfoDict.cxx] Error 1

I am trying to come up with a simple example that reproduces this error,
but have not been able to do so as this seems to arise from some
interaction between included headers. I also tried the solution suggested
earlier by Masaharu on roottalk, to what seemed to be a similar problem,
but with no success. Any ideas?
------------------------------------------------------------------------



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