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
Turned off exception handling support #50
Comments
Would it be ok to switch on the exisiting
|
Hello! Yes, that would work fine technically. |
That crossed my mind too. Considering:
|
I would personally opt for a generic configuration dealing with whether to throw or terminate. I would probably use this or something similar: |
We can see it as a contract violation of the function requires that |
Added in v0.14.0 I've put it under the umbrella of contract violation, at least initially:
|
Hello!
I would like to request support for compilation with exception handling turned off.
This is currently an issue within the "narrow" function, which throws "narrowing_error"-s and results in a compilation error on clang.
../thirdparty/gsl-lite/include/gsl/gsl-lite.h:598:9: error: cannot use 'throw' with exceptions disabled
throw narrowing_error();
I would like to request a configuration similar to the contract violation throw/terminate one.
The text was updated successfully, but these errors were encountered: