Bus Error - expected?

From: Nicholas Devenish <misnomer_at_gmail.com>
Date: Sat, 5 Jun 2010 16:54:36 +0100


Hi,

The following (syntactically incorrect) script causes me a bus error on 5.27/02 when running in CINT:

Double_t SomeFun(void)
{

  return 0.0;
}

void Test(void)
{

  TGraphAsymmErrors g;
  g.SetPointEYhigh(0, SomeFun(););
}

With the error being double closure on SomeFun(););. This is rather annoying to track down if in the middle of a reasonably sized script. It seems okay at finding the syntax problems most of the time, though I accept CINT has it's limitations - is this one of them, or a fixable bug?

Thanks,

Nick Received on Sat Jun 05 2010 - 17:54:40 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 07 2010 - 11:50:01 CEST