[ROOT] Bug in cint ? : cout << __FILE__ <<endl;

From: Patois Yannick (patois@ganil.fr)
Date: Tue Jan 16 2001 - 17:38:39 MET


Hi,

The following code breaks root interpretor :

$ cat bug.C
void bug(void)
{
  cout << __FILE__<<endl;
}

root [0] .x bug.C

 *** Break *** segmentation violation
Root > Function bug() busy flag cleared

There is a workaround (using 'printf'), but I have a more complex
exemple when I got an error, and I hope that solving this error will
help.

	Yannick



This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:50:54 MEST