Re: Error: Non-static-const

From: Gero Flucke <flucke_at_mail.desy.de>
Date: Tue, 15 Nov 2005 09:59:23 +0100 (CET)


On Mon, 14 Nov 2005, Roger Mason wrote:

> Replying to my own question: it is a limitation of CINT that arrays
> must be declared with constant dimensions. Thus, the statement:
>
> TGNumberEntry *neParm[10];
>
> must be raplaced with (for example)
>
> TGNumberEntry *neParm[nparm];
>

Hi Roger,
I guess you mean the other way round :-). And it is not a limitation of CINT, but a C++ language feature (as far as I know), although some compilers do not comlain (I know about gcc-2.95).

Cheers

        Gero Flucke

--
-----------------------------------------------------------------------
Gero Flucke
1a / 603
DESY
Notkestr. 85
22607 Hamburg
+49-(0)40-8998-2454
Received on Tue Nov 15 2005 - 10:02:13 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET