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

Support for no exceptions? #16

Open
oleorhagen opened this issue Nov 23, 2022 · 2 comments
Open

Support for no exceptions? #16

oleorhagen opened this issue Nov 23, 2022 · 2 comments

Comments

@oleorhagen
Copy link

Hi 👋

When I try to compile this with exceptions turned off -fno-exceptions then it errors.

Is this an explicit decision, or could there be an option for having no exception support?

@tmaklin
Copy link
Owner

tmaklin commented Nov 24, 2022

Hi!

I generally prefer C++ code that implements exception handling but I'm open to supporting turning them off. I'll have a look at what changes this would require.

@oleorhagen
Copy link
Author

Hi!

I generally prefer C++ code that implements exception handling but I'm open to supporting turning them off. I'll have a look at what changes this would require.

Great - thank you!

I too prefer it, but some platforms simply do not handle exceptions, so we have to turn them off in order to use our code 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants