Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870775 - app-text/letterize-1.4 - letterize.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: app-text/letterize-1.4 - letterize.c: error: type specifier missing, defaults...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 15:15 UTC by Toralf Förster
Modified: 2022-09-30 03:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.55 KB, text/plain)
2022-09-17 15:15 UTC, Toralf Förster
Details
app-text:letterize-1.4:20220917-142453.log (app-text:letterize-1.4:20220917-142453.log,2.59 KB, text/plain)
2022-09-17 15:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.57 KB, text/plain)
2022-09-17 15:15 UTC, Toralf Förster
Details
environment (environment,60.25 KB, text/plain)
2022-09-17 15:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.18 KB, application/x-bzip)
2022-09-17 15:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.99 KB, application/x-bzip)
2022-09-17 15:15 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 15:15:30 UTC
      comparison
        for (s2 = digitrans[c-'2'];  s[i]= *s2++;)
                                         ^
                                         ==
letterize.c:235:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main(int argc, char **argv)

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
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 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 a7abb04fd6c213f3bf85ff69b1fd07d64b30626c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 13:46:46 2022 +0000

    2022-09-17 13:46:46 UTC

emerge -qpvO app-text/letterize
[ebuild  N    ] app-text/letterize-1.4
Comment 1 Toralf Förster gentoo-dev 2022-09-17 15:15:32 UTC
Created attachment 807637 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 15:15:33 UTC
Created attachment 807640 [details]
app-text:letterize-1.4:20220917-142453.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 15:15:35 UTC
Created attachment 807643 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 15:15:39 UTC
Created attachment 807646 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 15:15:40 UTC
Created attachment 807649 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 15:15:41 UTC
Created attachment 807652 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-30 03:43:30 UTC
The bug has been closed via the following commit(s):

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

commit 59e7fe66282908d11677b4e5626b964b0fa723c4
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-30 03:20:00 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-30 03:42:26 +0000

    app-text/letterize: fix build with clang16
    
    Trivial fix.
    
    Closes: https://bugs.gentoo.org/870775
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-text/letterize/files/letterize-1.4-clang16.patch | 8 ++++++++
 app-text/letterize/letterize-1.4.ebuild              | 6 +++++-
 2 files changed, 13 insertions(+), 1 deletion(-)