Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928946 - net-p2p/ncdc-1.24 - src/uit_conn.c: error: initialization of char ( )(ui_tab_t ) from incompatible pointer type char ( )(void) [-Wincompatible-pointer
Summary: net-p2p/ncdc-1.24 - src/uit_conn.c: error: initialization of char ( )(ui_tab_...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eric Joldasov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-08 17:18 UTC by Toralf Förster
Modified: 2024-04-08 19:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.38 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,81.43 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
environment (environment,67.44 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.32 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.02 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.76 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
net-p2p:ncdc-1.24:20240408-065820.log (net-p2p:ncdc-1.24:20240408-065820.log,14.58 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,148.28 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.98 KB, application/x-xz)
2024-04-08 17:18 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 2024-04-08 17:18:49 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui.o src/ui.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_colors.o src/ui_colors.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_listing.o src/ui_listing.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_logwindow.o src/ui_logwindow.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_textinput.o src/ui_textinput.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/uit_conn.o src/uit_conn.c
src/uit_conn.c:398:41: error: initialization of char * (*)(ui_tab_t *) from incompatible pointer type char * (*)(void) [-Wincompatible-pointer-types]
  398 | ui_tab_type_t uit_conn[1] = { { t_draw, t_title, t_key, t_close } };
      |                                         ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240406-093014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit c819b16ee3755c2a265294d35576d7d7b68adf76
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 8 06:34:04 2024 +0000

    2024-04-08 06:34:03 UTC

emerge -qpvO net-p2p/ncdc
[ebuild  N    ] net-p2p/ncdc-1.24  USE="geoip -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-04-08 17:18:50 UTC
Created attachment 889895 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-08 17:18:51 UTC
Created attachment 889896 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-08 17:18:52 UTC
Created attachment 889897 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-08 17:18:53 UTC
Created attachment 889898 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-08 17:18:54 UTC
Created attachment 889899 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-08 17:18:54 UTC
Created attachment 889900 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-08 17:18:55 UTC
Created attachment 889901 [details]
net-p2p:ncdc-1.24:20240408-065820.log
Comment 8 Toralf Förster gentoo-dev 2024-04-08 17:18:56 UTC
Created attachment 889902 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-08 17:18:57 UTC
Created attachment 889903 [details]
temp.tar.xz