Summary: | games-util/qstat-2.14 - [ncurses-6.5] [gcc-15] packet_manip.c: error: too many arguments to function (int ( )(void))server->type->packet_func | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jy6x2b32pie9 |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40318 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz games-util:qstat-2.14:20241121-054700.log logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 911185 [details]
emerge-info.txt
Created attachment 911186 [details]
emerge-history.txt.xz
Created attachment 911187 [details]
environment
Created attachment 911188 [details]
etc.clang.tar.xz
Created attachment 911189 [details]
etc.portage.tar.xz
Created attachment 911190 [details]
games-util:qstat-2.14:20241121-054700.log
Created attachment 911191 [details]
logs.tar.xz
Created attachment 911192 [details]
qlist-info.txt.xz
Created attachment 911193 [details]
temp.tar.xz
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ae3b8e567d43a891f8818bb92b6258b412e07e commit 46ae3b8e567d43a891f8818bb92b6258b412e07e Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-26 15:18:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-10 08:54:22 +0000 games-util/qstat: Remove bad function pointer cast, C23 porting Existing function pointer is already of correct type, any additional casting is superfluous, and in this case lacks argument types. Safely removed. Added strnstr to whitelist of QA checks for implicit declarations: there is a fallback implementation, safe to ignore Closes: https://bugs.gentoo.org/899024 Bug: https://bugs.gentoo.org/944360 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> games-util/qstat/Manifest | 1 + games-util/qstat/files/qstat-2.14-unneeded-cast.patch | 14 ++++++++++++++ .../qstat/{qstat-2.14.ebuild => qstat-2.14-r1.ebuild} | 13 +++++++++---- 3 files changed, 24 insertions(+), 4 deletions(-) |