Skip to content
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

channel/stub/cache.h is missing #include <gcbool.h> #19

Open
kevonfernando opened this issue Sep 28, 2021 · 2 comments · May be fixed by #24
Open

channel/stub/cache.h is missing #include <gcbool.h> #19

kevonfernando opened this issue Sep 28, 2021 · 2 comments · May be fixed by #24

Comments

@kevonfernando
Copy link

kevonfernando commented Sep 28, 2021

The code in channel does not compile without #include <gcbool.h> in channel/stub/cache.h.

While trying to compile the source code for the channel, I kept on getting this error:

In file included from stub/ios.c:26:
stub/cache.h:302:25: error: expected ')' before 'void'
302 | void LCAllocOneTag(BOOL,void *);
| ^~~~
| )
stub/cache.h:303:23: error: expected ')' before 'void'
303 | void LCAllocTags(BOOL,void *,u32);
| ^~~~
| )
make[3]: *** [Makefile:172: build/ios.o] Error 1
make[2]: *** [Makefile:83: all] Error 2
make[1]: *** [Makefile:86: channel] Error 2

I am not sure if I am making a mistake or the code somehow broke. If the former is to be the case I would appreciate any help.

@carstene1ns
Copy link

Looks like you need gcbool.h nowadays.
devkitPro/libogc@0a0ced1

@kevonfernando
Copy link
Author

Thank you! This solved the problem.

@kevonfernando kevonfernando changed the title Compiling error in channel/stub/cache.h channel/stub/cache.h is missing #include <gcbool.h> Sep 29, 2021
archiecarrot123 added a commit to archiecarrot123/hbc that referenced this issue Dec 12, 2022
archiecarrot123 added a commit to archiecarrot123/hbc that referenced this issue Dec 12, 2022
This was referenced Dec 12, 2022
jbmagination added a commit to jbmagination/hbc that referenced this issue Nov 5, 2023
basti564 added a commit to basti564/hbc that referenced this issue Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants