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

GoboNet fails to build with GCC 14 #4

Open
Nuc1eoN opened this issue Oct 30, 2024 · 0 comments
Open

GoboNet fails to build with GCC 14 #4

Nuc1eoN opened this issue Oct 30, 2024 · 0 comments

Comments

@Nuc1eoN
Copy link
Member

Nuc1eoN commented Oct 30, 2024

I was trying to re-install GoboNet via LuaRocks, but with GCC 14 symlinked the build fails:

gcc -O2 -fomit-frame-pointer -pipe -fPIC -I/Programs/Lua/5.4.7/include/lua/5.4 -c gobo/awesome/gobonet/core.c -o gobo/awesome/gobonet/core.o
gobo/awesome/gobonet/core.c: In functionup_and_running’:
gobo/awesome/gobonet/core.c:23:4: error: implicit declaration of functionclose’; did you meanpclose’? [-Wimplicit-function-declaration]
   23 |    close(fd);
      |    ^~~~~
      |    pclose

Error: Build error: Failed compiling object gobo/awesome/gobonet/core.o

Whereas GCC 13 treats this as a warning and compiles GoboNet successfully.

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

No branches or pull requests

1 participant