[ROOT] ROOTCINT , gcc3.2 and fstream

From: Al-Turany Dr. Mohammad (M.Al-Turany@gsi.de)
Date: Tue Jan 28 2003 - 11:26:29 MET


Hi Rene,
I am facing a small problem when I try to recompile some packages at the GSI
with the gcc3.2, in fact these programs works with ROOT >= 3.03/9 and gcc
2.x but when I tried to recompile them with the gcc3.2 the ROOTYCINT was
breaking with the error not defined type for "fstream" as he tried to
generate the dictionary. 

Then looking inside the fstrem.h in $ROOTSYS/CINT/INCLUDE I found the
following:

/*********************************************************************
* fstream.h
*
*********************************************************************/
#ifndef G__FSTREAM_H
#define G__FSTREAM_H

#include <iostream.h>

#endif

Is there a reason to include "iostream.h" instead of "fstream.h" in this
file? because as I added  "#include <fstream.h>" to this file every thing
was working normally! 
did I miss anything? is there any other solution for this problem? thanks.

regards,

Mohammad 


##################################################
Dr. Mohammad Al-Turany     
Experiment Data Processing (DV & EE)
Gesellschaft für Schwerionenforschung (GSI)
Planckstr. 1                             
D-64291 Darmstadt, Germany
Tel: +49-6159-71-2554
Fax: +49-6159-71-2986
http://www-linux.gsi.de/~turany
##################################################



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET