Hi,
why does CINT produce a segmentation fault within ROOT
CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
ROOT Version 2.23/12 1 February 2000
{
// a test for CINT
int * a = new int[5];
a[0] = 1;
int **b = & a;
cout << (*b)[0] << endl;
}
with the following Error message:
Error: Pointer to function 0x86dd7a8 can not access from interpreter(2)
FILE:/tmp/04385baa_cint LINE:6
*** Break *** segmentation violation
If I compile this code, it works fine.
Martin
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET