Re: [ROOT] Bool_t array

From: Stanislav Nesterov (qleap@pnpi.spb.ru)
Date: Thu Feb 06 2003 - 00:48:41 MET


  Hi Heather,

  I also see this strange behaviour of CINT on ROOT 3.03/05.
  It is interesting that it works only for boolean type, both for "bool" 
and for "Bool_t", for other primitive types (such as Int_t or Float_t) 
initialization is succeeded.
   I am puzzled.
                                            Stanislaw.
 
Heather Kelly wrote:

> Hi,
>
> I'm using Root 3.04.02 on both Windows XP and Linux Redhat 7.2.  At 
> the ROOT command line I attempt the following:
>
> root [0] Bool_t v[3] = {kFALSE, kTRUE, kFALSE}
> and I receive the following error message:
> Error: Illegal pointer operation (letvalue) 
> FILE:C:\DOCUME~1\Heather\LOCALS~1\Temp\89 LINE:1
> Error: Illegal pointer operation (letvalue) 
> FILE:C:\DOCUME~1\Heather\LOCALS~1\Temp\89 LINE:1
> Error: Illegal pointer operation (letvalue) 
> FILE:C:\DOCUME~1\Heather\LOCALS~1\Temp\89 LINE:1
> *** Interpreter error recovered ***
>
> The same thing happens on both Windows and Linux.  This has worked in 
> the past and I can certainly create int arrays and so forth.
> Do others see this behavior?  Or am I doing something obviously silly?
>
> Thanks,
> Heather



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET