Hi Christian, Are you running the version from CVS head? Masa fixed a problem with bool in CINT 5.15.74. Running your tests, I obtain: root [0] .x macro1.C fTxt2 = aaa fTxt2 = bbb fTxt2 = ccc root [1] .x macro2.C fTxt2 = aaa fTxt2 = bbb fTxt2 = ccc root [2] .x macro3.C fTipText = Open file fTipText = Save file as fTipText = fTipText = Print file Rene Brun On Mon, 10 Feb 2003, cstrato wrote: > Dear Rooters > > I am running root 3.05/02 on MacOS X 10.1.2 and get a strange > error when a struct contains a boolean variable. > The enclosed macro1.C runs without problems. > However, in macro2.C I changed fVar1 from Int_t to Bool_t, and > thus get the following error: > > root [0] .x macro1.C > fTxt2 = aaa > fTxt2 = bbb > fTxt2 = ccc > root [1] .x macro2.C > Error: Illegal pointer operation (letvalue) FILE:macro2.C LINE:12 > Error: Illegal pointer operation (letvalue) FILE:macro2.C LINE:13 > Error: Illegal pointer operation (letvalue) FILE:macro2.C LINE:14 > Error: Illegal pointer operation (letvalue) FILE:macro2.C LINE:15 > *** Interpreter error recovered *** > root [2] .x macro3.C > Error: Illegal pointer operation (letvalue) FILE:macro3.C LINE:15 > Error: Illegal pointer operation (letvalue) FILE:macro3.C LINE:16 > Error: Illegal pointer operation (letvalue) FILE:macro3.C LINE:17 > Error: Illegal pointer operation (letvalue) FILE:macro3.C LINE:18 > Error: Illegal pointer operation (letvalue) FILE:macro3.C LINE:19 > *** Interpreter error recovered *** > root [3] > > My real problem is shown in macro3.C which results in the same > error! > > Could this be a CINT problem with MacOS X? > How can this problem be solved? > > Best regards > Christian > _._._._._._._._._._._._._._._._ > C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a > V.i.e.n.n.a A.u.s.t.r.i.a > _._._._._._._._._._._._._._._._ > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET