=>> Building games/pmars build started at Fri Apr 5 03:53:36 BST 2024 port directory: /usr/ports/games/pmars package name: pmars-0.9.2_4 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1953 Feb 25 10:26 /usr/ports/games/pmars/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 44851ff8c9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 11 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for pmars-0.9.2_4: DOCS=on: Build and/or install documentation ICWS94=on: Enable ICWS'94 support OPTIMIZED_CFLAGS=on: Use extra compiler optimizations PERMUTATE=on: Enable the -P switch SMALLMEM=off: Use 16-bit addresses (smaller) ====> Options available for the multi INT: you have to choose at least one of them CURSES=on: Build the console (graphical) interface SERVER=on: Build the command-line interface X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/pmars/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/pmars/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/pmars/work/.cache HOME=/wrkdirs/usr/ports/games/pmars/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/pmars/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/pmars/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/pmars/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/pmars/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/pmars/work/.cache HOME=/wrkdirs/usr/ports/games/pmars/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/pmars/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/pmars/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" CURSES="" NO_CURSES="@comment " DOCS="" NO_DOCS="@comment " ICWS94="" NO_ICWS94="@comment " OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " PERMUTATE="" NO_PERMUTATE="@comment " SERVER="" NO_SERVER="@comment " SMALLMEM="@comment " NO_SMALLMEM="" X11="" NO_X11="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pmars" EXAMPLESDIR="share/examples/pmars" DATADIR="share/pmars" WWWDIR="www/pmars" ETCDIR="etc/pmars" --End PLIST_SUB-- --SUB_LIST-- CURSES="" NO_CURSES="@comment " DOCS="" NO_DOCS="@comment " ICWS94="" NO_ICWS94="@comment " OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " PERMUTATE="" NO_PERMUTATE="@comment " SERVER="" NO_SERVER="@comment " SMALLMEM="@comment " NO_SMALLMEM="" X11="" NO_X11="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pmars DOCSDIR=/usr/local/share/doc/pmars EXAMPLESDIR=/usr/local/share/examples/pmars WWWDIR=/usr/local/www/pmars ETCDIR=/usr/local/etc/pmars --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pmars port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pmars-0.9.2_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> pmars-0.9.2_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pmars-0.9.2_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pmars port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pmars-0.9.2_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pmars port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pmars-0.9.2_4 for building => SHA256 Checksum OK for pmars-0.9.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pmars port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pmars-0.9.2_4 for building ===> Extracting for pmars-0.9.2_4 => SHA256 Checksum OK for pmars-0.9.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pmars-0.9.2_4 ===> Applying FreeBSD patches for pmars-0.9.2_4 from /usr/ports/games/pmars/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pmars-0.9.2_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,1: .......... done ===> pmars-0.9.2_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of pmars-0.9.2_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pmars-0.9.2_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pmars-0.9.2_4 Making pmars with compiler flags -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-builtin -DEXT94 -O3 -fomit-frame-pointer -DPERMUTATE -DGRAPHX Compiling pmars.o Compiling asm.o asm.c:309:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ asm.c:367:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt lspnt; ^ asm.c:237:44: note: previous declaration is here static void addline(char *, src_st *, uShrt); ^ asm.c:379:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ asm.c:390:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt loc; ^ asm.c:233:40: note: previous declaration is here static src_st *addlinesrc(char *, uShrt); ^ asm.c:524:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:238:28: note: previous declaration is here static void show_info(uShrt), show_lbl(void); ^ asm.c:557:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:38: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:45: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:52: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:608:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx; ^ asm.c:223:37: note: previous declaration is here static void lineswitch(char *, uShrt, line_st *); ^ asm.c:1438:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:40: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:1493:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ asm.c:1942:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:25: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:2017:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if ((evalerrB = eval_expr(B_expr, &resultB)) < OK_EXPR) { ^ 13 warnings generated. Compiling eval.o eval.c:368:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char regChr; ^ ./global.h:418:26: note: previous declaration is here extern void set_reg(char regChr, long val); ^ 1 warning generated. Compiling disasm.o Compiling cdb.o cdb.c:523:11: warning: address of array 'argStr' will always evaluate to 'true' [-Wpointer-bool-conversion] if (argStr) { ~~ ^~~~~~ cdb.c:1412:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. Compiling sim.o In file included from sim.c:56: ./curdisp.c:155:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./curdisp.c:238:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./curdisp.c:431:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ox = curwin->_curx) { ~~~^~~~~~~~~~~~~~~ ./curdisp.c:431:18: note: place parentheses around the assignment to silence this warning if (ox = curwin->_curx) { ^ ( ) ./curdisp.c:431:18: note: use '==' to turn this assignment into an equality comparison if (ox = curwin->_curx) { ^ == ./curdisp.c:537:5: warning: unsequenced modification and access to 'i' [-Wunsequenced] PUT_ARENA(idx, ' '); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:430:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dec(addrA); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:124:9: note: expanded from macro 'display_dec' cur_display_dec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:139:2: note: expanded from macro 'cur_display_dec' PUT_ARENA(addr, '-'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:434:3: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_inc(addrA); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:126:9: note: expanded from macro 'display_inc' cur_display_inc(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:141:2: note: expanded from macro 'cur_display_inc' PUT_ARENA(addr, '+'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:512:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dec(addrB); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:124:9: note: expanded from macro 'display_dec' cur_display_dec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:139:2: note: expanded from macro 'cur_display_dec' PUT_ARENA(addr, '-'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:516:3: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_inc(addrB); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:126:9: note: expanded from macro 'display_inc' cur_display_inc(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:141:2: note: expanded from macro 'cur_display_inc' PUT_ARENA(addr, '+'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:576:7: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_exec(progCnt); ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:128:9: note: expanded from macro 'display_exec' cur_display_exec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:143:2: note: expanded from macro 'cur_display_exec' PUT_ARENA(addr, ((W-warrior)+'0')); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:580:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:582:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:589:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:591:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:595:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:597:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:604:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:606:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:620:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:623:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:632:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:635:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:639:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:642:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:650:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:653:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:658:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:661:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:670:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:673:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:677:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:680:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:688:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:691:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:697:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:700:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:709:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:712:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:716:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:719:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:727:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:730:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:735:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:739:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:743:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:747:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:751:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:755:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:759:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:763:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:768:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:771:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:775:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:781:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:785:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:788:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:792:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:798:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:803:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:807:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:811:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:815:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:819:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:823:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:827:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:831:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:836:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:839:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:843:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:849:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:854:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:857:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:861:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:867:4: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:874:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:883:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:889:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:898:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:906:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:915:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:926:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dec(addrB); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:124:9: note: expanded from macro 'display_dec' cur_display_dec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:139:2: note: expanded from macro 'cur_display_dec' PUT_ARENA(addr, '-'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:944:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dec(addrB); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:124:9: note: expanded from macro 'display_dec' cur_display_dec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:139:2: note: expanded from macro 'cur_display_dec' PUT_ARENA(addr, '-'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:957:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dec(addrB); ^~~~~~~~~~~~~~~~~~ ./curdisp.c:124:9: note: expanded from macro 'display_dec' cur_display_dec(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:139:2: note: expanded from macro 'cur_display_dec' PUT_ARENA(addr, '-'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:972:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:973:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:983:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:984:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:994:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:995:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1003:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1004:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1014:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1015:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1025:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1026:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1034:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1035:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1043:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1044:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1053:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1054:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1061:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1062:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1067:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1068:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1074:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1075:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1081:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1082:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1087:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1088:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1095:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1096:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1104:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1105:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1110:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1111:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1118:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1119:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1126:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1127:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1132:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrB); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1133:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1179:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_dat(progCnt, W - warrior, W->tasks); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:131:9: note: expanded from macro 'display_dat' cur_display_dat(addr,warrior,tasks); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:146:2: note: expanded from macro 'cur_display_dat' PUT_ARENA(addr, '*'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1212:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1214:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1221:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1223:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1227:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1229:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1233:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1235:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1239:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1247:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1252:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1257:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1262:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_read(addrA); ^~~~~~~~~~~~~~~~~~~ ./curdisp.c:120:9: note: expanded from macro 'display_read' cur_display_read(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:135:2: note: expanded from macro 'cur_display_read' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ sim.c:1276:2: warning: unsequenced modification and access to 'i' [-Wunsequenced] display_write(addrB); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:122:9: note: expanded from macro 'display_write' cur_display_write(addr); } while(0) ^~~~~~~~~~~~~~~~~~~~~~~ ./curdisp.c:137:2: note: expanded from macro 'cur_display_write' PUT_ARENA(addr, '.'); ^~~~~~~~~~~~~~~~~~~~ ./curdisp.c:110:28: note: expanded from macro 'PUT_ARENA' mvwaddch(corewin, (i = ((addr)/scale))/COLS, i % COLS, (chr));\ ^ ~ /usr/include/curses.h:1303:45: note: expanded from macro 'mvwaddch' #define mvwaddch(win,y,x,ch) (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch))) ^ ~ 137 warnings generated. Compiling pos.o Compiling clparse.o Compiling global.o Compiling token.o token.c:101:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt c; ^ ./asm.h:47:29: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ token.c:133:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt i; ^ ./asm.h:47:64: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ 2 warnings generated. Compiling str_eng.o Linking pmars done rm -f pmars.o asm.o eval.o disasm.o cdb.o sim.o pos.o clparse.o global.o token.o str_eng.o core Making pmars with compiler flags -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-builtin -DEXT94 -O3 -fomit-frame-pointer -DPERMUTATE -DSERVER Compiling pmars.o Compiling asm.o asm.c:309:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ asm.c:367:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt lspnt; ^ asm.c:237:44: note: previous declaration is here static void addline(char *, src_st *, uShrt); ^ asm.c:379:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ asm.c:390:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt loc; ^ asm.c:233:40: note: previous declaration is here static src_st *addlinesrc(char *, uShrt); ^ asm.c:524:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:238:28: note: previous declaration is here static void show_info(uShrt), show_lbl(void); ^ asm.c:557:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:38: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:45: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:52: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:1438:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:40: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:1493:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ asm.c:1942:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:25: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:2017:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if ((evalerrB = eval_expr(B_expr, &resultB)) < OK_EXPR) { ^ 12 warnings generated. Compiling eval.o eval.c:368:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char regChr; ^ ./global.h:418:26: note: previous declaration is here extern void set_reg(char regChr, long val); ^ 1 warning generated. Compiling disasm.o Compiling cdb.o Compiling sim.o Compiling pos.o Compiling clparse.o Compiling global.o Compiling token.o token.c:101:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt c; ^ ./asm.h:47:29: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ token.c:133:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt i; ^ ./asm.h:47:64: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ 2 warnings generated. Compiling str_eng.o Linking pmars done rm -f pmars.o asm.o eval.o disasm.o cdb.o sim.o pos.o clparse.o global.o token.o str_eng.o core Making pmars with compiler flags -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-builtin -DEXT94 -O3 -fomit-frame-pointer -DPERMUTATE -DXWINGRAPHX -I/usr/local/include Compiling pmars.o Compiling asm.o asm.c:309:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ asm.c:367:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt lspnt; ^ asm.c:237:44: note: previous declaration is here static void addline(char *, src_st *, uShrt); ^ asm.c:379:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ asm.c:390:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt loc; ^ asm.c:233:40: note: previous declaration is here static src_st *addlinesrc(char *, uShrt); ^ asm.c:524:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:238:28: note: previous declaration is here static void show_info(uShrt), show_lbl(void); ^ asm.c:557:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:38: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:45: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:557:21: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx, loc, lspnt; ^ asm.c:225:52: note: previous declaration is here static int globalswitch(char *, uShrt, uShrt, uShrt); ^ asm.c:608:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt idx; ^ asm.c:223:37: note: previous declaration is here static void lineswitch(char *, uShrt, line_st *); ^ asm.c:1438:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:40: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:1493:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ asm.c:1942:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt sspnt; ^ asm.c:245:25: note: previous declaration is here static void expand(uShrt), encode(uShrt); ^ asm.c:2017:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if ((evalerrB = eval_expr(B_expr, &resultB)) < OK_EXPR) { ^ 13 warnings generated. Compiling eval.o eval.c:368:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char regChr; ^ ./global.h:418:26: note: previous declaration is here extern void set_reg(char regChr, long val); ^ 1 warning generated. Compiling disasm.o Compiling cdb.o cdb.c:523:11: warning: address of array 'argStr' will always evaluate to 'true' [-Wpointer-bool-conversion] if (argStr) { ~~ ^~~~~~ 1 warning generated. Compiling sim.o In file included from sim.c:92: ./xwindisp.c:713:39: warning: passing 'unsigned char[20]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] count = XLookupString(&event->xkey, buffer, 20, &keysym, &compose); ^~~~~~ /usr/local/include/X11/Xutil.h:536:31: note: passing argument to parameter here char* /* buffer_return */, ^ In file included from sim.c:92: ./xwindisp.c:1284:9: warning: implicit declaration of function 'sighandler' is invalid in C99 [-Wimplicit-function-declaration] sighandler(0); /* ??? debugState = STEP; *//* stepping = ^ ./xwindisp.c:1642:29: warning: passing 'unsigned char[384]' 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] pmarsicn_bits, pmarsicn_width, pmarsicn_height); ^~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ 3 warnings generated. Compiling pos.o Compiling clparse.o Compiling global.o Compiling token.o token.c:101:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt c; ^ ./asm.h:47:29: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ token.c:133:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'uShrt' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] uShrt i; ^ ./asm.h:47:64: note: previous declaration is here extern uChar ch_in_set(uShrt, char *), skip_space(char *, uShrt); ^ 2 warnings generated. Compiling str_eng.o Linking pmars done rm -f pmars.o asm.o eval.o disasm.o cdb.o sim.o pos.o clparse.o global.o token.o str_eng.o core =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pmars-0.9.2_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pmars-0.9.2_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/pmars/work/pmars-0.9.2/src/pmars-curses /wrkdirs/usr/ports/games/pmars/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/pmars/work/pmars-0.9.2/src/pmars-server /wrkdirs/usr/ports/games/pmars/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/pmars/work/pmars-0.9.2/src/pmars-x11 /wrkdirs/usr/ports/games/pmars/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/games/pmars/work/pmars-0.9.2/src/../doc/pmars.6 /wrkdirs/usr/ports/games/pmars/work/stage/usr/local/share/man/man6 cd /wrkdirs/usr/ports/games/pmars/work/pmars-0.9.2/src/.. && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "README config doc warriors" /wrkdirs/usr/ports/games/pmars/work/stage/usr/local/share/doc/pmars ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T02:53:36+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=44851ff8c9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for pmars-0.9.2_4 ===> Building pmars-0.9.2_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pmars-0.9.2_4 build of games/pmars | pmars-0.9.2_4 ended at Fri Apr 5 03:53:53 BST 2024 build time: 00:00:18