When interfacing with C++ code, exceptions that are supposed to be caught within the C++ code itself are not caught on macOS.
try { // throw something } catch (...) { // control does not come here at all }
I have attached a zip file with an independent + miniature test case to reproduce the problem. Please check the Readme.md
of the zip file.
The same program on macOS produces libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: This is not caught on macOS, why?
, but on Ubuntu produces Exception successfully caught
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4