From: | Allan Odgaard |
Date: | 07 Dec 99 at 00:01:33 |
Subject: | Problem compiling this source... (VBCC) |
Hi there,
In an attempt to compile 'szip' for Amiga then I get the following error, with
the attached source:
error 28 in line 306 of "rangecod.c": redeclaration of var <__inline> with new
storage-class
>void __inline M_decode_update(freq sy_f,freq lt_f,freq tot_f)
(using "vc -+ rangecod.c")
I have absolutely no idea of what it means, but if I remove 'Inline' then it
works. Can anybody help me out?
Btw: If I use the "-O3" option for the entire source, then I get this error:
----------------------------------------------------------------------------
error 158 in line 139 of "qsmodel.c": internal error 0 in line 380 of file
Rest:vbcc/machines/m68k/machine.c !!
aborting...
unexpected end of file
1 error found!
----------------------------------------------------------------------------
I think it's a bug of VBCC. Using -O=127 works, but -O=511 doesn't, though
-O=128 also works - so I haven't really been able to pint-point the
optimisation pass that cause the problem. I'm unfortunately not allowed to
spread any parts of the source, except the attached rangecod.#?, but if you
(Volker) have no clue of what's going on, then I could talk to the author
about it.
Regards Allan