Martin,

uint8_t is supposed to be defined in stdint.h but SDCC doesn't have this include file yet (was already working on it). OTOH many compilers are lacking this file. This was new in the C99 standard. The inline keyword is also new in the C99 standard. It comes from C++. It is already on the wishlist under RFE 785200, but feel free to add to it. In the meantime please accept that the developers (at leats I do) focus on bugs before feature requests.

I attach an untested version of stdint.h in the hope it helps. It has DOS style line endings.

> On Thu, 2005-03-10 at 18:23 +0100, Maarten Brock wrote:
> > Static is definitely supported but inline is not. The easiest solution
> > might be to define inline empty like this:
> > #define inline
>
> OK, while that seems to satisfy the compiler, this might not be the most
> satisfactory solution. I got a suggestion to file a wish-list item, so
> I'll do that..
>
> And just for the record the error is the same, when uint8_t is typed
> right:
>
> leopold@malthe$ sdcc app.filter.c
> app.filter.c:37: syntax error: token -> 'uint8_t' ; column 21
>
> --
> Regards Martin Leopold.
> Dept. of Computer Science, University of Copenhagen


Greets,
Maarten