Hi, I'm using CINT version 5.15.115 with root v3.10/02. I wrote a small macro makePlots.cpp like this #include "testbeam.hpp" void makePlots(void) { // make some plots here } I need to include the header file testbeam.hpp since it contains some constants I'll be using to make plots. I have the following errors: root [0] Processing makePlots.cpp... Error: array initialization FILE:testbeam.hpp LINE:55 Error: assignment to 3 FILE:testbeam.hpp LINE:55 *** Interpreter error recovered *** In the lines 54 and 55 of testbeam.hpp there are: 54: const int MAX_TRT_CUTS = 6; 55: const int min_nTrtHLHits[MAX_TRT_CUTS] = {2, 3, 4, 5, 6, 7}; If I remove the line 55 or I put the two (54 and 55) in the makePlots.cpp macro there are no longer such error messages. Do you have any suggestion what might go wrong with it? Thanks a lot, Tuan
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET