Issues accessing array from tree

Hi, having fixed the Npoints const issue (and saving the macro as .c instead of .cpp) I still cannot reproduce the compliler errors you show above. Is it likely this may be due to differening operating systems/subversions of root 5? (In fact I get identical errors to the unchanged code).
Could this also be due to something not being build properly (other than my macro :stuck_out_tongue:), I’m running through binaries but have still had to build the test directory before to get some things to work.