Re: [Sdcc-user] float <-> int cast

2013-02-19 Thread Erik Petrich
On Mon, 18 Feb 2013, Daniel Michalik wrote: > When comparing the asm outputs I see that the first example does not call > ___fs2uint, why does it not need to do this to cast the value of x? > void main(void) { > float x = 6116.0; > debug = x; > //debug is 6116. > } > unsigned

Re: [Sdcc-user] sdcpp error

2013-02-19 Thread roelof 't Hooft
On Tue, 2013-02-19 at 17:09 +, ming jiang wrote: > I tried to compile the demo of 8051 port from FreeRTOS 7.3.0 with SDCC > win32 2.8.0 on Windows XP.Only the main.c was compiled successfully > and the compilation of other files in demo project showed some bizzare > warnings or errors. It migh