From: Martin L. <le...@di...> - 2005-03-10 21:16:43
|
On Thu, 2005-03-10 at 21:43 +0100, Maarten Brock wrote: > 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. NP, I've enlisted among the fans, but I have a new problem: nescc generates a lot of identifiers with "$" in them. It goes to great lengths to preserve these (they aren't support by gnu-as, so it includes a patched version). Here is what happens with sdcc: sdcc app.filter.c app.filter.c:213: syntax error: token -> 'Pot' ; column 24 And the code ... 213 static result_t PotM$Pot$init(uint8_t arg_0x8406c40); ... Is there someway around this? > I attach an untested version of stdint.h in the hope it helps. It has > DOS style line endings. uint8_t is typedef'ed in the beginning of the program.. -- Regards Martin Leopold. Dept. of Computer Science, University of Copenhagen |