How to ensure compilation and functionality with `-fno-exceptions`?
martinlicht opened this issue · 0 comments
martinlicht commented
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.