RE: Erratic TInterpreter::GetInterfaceMethod behaviour?

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Mon, 28 Mar 2011 12:11:00 +0000


Hi Nick,

You're welcome.
I think it is a bit more complex than that, since I tried with e.g. gROOT->ProcessLine("#include <iostream>"); and it didn't solve the problem. And just in case you wonder why I tried this, it was simply by looking at the initializations done in the TRint constructor...

But let's see if Axel or Philippe have a proper explanation.

Cheers,
Bertrand.

-----Original Message-----
From: Nicholas Devenish [mailto:misnomer_at_gmail.com] Sent: 28 March 2011 13:44
To: Bertrand Bellenot
Cc: roottalk_at_root.cern.ch; pcanal_at_fnal.gov Subject: Re: [ROOT] Erratic TInterpreter::GetInterfaceMethod behaviour?

Hi Bertrand,

On Mon, Mar 28, 2011 at 11:52 AM, Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch> wrote:
> For me, adding gROOT->ProcessLine("#include <iostream>"); in your main() solved the problem. I.e.:

Thanks! - this works around the problem and allows me to continue with my work. At a hazardous guess, I can imagine it is something to do with the interpreter not being properly initialised until it is passed a valid command to parse (i.e. initialisation order), though I admit the couple of other items I tried didn't work. Perhaps I should file a savannah report.

Nick Received on Mon Mar 28 2011 - 14:11:06 CEST

This archive was generated by hypermail 2.2.0 : Mon Mar 28 2011 - 17:50:02 CEST