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

Code doesn't compile in EndeavourOS (Linux) #356

Open
demorgancoder opened this issue May 22, 2024 · 0 comments · May be fixed by #358
Open

Code doesn't compile in EndeavourOS (Linux) #356

demorgancoder opened this issue May 22, 2024 · 0 comments · May be fixed by #358

Comments

@demorgancoder
Copy link

I obtained the necessary libraries. The code doesn't compile on Arch. Maybe other Linuxes too.

The error is:

7z_C/CpuArch.c:78:12: error: type defaults to ‘int’ in declaration of ‘_b’ [-Wimplicit-int]

There's a problem on CpuArch.c in the 7zip code that causes an error...I noticed that it was testing to see if it should use ASM or not, and I thought "Let's just get rid of everything in this block of code so the file looks like:

#include "CpuArch.h"

#ifdef MY_CPU_X86_OR_AMD64

#endif

...and it compiles on my computer. But that error should probably be fixed. I'm not really skilled enough in this area or knowledgeable enough about this project to fix it though, so I just used the nuclear method on what seems to be unnecessary code for my (non-7zip using) purposes to get the emulator up and running for me...without 7zip support though, since that most definitely crashes the emulator because of the edit I mentioned.

@black-sliver black-sliver linked a pull request Jun 23, 2024 that will close this issue
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.

1 participant