Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882583

Summary: app-emulation/softgun-0.22 fails to compile (CLANG-STRICTER-SYSTEM): arm9cpu.h:359:18: error: parameter value was not declared, defaults to int; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo ARM Porters <arm>
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-11-23 07:49:59 UTC

Issue: app-emulation/softgun-0.22 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-23 07:50:01 UTC
Created attachment 836005 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-09-21 18:47:24 UTC
The bug has been closed via the following commit(s):

commit b6a09b8fbe446b9c9990065fabbd07deb4ef85f3
Author:     Pascal Jäger <>
AuthorDate: 2023-09-21 12:05:54 +0000
Commit:     Arthur Zamarin <>
CommitDate: 2023-09-21 18:47:18 +0000

    app-emulation/softgun: fix build for clang16, lto
    EAPI bump
    Signed-off-by: Pascal Jäger <>
    Signed-off-by: Arthur Zamarin <>

 ....22-fix-declarations-with-type-mismatches.patch | 148 +++++++++++++++++++++
 .../files/softgun-0.22-fix-implicit-int.patch      |  33 +++++
 app-emulation/softgun/softgun-0.22-r1.ebuild       |  38 ++++++
 3 files changed, 219 insertions(+)