-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Bool size in Darwin ppc ABI is 4-byte (Windows too?) #319
Comments
I think the typedef is just to alias the BOOL name, since FAudio itself uses uint8_t, but if making it uint32_t makes it work for ppc I can merge that in! |
@flibitijibibo Thank you for responding (and for merging the PR!). I got some issue with running tests: once launched, the binary does nothing, essentially freezing, and GDB does not show any meaningful output (it also hangs after Reading symbols for shared libraries). P. S. It is quite possible our SDL2 is not working correctly on PPC (it is in experimental status), but I would expect tests failing, if so, but not being unable to even start. Apparently something unrelated to SDL2 is broken, but I have no idea what. |
Not sure about the tests, but the utils might narrow it down a bit - the utils don't do any winapi mapping so it should be possible to run those and get some output without any alignment weirdness happening. |
@flibitijibibo Sorry for a silly question, where to find those utils? They are not installed, and I am not sure they are built by default. |
I think the CMake option is BUILD_UTILS, it won't be on by default (phoneposting atm). |
I should have looked into CMakeLists, will try it now. UPD. P. S. I wonder if |
@flibitijibibo So utilities launch and at least their menus work, though fonts are displayed in a barely readable fashion. |
When I run with GDB, I get this (and I have to interrupt the process, as it freezes):
|
Apparently on Windows bool is also 4-byte, according to: d0a90be
However tests header defined bool as
uint8_t
:FAudio/tests/FAudio_compat.h
Line 5 in c5f8246
I am not sure about how it works on Windows; to accommodate Darwin ppc it will be needed to do smth like:
The text was updated successfully, but these errors were encountered: