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

How to ensure compilation and functionality with -fno-exceptions? #383

Open
martinlicht opened this issue Apr 8, 2023 · 0 comments
Open

Comments

@martinlicht
Copy link

My codebase is compiled using f-no-exceptions. Regrettably, that does not work well with the use of exceptions in CImg.

Are there any recommended practices or experiences for compiling CImg.h with exceptions disabled?

I imagine some macro replacements could work provided that exceptions do not occur in the normal control flow and are really just used for error handling.

@martinlicht martinlicht changed the title How to ensure compilation and functionality with -fno-exceptions How to ensure compilation and functionality with -fno-exceptions? Apr 8, 2023
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

No branches or pull requests

1 participant