Is it convention in gamedev to throw exceptions? #769
Unanswered
Please-just-dont
asked this question in
Q&A
Replies: 1 comment
-
Hi. We don't use exceptions in the library, but we use RTTI in a few cases. You can disable this during building, see the option for We also use some thirdparty containers that have their own way of controlling exceptions. You can either opt out of these by disabling |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried compiling my project with -fno-exceptions, as apparently in gamedev this is a VERY common thing to do. I noticed that with Clang and GCC I couldn't compile it because there were a whole bunch of things in the RMLUI source files that threw various things. Is this normal? Would it be better if the throw expressions in RMLUI were replaced with either return codes or a simple std::terminate or abort?
Beta Was this translation helpful? Give feedback.
All reactions