diff --git a/cores/esp8266/abi.cpp b/cores/esp8266/abi.cpp index b863997a3..91e999a0c 100644 --- a/cores/esp8266/abi.cpp +++ b/cores/esp8266/abi.cpp @@ -58,6 +58,14 @@ namespace std { void __throw_bad_function_call() { abort(); } + +void __throw_length_error(char const*) { + abort(); +} + +void __throw_bad_alloc() { + abort(); +} } // TODO: rebuild windows toolchain to make this unnecessary: