Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875674 - app-emulation/xtrs-4.9d-r5 - int; ISO C99 and later do not support implicit int
Summary: app-emulation/xtrs-4.9d-r5 - int; ISO C99 and later do not support implicit int
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard: fixed in 4.9d-r6
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-06 20:11 UTC by Toralf Förster
Modified: 2024-10-28 19:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2022-10-06 20:11 UTC, Toralf Förster
Details
app-emulation:xtrs-4.9d-r5:20221006-010504.log (app-emulation:xtrs-4.9d-r5:20221006-010504.log,5.69 KB, text/plain)
2022-10-06 20:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.33 KB, text/plain)
2022-10-06 20:11 UTC, Toralf Förster
Details
environment (environment,106.09 KB, text/plain)
2022-10-06 20:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.33 KB, application/x-bzip)
2022-10-06 20:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.18 KB, application/x-bzip)
2022-10-06 20:11 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-10-06 20:11:30 UTC
1 warning generated.
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -DDEFAULT_ROM='"/usr/local/lib/xtrs/level2rom.hex"' -DDEFAULT_ROM3='"/usr/local/lib/xtrs/romimage.m3"' -DDEFAULT_ROM4P='"/usr/local/lib/xtrs/romimage.m4p"' -DREADLINE -DDISKDIR='"."' -I/usr/include/X11 -DAPPDEFAULTS='"/usr/X11/lib/X11/app-defaults"' -DKBWAIT   -c -o trs_keyboard.o trs_keyboard.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -DDEFAULT_ROM='"/usr/local/lib/xtrs/level2rom.hex"' -DDEFAULT_ROM3='"/usr/local/lib/xtrs/romimage.m3"' -DDEFAULT_ROM4P='"/usr/local/lib/xtrs/romimage.m4p"' -DREADLINE -DDISKDIR='"."' -I/usr/include/X11 -DAPPDEFAULTS='"/usr/X11/lib/X11/app-defaults"' -DKBWAIT   -c -o error.o error.c
trs_memory.c:156:16: error: parameter 'state' was not declared, defaults to
      'int'; ISO C99 and later do not support implicit int
      [-Werror,-Wimplicit-int]
void mem_romin(state)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221005-090232

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.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):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 0044e3c12fb61b726f252b7ed78ce49258adf4b4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 00:03:40 2022 +0000

    2022-10-06 00:03:40 UTC

emerge -qpvO app-emulation/xtrs
[ebuild  N    ] app-emulation/xtrs-4.9d-r5  USE="-ls-dos"
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:11:31 UTC
Created attachment 821986 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:11:32 UTC
Created attachment 821989 [details]
app-emulation:xtrs-4.9d-r5:20221006-010504.log
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:11:33 UTC
Created attachment 821992 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:11:35 UTC
Created attachment 821995 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:11:36 UTC
Created attachment 821998 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:11:37 UTC
Created attachment 822001 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-07 07:59:39 UTC
The bug has been closed via the following commit(s):

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

commit 05d74e303cc31b646efbb21db536371f38c42b58
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-10-07 07:57:07 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-10-07 07:59:33 +0000

    app-emulation/xtrs: Add some type declarations to make the C99 gods happy
    
    Closes: https://bugs.gentoo.org/875674
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emulation/xtrs/files/xtrs-4.9d-implicit.patch | 35 ++++++++++
 app-emulation/xtrs/xtrs-4.9d-r6.ebuild            | 83 +++++++++++++++++++++++
 2 files changed, 118 insertions(+)