Bugzilla – Bug 1221696
GCC 14: byaccj package fails
Last modified: 2024-03-19 21:35:02 UTC
Building byaccj with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/byaccj/standard/x86_64 Due to: main.c: In function ‘done’: main.c:88:43: error: implicit declaration of function ‘unlink’ [-Wimplicit-function-declaration] 88 | if (action_file) { fclose(action_file); unlink(action_file_name); } | ^~~~~~ Builds with automatically generated: Index: byaccj1.15/src/main.c =================================================================== --- byaccj1.15.orig/src/main.c +++ byaccj1.15/src/main.c @@ -9,6 +9,7 @@ #endif #include "defs.h" +#include <unistd.h> char dflag; char lflag; See the meta bug#1220571 for more info.
This is an autogenerated message for OBS integration: This bug (1221696) was mentioned in https://build.opensuse.org/request/show/1159649 Factory / byaccj