-
Notifications
You must be signed in to change notification settings - Fork 8
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
Platforms without any exceptions support #36
Comments
There's no |
Yeah, there is no exceptions support at all and it looks like We'd need to call |
Does the obvious workaround of simply providing an implementation of |
Defining anything in the I think the solution in #33 is a better option here. Alternatively, there could be a CMake option to replace that one |
Disabled for now because SDL_audiolib fails to link because NXDK does not support exception at all (and so does not have std::terminate): realnc/SDL_audiolib#36 SDL_audiolib only has one line of code that uses exceptions in the entire codebase so hopefully this can be fixed.
Disabled for now because SDL_audiolib fails to link because NXDK does not support exception at all (and so does not have std::terminate): realnc/SDL_audiolib#36 SDL_audiolib only has one line of code that uses exceptions in the entire codebase so hopefully this can be fixed.
Disabled for now because SDL_audiolib fails to link because NXDK does not support exception at all (and so does not have std::terminate): realnc/SDL_audiolib#36 SDL_audiolib only has one line of code that uses exceptions in the entire codebase so hopefully this can be fixed.
Disabled for now because SDL_audiolib fails to link because NXDK does not support exception at all (and so does not have std::terminate): realnc/SDL_audiolib#36 SDL_audiolib only has one line of code that uses exceptions in the entire codebase so hopefully this can be fixed.
It seems like an excellent workaround, until fixed in the SDK itself, at which point you should get a link error and can then remove it again. I looked at https://github.com/XboxDev/nxdk/issues and nobody has reported the issue yet though. Defining things in |
Disabled for now because SDL_audiolib fails to link because NXDK does not support exception at all (and so does not have std::terminate): realnc/SDL_audiolib#36 SDL_audiolib only has one line of code that uses exceptions in the entire codebase so hopefully this can be fixed.
I tried the workaround but it doesn't work because there are some other undefined symbols as well:
Defining
There is this issue XboxDev/nxdk#463 |
Putting aside the lack of a workaround, does this really need to be an exception? You said in #33 (comment):
However, multi-threading is not a critical feature for a lot of the applications. DevilutionX can run perfectly well on a single thread in single player (just without audio). I don't think SDL_audiolib should be deciding that for the application. Can you please reconsider merging #33 instead? |
Does the |
Hmm, it doesn't work with that branch
Perhaps |
With #37 it links! |
I'm trying to port DevilutionX to the original XBox NXDK
This platform does not support exceptions at all, which results in:
Not sure what the best way to resolve this is.
The text was updated successfully, but these errors were encountered: