Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882583 - 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]
Summary: app-emulation/softgun-0.22 fails to compile (CLANG-STRICTER-SYSTEM): arm9cpu....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-23 07:49 UTC by Agostino Sarubbo
Modified: 2023-09-21 18:47 UTC (History)
0 users

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


Attachments
build.log (build.log,102.30 KB, text/plain)
2022-11-23 07:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-23 07:49:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
(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:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-23 07:50:01 UTC
Created attachment 836005 [details]
build.log

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a09b8fbe446b9c9990065fabbd07deb4ef85f3

commit b6a09b8fbe446b9c9990065fabbd07deb4ef85f3
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2023-09-21 12:05:54 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-09-21 18:47:18 +0000

    app-emulation/softgun: fix build for clang16, lto
    
    revbump
    EAPI bump
    
    Closes: https://bugs.gentoo.org/854534
    Closes: https://bugs.gentoo.org/882583
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/32967
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 ....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(+)