[ROOT] rootcint and ostringstream

From: Alessandro Thea (Alessandro.Thea@ge.infn.it)
Date: Thu Oct 14 2004 - 19:22:19 MEST

Hi all,
I have a problem with dictionary generated by rootcint and ostringstream.
We have a class EsafMsg inheriting from ostringstream. It compiles well, 
both source and rootcint dictionary, on RedHat 9, gcc 3.32 but when I 
mov to RedHat 7.2 gcc 2.96 something strange happens.
rootcint misinterpret ostringstream and put in the dictionary 
"ostrstream" instread of "ostringstream". g++ compiles EsafMsg, no 
errors, but when tries to compile the dictionary complains because 
"ostrstream" is not defined.
The same error applies also to "stringstringbase" <--> "strstringbase"
I have to add that the linux boxes I'm trying to compile EsafMsg on are 
in Lyon Computer Center and it's very likely that rootcint get fooled by 
some local setting.
I've also checked the dictionary created on RH9 and there 
"ostringstream" is used correctly.
My question is: there is a way to understand why or where rootcint 
decide to use ostrstream instead of  ostringstream?



  Alessandro Thea
  Ph.D. Student
  Dipartimento di Fisica dell'Universita' di Genova and
  Istituto Nazionale di Fisica Nucleare, Sezione di Genova,
  Via Dodecaneso 33, I-16146, Genova, Italia.
  Tel: +39 010 3536468               E-Mail: Alessandro.Thea@ge.infn.it 

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET