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