-
Notifications
You must be signed in to change notification settings - Fork 263
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
[REQ] Allow compiling with exceptions disabled. #139
Comments
|
Hi @mokafolio and thanks for opening this issue! My design philosophy starting with v4.0.0 has been to implement certain features as optional and let the user decide. I believe your request should be trivial to implement by changing exception handling to an optional feature, and adding a macro (e.g. |
Sounds great! I'd maybe suggest changing the flag to |
Hmm... But all the other macros are |
Yeah, on a personal level I am with you and I also like the consistency. I still think most people expect exception handling to be in place by default but it's your call, I certainly can live with either decision 😄 |
I still think the least intrusive solution could be to just rely on whether exceptions are enabled or not via |
Sure, that makes sense. I'll also have to change it so that |
Update: This is now implemented in v4.1.0. |
Describe the new feature
Allow compiling the threadpool in codebases that have exceptions disabled. Right now that is not possible as far as I can tell (please correct me if I'm wrong). Just from scanning the source, it would only affect the two places try/catch is used.
Additional information
I could look into this and create a PR if that's something you'd consider!
The text was updated successfully, but these errors were encountered: