Strange behavior for class definition in Cint

From: Marcelo Zimbres <mzimbres_at_gmail.com>
Date: Mon, 1 Jun 2009 02:52:56 -0300


Hi roottalk,

The following macro has a strange behavior for the function main2() even though it is almost the same as main1(), when run the command:

root[] .L scope.C
root[] main2()
root[] main2()
root[] .q

$ root.exe
root[] .L scope.C
root[] main2()
root[] main2()

or

root[] .L scope.C
root[] main1()
root[] main2()

I get the message: "***Break*** segmentation violation". The problem does not arises when I do the same thing using only main1(). I could not find any error in my code. Perhaps I missed some cint rules or there is a cint scoping problem running here.

Best regards, Marcelo.

I am using root version 5.22 on ubuntu.

Received on Mon Jun 01 2009 - 07:53:18 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 02 2009 - 11:50:02 CEST