Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881345 - x11-misc/xcb-2.4-r1 - xcb.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: x11-misc/xcb-2.4-r1 - xcb.c: error: type specifier missing, defaults to int; ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-14 22:26 UTC by Toralf Förster
Modified: 2023-10-01 07:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2022-11-14 22:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.08 KB, text/plain)
2022-11-14 22:26 UTC, Toralf Förster
Details
environment (environment,58.24 KB, text/plain)
2022-11-14 22:26 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,698 bytes, application/x-bzip)
2022-11-14 22:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.02 KB, application/x-bzip)
2022-11-14 22:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.49 KB, application/x-bzip)
2022-11-14 22:26 UTC, Toralf Förster
Details
x11-misc:xcb-2.4-r1:20221114-221307.log (x11-misc:xcb-2.4-r1:20221114-221307.log,8.36 KB, text/plain)
2022-11-14 22:26 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-11-14 22:26:49 UTC
      in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
init (argc, argv)
^
xcb.c:1353:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main (argc, argv)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221114-100928

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 3042f98559a078766c7c27ce22340aabf7d4b32b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 21:46:52 2022 +0000

    2022-11-14 21:46:51 UTC

emerge -qpvO x11-misc/xcb
[ebuild  N    ] x11-misc/xcb-2.4-r1  USE="-motif"
Comment 1 Toralf Förster gentoo-dev 2022-11-14 22:26:50 UTC
Created attachment 832739 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 22:26:51 UTC
Created attachment 832741 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-14 22:26:52 UTC
Created attachment 832743 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 22:26:53 UTC
Created attachment 832745 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 22:26:54 UTC
Created attachment 832747 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 22:26:55 UTC
Created attachment 832749 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 22:26:56 UTC
Created attachment 832751 [details]
x11-misc:xcb-2.4-r1:20221114-221307.log
Comment 8 Larry the Git Cow gentoo-dev 2023-10-01 07:55:11 UTC
The bug has been closed via the following commit(s):

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

commit 05f0782540f8a9755197414f9da9c19bc472afe1
Author:     x7upLime <andrew@andrewdomain.com>
AuthorDate: 2023-07-20 23:20:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-01 07:53:49 +0000

    x11-misc/xcb: Ports to clang-16
    
    Closes: https://bugs.gentoo.org/881345
    Signed-off-by: Andrei Corduneanu <andrew@andrewdomain.com>
    Closes: https://github.com/gentoo/gentoo/pull/31981
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xcb/files/xcb-modern-c-porting.patch | 342 ++++++++++++++++++++++++++
 x11-misc/xcb/xcb-2.4-r2.ebuild                |  58 +++++
 2 files changed, 400 insertions(+)