Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 893272 Details for
Bug 932139
games-simulation/pmars-sdl-0.9.2e-r1 - curdisp.c: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-simulation:pmars-sdl-0.9.2e-r1:20240517-205622.log
games-simulation:pmars-sdl-0.9.2e-r1:20240517-205622.log (text/plain), 7.25 KB, created by
Toralf Förster
on 2024-05-18 07:51:17 UTC
(
hide
)
Description:
games-simulation:pmars-sdl-0.9.2e-r1:20240517-205622.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-05-18 07:51:17 UTC
Size:
7.25 KB
patch
obsolete
> * Package: games-simulation/pmars-sdl-0.9.2e-r1:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pmars-0.9.2-5.tar.gz to /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work >>>> Source unpacked in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work >>>> Preparing source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... > * Applying pmars-sdl-0.9.2e-format.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5 ... > * Compiling asm.c > * Compiling cdb.c >In file included from cdb.c:30: >sim.h:104:12: warning: built-in function âroundâ declared as non-function [-Wbuiltin-declaration-mismatch] > 104 | extern int round; > | ^~~~~ >cdb.c: In function âcdbâ: >cdb.c:897:7: warning: format not a string literal and no format arguments [-Wformat-security] > 897 | printf(pressAnyKeyToContinue); > | ^~~~~~ >cdb.c: In function âsubst_evalâ: >cdb.c:1649:23: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong intâ [-Wformat=] > 1649 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? > | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | int > | %ld > 1650 | 0 : (targetID == WARRIOR ? > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | long int > 1651 | W - warrior : progCnt))); > | ~~~~~~~~~~~~~~~~~~~~~~~ >cdb.c:1657:21: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong intâ [-Wformat=] > 1657 | sprintf(outs, "%d", (targetID == QUEUE || targetID == PSP ? > | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | int > | %ld > 1658 | 0 : (targetID == WARRIOR ? > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | long int > 1659 | W - warrior : progCnt))); > | ~~~~~~~~~~~~~~~~~~~~~~~ >cdb.c:1662:21: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âlong intâ [-Wformat=] > 1662 | sprintf(outs, "%d", (cycle + (warriorsLeft ? warriorsLeft : 1) - 1) / > | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | | > | int long int > | %ld > 1663 | (warriorsLeft ? warriorsLeft : 1)); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cdb.c: In function âcdbâ: >cdb.c:878:7: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 878 | system(argStr); > | ^~~~~~~~~~~~~~ > * Compiling clparse.c >clparse.c: In function ânext_inputâ: >clparse.c:227:5: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 227 | fscanf(filep, "%s", inputs); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >clparse.c:234:9: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 234 | fscanf(filep, "%[^\"]%*[\"]", inputs + i); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >clparse.c:237:7: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 237 | fgets(inputs, 100, filep); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >clparse.c:239:7: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 239 | fscanf(filep, "%s", inputs); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > * Compiling disasm.c >In file included from disasm.c:26: >sim.h:104:12: warning: built-in function âroundâ declared as non-function [-Wbuiltin-declaration-mismatch] > 104 | extern int round; > | ^~~~~ > * Compiling eval.c > * Compiling global.c > * Compiling pmars.c > * Compiling sim.c >In file included from sim.c:29: >sim.h:104:12: warning: built-in function âroundâ declared as non-function [-Wbuiltin-declaration-mismatch] > 104 | extern int round; > | ^~~~~ >In file included from sim.c:56: >curdisp.c: In function âcur_display_initâ: >curdisp.c:250:34: warning: '0' flag used with â%sâ gnu_printf format [-Wformat=] > 250 | sprintf(preStatusLine, "%0.20s [0]: %%-5d Cycle: %%-6d", warrior[0].name); > | ^ >curdisp.c: In function âagets5â: >curdisp.c:431:26: error: invalid use of incomplete typedef âWINDOWâ {aka âstruct _win_stâ} > 431 | if (ox = curwin->_curx) { > | ^~ >In file included from global.h:376, > from sim.c:28: >curdisp.c:439:36: error: invalid use of incomplete typedef âWINDOWâ {aka âstruct _win_stâ} > 439 | mvwaddch(curwin, curwin->_cury, --ox, ' '); > | ^~ >curdisp.c:440:33: error: invalid use of incomplete typedef âWINDOWâ {aka âstruct _win_stâ} > 440 | wmove(curwin, curwin->_cury, ox); > | ^~ >curdisp.c:442:24: error: invalid use of incomplete typedef âWINDOWâ {aka âstruct _win_stâ} > 442 | oy = curwin->_cury - 1; > | ^~ >curdisp.c:478:34: error: invalid use of incomplete typedef âWINDOWâ {aka âstruct _win_stâ} > 478 | mvwaddch(curwin, curwin->_cury, ox, ' '); > | ^~ > * ERROR: games-simulation/pmars-sdl-0.9.2e-r1::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 1770: Called die > * The specific snippet of code: > * $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${program} -c || die; > * > * If you need support, post the output of `emerge --info '=games-simulation/pmars-sdl-0.9.2e-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-simulation/pmars-sdl-0.9.2e-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-simulation:pmars-sdl-0.9.2e-r1:20240517-205622.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5/src' > * S: '/var/tmp/portage/games-simulation/pmars-sdl-0.9.2e-r1/work/pmars-0.9.2-5' >
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 932139
:
893267
|
893268
|
893269
|
893270
|
893271
| 893272 |
893273