Hi Nicholas,
it's not expected and even if it shouldn't crash while parsing. I can reproduce the issue.
I have opened a Savannah bug report for you: <https://savannah.cern.ch/bugs/index.php?68454> You're very welcome to do this yourself next time you find a bug!
Cheers, Axel.
Nicholas Devenish wrote on 06/05/2010 05:54 PM:
> 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 Mon Jun 07 2010 - 11:49:03 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 07 2010 - 17:50:01 CEST