Summary: | =lxde-base/lxinput-0.3.5-r2 fails with c23/gcc-15.0.0_pre20241117-r2: lxinput.c:117:5: error: too many arguments to function ‘set_left_handed_mouse’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tdr <ted.d.rodgers> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ted.d.rodgers |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: |
emerge --info
build failure log |
Created attachment 910420 [details]
build failure log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fd53cd3230277178b4f6d6b43bd10199e217f0 commit 52fd53cd3230277178b4f6d6b43bd10199e217f0 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-09 05:13:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-09 05:15:46 +0000 lxde-base/lxinput: build w/ -std=gnu17 On life-support upstream. Closes: https://bugs.gentoo.org/944065 Signed-off-by: Sam James <sam@gentoo.org> lxde-base/lxinput/lxinput-0.3.5-r2.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) |
Created attachment 910419 [details] emerge --info c23 standard is more strict xinput.c: In function ‘on_left_handed_toggle’: lxinput.c:117:5: error: too many arguments to function ‘set_left_handed_mouse’ 117 | set_left_handed_mouse(left_handed); | ^~~~~~~~~~~~~~~~~~~~~ lxinput.c:83:13: note: declared here 83 | static void set_left_handed_mouse() | ^~~~~~~~~~~~~~~~~~~~~ lxinput.c: In function ‘main’: lxinput.c:254:5: warning: ‘gtk_dialog_set_alternative_button_order’ is deprecated [-Wdeprecated-declarations] 254 | gtk_dialog_set_alternative_button_order( (GtkDialog*)dlg, GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from lxinput.c:29: /usr/include/gtk-3.0/gtk/gtkdialog.h:185:10: note: declared here 185 | void gtk_dialog_set_alternative_button_order (GtkDialog *dialog, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builds successful with CFLAGS="${CFLAGS} -std=gnu17"