Hi,
TPad doesn't seem to store its name when created from ROOT prompt.
After creation I can call TPad::SetPad() and the name gets set, but a
SegV ensues. (See appended output below).
I tried narrowing this down by running root.exe under gdb but putting
a break point in:
TPad::TPad(char const *, char const *, double, double, double, double, short, short, short)
fails to be reached. Is something getting interpreted "for me" here?
This is with ROOT from CVS as of today on x86 Linux.
-Brett.
-------------------
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 3.01/06 6 August 2001 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
FreeType Engine v1.x used to render TrueType fonts.
CINT/ROOT C/C++ Interpreter version 5.15.08, July 20 2001
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
PAWish style
root [0] TPad t("TheName","The Title",0.0,0.0,1.0,1.0)
root [1] t.GetName()
(const char* 0x4041b92c)""
root [2] t.SetPad("TheName","The Title",0.0,0.0,1.0,1.0)
*** Break *** segmentation violation
Root >
root [3] t.GetName()
(const char* 0x86afd24)"TheName"
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET