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

Allow the library to be used in -fno-exception targets #206

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

khng300
Copy link
Contributor

@khng300 khng300 commented Feb 24, 2024

This change introduces cista::throw_exception as a helper to dispatch the call to either a throw expression, or abort() call in case -fno-exception is enabled.

Copy link
Owner

@felixguendling felixguendling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank! Looks good!

include/cista/cista_exception.h Show resolved Hide resolved
include/cista/exception.h Outdated Show resolved Hide resolved
@khng300 khng300 force-pushed the throw-helper branch 2 times, most recently from 379a6d6 to 416d876 Compare February 24, 2024 17:41
This change introduces cista::throw_exception as a helper to dispatch
the call to either a throw expression, or abort() call in case
-fno-exception is enabled.
@khng300
Copy link
Contributor Author

khng300 commented Feb 24, 2024

I just force-pushed with no changes but seems like the review view of include/cista/cista_exception.h is still not updated.

@felixguendling felixguendling merged commit a46b7d8 into felixguendling:master Feb 24, 2024
10 checks passed
@felixguendling
Copy link
Owner

Thank you! :)

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.

2 participants