Skip to content

Commit

Permalink
add stubs for more exception throw calls
Browse files Browse the repository at this point in the history
Fixes #3358
  • Loading branch information
igrr committed Aug 14, 2018
1 parent cbcefa7 commit fd1d4b6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions cores/esp8266/abi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,24 @@ void __throw_out_of_range(const char* str)
(void) str;
panic();
}

void __throw_bad_cast(void)
{
panic();
}

void __throw_ios_failure(const char* str)
{
(void) str;
panic();
}

void __throw_runtime_error(const char* str)
{
(void) str;
panic();
}
} // namespace std

// TODO: rebuild windows toolchain to make this unnecessary:
void* __dso_handle;

0 comments on commit fd1d4b6

Please sign in to comment.