Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instead of throwing C++ exceptions, just print an error message and a… #313

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

rocallahan
Copy link
Contributor

…bort

Many C++ projects forbid the use of exceptions. These are not recoverable errors anyway, so just abort.

…bort

Many C++ projects forbid the use of exceptions. These are not recoverable
errors anyway, so just abort.
@QuantamHD
Copy link
Contributor

@alanminko This will make ABC easier to use at Google, and follows the general exception strategy of the C based ABC code.

@alanminko alanminko merged commit b23f998 into berkeley-abc:master Aug 6, 2024
7 of 9 checks passed
@rocallahan rocallahan deleted the no-exceptions branch August 21, 2024 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants