Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 836657 Details for
Bug 882927
games-arcade/xjump-2.7.5-r2 - record.c: error: incompatible function pointer types passing int
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-arcade:xjump-2.7.5-r2:20221125-104057.log
games-arcade:xjump-2.7.5-r2:20221125-104057.log (text/plain), 4.70 KB, created by
Toralf Förster
on 2022-11-25 11:09:47 UTC
(
hide
)
Description:
games-arcade:xjump-2.7.5-r2:20221125-104057.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-25 11:09:47 UTC
Size:
4.70 KB
patch
obsolete
> * Package: games-arcade/xjump-2.7.5-r2:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking xjump_2.7.5.orig.tar.gz to /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work >>>> Unpacking xjump_2.7.5-6.1.debian.tar.gz to /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work >>>> Source unpacked in /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work >>>> Preparing source in /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work/xjump-2.7.5.orig ... > * Applying 01_overflow.patch ... > [ ok ] > * Applying 02_fix_repeat.patch ... > [ ok ] > * Applying 03_source_warnings.patch ... > [ ok ] > * Applying 04_makefile_respect_cflags.patch ... > [ ok ] > * Applying 05_unneded_deps.patch ... > [ ok ] > * Applying xjump-2.7.5-ldflags.patch ... >patching file Makefile >Hunk #1 succeeded at 30 with fuzz 2 (offset 2 lines). > [ ok ] >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! > * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work/xjump-2.7.5.orig ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-arcade/xjump-2.7.5-r2/work/xjump-2.7.5.orig ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -DRECORD_ENTRY=20 main.c -I/usr/X11R6/include >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c game.c -I/usr/X11R6/include >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c key.c -I/usr/X11R6/include >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c misc.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c \ > -DRECORD_ENTRY=20 \ > -DRECORD_FILE=\"/var/games/xjump/xjump.hiscores\" \ > record.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c resource.c >main.c:396:62: warning: passing 'unsigned char[128]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > icon = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp),icon_bits, > ^~~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >main.c:399:62: warning: passing 'unsigned char[128]' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > mask = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp),icon_msk_bits, > ^~~~~~~~~~~~~ >/usr/include/X11/Xlib.h:1607:29: note: passing argument to parameter here > _Xconst char* /* data */, > ^ >record.c:225:47: error: incompatible function pointer types passing 'int > (record_t *, record_t *)' to parameter of type '__compar_fn_t' (aka 'int > (*)(const void *, const void *)') > [-Werror,-Wincompatible-function-pointer-types] > qsort( Record,Record_entry,sizeof(record_t),sort_cmp ); > ^~~~~~~~ >/usr/include/stdlib.h:852:20: note: passing argument to parameter '__compar' > here > __compar_fn_t __compar) __nonnull ((1, 4)); > ^ >1 error generated. >make: *** [Makefile:52: record.o] Error 1 >make: *** Waiting for unfinished jobs.... >2 warnings generated. > * ERROR: games-arcade/xjump-2.7.5-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/xjump-2.7.5-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/xjump-2.7.5-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/games-arcade:xjump-2.7.5-r2:20221125-104057.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/xjump-2.7.5-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/xjump-2.7.5-r2/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/xjump-2.7.5-r2/work/xjump-2.7.5.orig' > * S: '/var/tmp/portage/games-arcade/xjump-2.7.5-r2/work/xjump-2.7.5.orig' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882927
:
836647
|
836649
|
836651
|
836653
|
836655
| 836657 |
836659