Compilation problem on IRIX 6.5

From: Rene Marc Dolhen (rmd@quadratec.fr)
Date: Thu Dec 09 1999 - 13:37:23 MET


[Is there any development list, or is this one fine ?]

Hi,

I tried to compile ecdl2K-108.32bit.c on IRIX 6.5 system and got the
following error:

"ecdl2K-108.32bit.c", line 2123: error(1028): expression must have a
constant value

So I replaced line 2123 :
{ u32 tab[8] = { 0, a, a2, a ^ a2, a4, a ^ a4, a2 ^ a4, a ^ a2 ^a4 };

by the following lines :

{ u32 tab[8] ;
  u32 s, t; /* move from l2137 because of invalid declaration */
        tab[0] = 0;
        tab[1] = a;
        tab[2] = a2;
        tab[3] = a ^ a2;
        tab[4] = a4;
        tab[5] = a ^ a4;
        tab[6] = a2 ^ a4;
        tab[7] = a ^ a2 ^ a4;

It compiles without errors now and the test output is fine.

-- 
rene-marc. 
I rather have a bottle in front of me than a frontal lobotomy.



This archive was generated by hypermail 2b29 : Sat Jan 01 2000 - 15:26:57 MET