Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871498 - games-arcade/stardork-0.7-r1 - stardork.c: error: parameter x was not declared, defaults to int; ISO
Summary: games-arcade/stardork-0.7-r1 - stardork.c: error: parameter x was not declare...
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-18 16:46 UTC by Toralf Förster
Modified: 2022-10-13 09:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,191.75 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
environment (environment,57.54 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.64 KB, application/x-bzip)
2022-09-18 16:46 UTC, Toralf Förster
Details
games-arcade:stardork-0.7-r1:20220918-164427.log (games-arcade:stardork-0.7-r1:20220918-164427.log,14.87 KB, text/plain)
2022-09-18 16:46 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.35 KB, application/x-bzip)
2022-09-18 16:47 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-18 16:46:52 UTC
stardork.c:357:20: note: treat the string as an argument to avoid this
    mvprintw(y, x, fire.blank);
                   ^
                   "%s", 
stardork.c:377:23: error: parameter 'x' was not declared, defaults to 'int'; ISO
      C99 and later do not support implicit int [-Werror,-Wimplicit-int]
void plot_wormhole(y, x) {

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] 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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 86a956236f795efeb2d0fa11443b295b56e4be57
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 15:46:46 2022 +0000

    2022-09-18 15:46:46 UTC

emerge -qpvO games-arcade/stardork
[ebuild  N    ] games-arcade/stardork-0.7-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-18 16:46:53 UTC
Created attachment 812050 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 16:46:55 UTC
Created attachment 812053 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-18 16:46:56 UTC
Created attachment 812056 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-18 16:46:57 UTC
Created attachment 812059 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-18 16:46:59 UTC
Created attachment 812062 [details]
games-arcade:stardork-0.7-r1:20220918-164427.log
Comment 6 Toralf Förster gentoo-dev 2022-09-18 16:47:00 UTC
Created attachment 812065 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-13 09:06:56 UTC
The bug has been closed via the following commit(s):

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

commit 2fc276966c91e9c0270ed31b1978d7bcff51721b
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-13 07:41:13 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-13 09:06:07 +0000

    games-arcade/stardork: EAPI6->8, fix build with clang16
    
    Also pass cppflags bit of ncurses' pkg-config.
    
    Closes: https://bugs.gentoo.org/871498
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../stardork/files/stardork-0.7-clang16.patch      | 13 ++++++++
 games-arcade/stardork/stardork-0.7-r1.ebuild       | 34 ---------------------
 games-arcade/stardork/stardork-0.7-r2.ebuild       | 35 ++++++++++++++++++++++
 3 files changed, 48 insertions(+), 34 deletions(-)