Hi,
I am using :
ROOT 5.25/02 (trunk@30530, Sep 29 2009, 15:28:19 on linux)
CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
recently, I noticed a strange behaviour for the following:
test.C:
void test(Int_t *a)
{
fprintf (stdout, “value = %d\n”, *a);
}
then
root [0] .L test.C
Int_t b;
test((b=10, &b));
gives 0. If one compiles this code either in C or C++ then this works.
I’m posting it because I don’t know whether this happens because this feature is not supported or because there is a bug.