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

Build error on Endeavor OS #328

Open
orderorder opened this issue May 11, 2024 · 1 comment
Open

Build error on Endeavor OS #328

orderorder opened this issue May 11, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@orderorder
Copy link

orderorder commented May 11, 2024

gcc versión 14.1.1 20240507 (GCC)

incompatible [-Wincompatible-pointer-types]

error.txt

@shinyquagsire23 shinyquagsire23 added the help wanted Extra attention is needed label Nov 29, 2024
@swedishborgie
Copy link

I believe I ran into a similar error on Fedora 41 using GCC 14.2.1. It looks like the issue is that -Wincompatible-pointer-types is a fatal error by default with newer versions of GCC.

I was able to fix it by adding -Wno-incompatible-pointer-types to CMAKE_C_FLAGS in:

  • CMakeLists.txt:249
  • cmake_modules/plat_linux_64.cmake:15

Happy to throw together a PR to fix this if that would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants