// Start output
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 2.21/01 14 January 1999 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
CINT/ROOT C/C++ Interpreter version 5.13.83, Dec 2 1998
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TNode Node2[10];
root [1] TBRIK objects[10];
root [2] objects[5] = new TBRIK("WCHA","WCHA","mat15",5,5,5);
root [3] TMaterial mat = new TMaterial("mat15","AIR",14.61,7.3,0.1205000E-02);
root [4] Node2[3] = new TNode("WCHA1","WCHA1","WCHA",0,0,0,0);
*** Break *** segmentation violation
// end output
any ideas? If I use the actual object in TNode (ie -
TNode("WCHA1","WCHA1",objects[5],0,0,0,0) this doesn't occur.
This is with 2.21/01 on a Redhat System with egcs
Mike