Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By RGB
#31887 Hi
The following sketch:
#include <setjmp.h>
jmp_buf e;
void setup() {
setjmp(e);
longjmp(e,1);
}
void loop() {
}

compiles fine for UNO, Mega and so on, but throws
tests.ino:4: undefined reference to `setjmp'
tests.ino:5: undefined reference to `longjmp'
when compiled for ESP8266.
I really need the longjmp, does anybody know why this fails?
Thanks - RGB