-
Notifications
You must be signed in to change notification settings - Fork 163
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
Conversion errors in ipc.h #23
Comments
Which devkitA64 release are you using?(And what libnx commit) |
I'm using devkitA64 Alpha 5 and the latest libnx commit (1fccd4a). |
Did you modify the Makefile for this app at all? EDIT: Are you even using the example Makefile? |
Nope. I downloaded the zip, ran make and make install, and ran a test build. |
Are you running make with an example from switch-examples, or what? |
Can't repro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was using libnx to compile a test executable for the Switch (thanks for this, by the way!), when I ran into some errors related to invalid conversions in ipc.h while compiling. Here's the error:
I seemed to fix these errors by casting
armGetTls()
to(u32*)
in each occurrance, and by naming the mentioned structs "raw" and castingr.Raw
to(struct raw *)
. Here are the lines:Lines 109, 209, 262, 297:
Lines 279-283, 312-316:
Feel free to change these, I'm kind of a novice at C/C++, so there might be some unintended consequences haha.
Keep up the great work!
The text was updated successfully, but these errors were encountered: