There's a problem when you try and call functions that contain a 32 bit value and then a float then another 32 bit value (like setInterval) on 32 bit x86 systems - it's due to the way they get called in jsnative.c.
While you could fix setInterval, many other things would be broken too.
Sadly there's been no real reason to fix jsnative.c, as it works on ARM, Xtensa, and x86-64 where most people will be doing their builds.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I guess you're compiling on 32 bit Linux?
There's a problem when you try and call functions that contain a 32 bit value and then a float then another 32 bit value (like setInterval) on 32 bit x86 systems - it's due to the way they get called in
jsnative.c
.While you could fix setInterval, many other things would be broken too.
Sadly there's been no real reason to fix
jsnative.c
, as it works on ARM, Xtensa, and x86-64 where most people will be doing their builds.