Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944065 - =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’
Summary: =lxde-base/lxinput-0.3.5-r2 fails with c23/gcc-15.0.0_pre20241117-r2: lxinput...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 01:33 UTC by tdr
Modified: 2024-12-09 05:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-20 01:33 UTC, tdr
Details
build failure log (lxinput-0.3.5-r2.build.log,8.92 KB, text/plain)
2024-11-20 01:33 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-20 01:33:38 UTC
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"
Comment 1 tdr 2024-11-20 01:33:56 UTC
Created attachment 910420 [details]
build failure log
Comment 2 Larry the Git Cow gentoo-dev 2024-12-09 05:16:16 UTC
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(-)