mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 22:35:45 +00:00
Unbreak Z3 C++ API exception support for GCC < 5.0. This was broken
by 0b1d564509
.
Older versions of GCC do not define `__cpp_exceptions` which caused
exceptions to not be raised leading to unexpected failures. To fix
this also check the `__EXCEPTIONS` macro which is used by older GCC
versions.
Also `#undef` the `Z3_THROW` macro at the end of the header file
because this is an implementation detail that we don't want to leak
to clients.
This commit is contained in:
parent
2fceac04d4
commit
42e0f8f9ce
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue