From: | Tim Corringham |
Date: | 07 Dec 99 at 10:46:17 |
Subject: | Re: Problem compiling this source... (VBCC) |
From: tim@ramjam.u-net.com (Tim Corringham)
Hi Allan
> 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?
__inline is a compiler directive that isn't recognised by VBCC, so it
assumes it is a variable identifier.
removing it is OK, or alternatively adding
#define __inline
to equate it to the empty string will do the job, and if __inline appears
in many places means less change to the source code.
Tim