Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871048 - games-arcade/conveysdl-1.3-r2 - main.c: error: parameter soundnum was not declared, defaults to int;
Summary: games-arcade/conveysdl-1.3-r2 - main.c: error: parameter soundnum was not dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:46 UTC by Toralf Förster
Modified: 2022-10-07 05:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.66 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,59.13 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
environment (environment,88.11 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.68 KB, application/x-bzip)
2022-09-17 19:46 UTC, Toralf Förster
Details
games-arcade:conveysdl-1.3-r2:20220917-191444.log (games-arcade:conveysdl-1.3-r2:20220917-191444.log,2.59 KB, text/plain)
2022-09-17 19:46 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.50 KB, application/x-bzip)
2022-09-17 19:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-17 19:46:13 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-arcade/conveysdl-1.3-r2/work ...
make -j4 main 'LDLIBS= -lSDL_mixer -lSDL -lpthread' 
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DDATA_PREFIX='"/usr/share/conveysdl/"' -DENABLE_SOUND -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  main.c  -lSDL_mixer -lSDL -lpthread -o main
main.c:72:15: error: parameter 'soundnum' was not declared, defaults to 'int';
      ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
int playsound(soundnum)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220917-010004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 165a41435aa2a18cdad2721295d6a59483ae4c59
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 18:17:00 2022 +0000

    2022-09-17 18:16:59 UTC

emerge -qpvO games-arcade/conveysdl
[ebuild  N    ] games-arcade/conveysdl-1.3-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:46:14 UTC
Created attachment 809470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:46:16 UTC
Created attachment 809473 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:46:17 UTC
Created attachment 809476 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:46:18 UTC
Created attachment 809479 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:46:19 UTC
Created attachment 809482 [details]
games-arcade:conveysdl-1.3-r2:20220917-191444.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:46:20 UTC
Created attachment 809485 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-07 05:41:27 UTC
The bug has been closed via the following commit(s):

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

commit 597a59ff60bb76f6b632ffe556dec722a4ca1ee1
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-07 05:40:37 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-07 05:41:09 +0000

    games-arcade/conveysdl: fix build with upcoming clang16
    
    Closes: https://bugs.gentoo.org/871048
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-arcade/conveysdl/conveysdl-1.3-r2.ebuild           | 1 +
 games-arcade/conveysdl/files/conveysdl-1.3-clang16.patch | 8 ++++++++
 2 files changed, 9 insertions(+)