I can not reproduce the problem with the latest ROOT.
You did not mention which version of ROOT you tried.
Could you please try with the latest ROOT and attach the fill output you are getting in both cases.
Hello Philippe
I quickly check my test with ROOT version from CERN AFS
and it does work from there.
I still doesn’t with any BNL/STAR build. Weird !!!
I’ll check thank you.
The request ‘.O 0’ disable the generation of the bytecode and hence it is not available to run. You can either try to figure out where the bytecode is available before hand or force the optimization level before loading your temporary file.
Note that Masa is working on a re-implemetation of the CINT code execution layer which should solve this problem (same engine for all optimization level).
Okey, I’ve got it. You mean you want to have a function compiled even in optimization level 0 if it is required explicitly. You have reason. I’ll make that change in next release.
In G__MethodInfo::GetBytecode(), bytecode compilation is done only if the optimization level is greater than 3. I’ll make it for all cases.