Bugzilla – Bug 1220973
GCC 14: libgtop package fails
Last modified: 2024-03-14 12:22:17 UTC
Building libgtop with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libgtop/standard/x86_64 Due to (exhaustive list of errors): main.c: In function ‘handle_parent_connection’: main.c:226:49: error: passing argument 3 of ‘glibtop_get_proc_io_l’ makes integer from pointer without a cast [-Wint-conversion] 226 | (server, &resp->u.data.proc_io, parameter); | ^~~~~~~~~ | | | char * In file included from ../../include/glibtop/union.h:47, from daemon.h:29, from main.c:23: ../../include/glibtop/procio.h:78:74: note: expected ‘pid_t’ {aka ‘int’} but argument is of type ‘char *’ 78 | void glibtop_get_proc_io_l (glibtop *server, glibtop_proc_io *buf, pid_t pid); | ~~~~~~^~~ See the meta bug#1220571 for more info.
GNOME:Next/libgtop successfully builds using GCC14: https://build.opensuse.org/package/show/GNOME:Next/libgtop This will be part of the GNOME 46 push - to happen by end of March 2024