[ROOT] ios in gcc-3.2.2

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Tue Mar 25 2003 - 16:00:17 MET


Hi,
This is just a warning.
I have a root script which uses :
	ifstream *infile = (ifstream *)0;
	infile = new ifstream(filename, (ios::in || ios::nocreate));
	while ((*infile) >> x >> y >> Theta >> Psi >> PsiFit) ...
Apparently the new gcc-3.2.2 no longer understands "ios::nocreate".
As a result the root script (quietly) misbehaves.
Best regards,
Jacek.
P.S. ROOT 3.05/03 on a RH7.3/i386



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