> Processing commands for [email protected]:
>
>> severity 564990 serious
> Bug #564990 [fsvs] fsvs: ftbfs with gcc-4.5
> Severity set to 'serious' from 'important'
Once more ... I still believe that this is a gcc bug.

> helper.c:1677:14: error: storage size of 'buffers' isn't constant

  /* Sadly GCC doesn't statically solve sizeof(rev)*log(10)/log(2) ... */
  static char buffers[2][(int)(sizeof(rev)*3.32)+3];


It's an expression with sizeof() and a bit of arithmetic, that gcc<4.5 easily 
recognizes
as constant and uses as such, in a char[]-allocation.

Don't know why gcc-4.5 throws an error here, but see
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46028

So perhaps it would be sufficient to patch the "3.32" to a "4".



Regards,

Phil





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to