Home | News | Documentation | Download

TVectorD problems in root 5.34

This is “v5-34-00-patches” here …

[code]root [0] TVectorD d;
root [1] d.Print()
Error: non class,struct,union object d used with . or -> (tmpfile):1:
*** Interpreter error recovered ***
root [2] .q
Error: Symbol null is not defined in current scope :0:

*** Break *** segmentation violation
(…)[/code]

root [0] TVectorD *dp = new TVectorD; Error: Illegal initialization of pointer, wrong type TVectorT<double>* (tmpfile):1: *** Interpreter error recovered ***

root [0] TVectorT<double> d; root [1] d.Print() (... no problem here ...) root [2] TVectorT<double> *dp = new TVectorT<double>; root [3] dp->Print() (... no problem here ...)

Hi,
This was an issue with CINT and itself handling of autoloading when looking at a typedef. This is fixed in v5.34’s patch branch.
Cheers,
Philippe.