Re: [Sdcc-user] CIL + TinyOS

2009-01-19 Thread Raphael Neider
Hi, I cannot help you with the wrong behaviour, but the warnings are all correct but can probably safely be ignored. > The output from SDCC is: > app.c:45: warning 166: useless declaration (possible use of keyword as > variable name) > app.c:46: warning 166: useless declaration (possible use of k

[Sdcc-user] CIL + TinyOS

2009-01-19 Thread Martin Leopold
Hi All. As an intermediate step to check errors and perform cleanup and optimisation I'm using a CIL derivative[1]. This produces a considerably more readable and smaller program than the generated original. The attached program is a simple serial port echo program produced first by TinyOS+nesc and