ProcessLine inside of the other ProcessLine

Root6.24, Linux

Problem with call gROOT->ProcessLine() inside of another one ProcessLine()
I load the library, which I compiled, with class “A” inside.
in ROOT prompt I make “new A”
then I called methods of class “A.a()”.
Everything is working.

Then I called gROOT->ProcessLine(“B.b()”)
Still working.
In class “B” no any dependency of class “A”
But inside of “B.b()” gROOT->ProcessLine(“A.a()”) is called
In result I got an error "unknown type name A "
So after second call ProcessLine() definition of class “A” is lost.
In Root5 this is working.
Is it known deficiency of Root6 or I do something wrong?

Victor

Hi Victor,

Can you help me understand better by copy/pasting a complete (running) example? I am little lost of where which call is related to the others.

Thanks,
Philippe.

Hi Philippe.

Can you help me understand better by copy/pasting a complete (running) example?
Thank you, but unfortunately this code is huge. I will try to create a small example with
the same logic. Hopefully it will produce the same error.

Victor

thanks.

Hi Philippe,
I have made small example and found that it is working properly.
So problem is more complicated and probably not related with Root6.
Thank you very much,
Victor