
| Msg # 12461 of 13012 on ZZLI4417, Sunday 10-11-25, 1:22 |
| From: STEFAN GEHN |
| To: SANDRO TOSI |
| Subj: Bug#1096713: gkrellm: ftbfs with GCC-15 |
From: stefan+gkrellm@srcbox.net On 9/28/25 07:35, Sandro Tosi wrote: > > hey Stefan, > im posting a recent build log showing the failures when building > gkrellm-2.4.0 with gcc-15.2: https://paste.debian.net/hidden/6601e8a7/ > > Hope this may help with your code changes. I can actually reproduce it with older clang/gcc via "-std=gnu23". The thing with C23 is that the change does not really bring any security to function pointers because in glib/gtk/gkrellm function pointers usually have a "void *data" argument but the callback functions are taking a "SomeStruct *data" instead so virtually every function pointer is cast, thereby hiding incompatibilities the same way as the ancient empty argument syntax. I'll see if I can finish gkrellm 2.5.0 in the next 1-2 weeks which fixes this for now by setting a fixed C standard (commit ee3f77a2654578519e9a6b5ea819f73b873fc6f1). Passing a standard via CFLAGS should already work fine for gkrellm 2.4.0 as well. Regards, Stefan --- SoupGate-Win32 v1.05 * Origin: you cannot sedate... all the things you hate (1:229/2) |
328,124 visits
(c) 1994, bbs@darkrealms.ca