CINT problem with TString **table

Dear Rooters

Although the following code fragment works fine with ACLiC, trying to run it
with CINT results in a bus error:

   TString **table = 0;
   if (!(table = new TString*[N])) return -1; 

   for (Int_t i=0; i<N; i++) {
      //some code
      table[i] = 0;
      if (!(table[i] = new TString[M])) return -1; 
      //some code
   }

Is this a known limitation of CINT and will it be corrected in the future?

Best regards
Christian

Hi,

I can not reproduce a bus error. Instead I get:

[quote]Error: operator!() header declared but not defined ts.C:10:
[/quote]which is parsing error which will be fixed.

Cheers,
Philippe

Note that you can work around this problem by disabling the CINT optimization (".O 0"). This problem should go away went Masa finishes his upgrade of the execution engine.

Cheers,
Philippe.

Dear Philippe

Thank you for this hint.

Best regards
Christian