This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dumb gcc/C question


Hi,

On Fri, 25 Aug 2000, David Ronis wrote:
>  int ncorrelations=(nchannel*3)*(nchannel*3+1)/2;
>  double W[N3],C[N3][3],correlations[ncorrelations];
>
> where nchannel and are declared as ints globally and calculated
> earlier in the code.
> 
> There were no warnings.   
> 
> Is this valid in general or simply a gcc extension?

A gcc extension.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]