=>> Building games/xlife build started at Fri Apr 5 12:19:03 BST 2024 port directory: /usr/ports/games/xlife package name: xlife-6.7.6_1 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 1770 Jan 11 20:37 /usr/ports/games/xlife/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: cb347ec666 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 10 ---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/10/.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 xlife-6.7.6_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/games/xlife/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xlife/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xlife/work/.cache HOME=/wrkdirs/usr/ports/games/xlife/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/xlife/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xlife/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-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/games/xlife/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xlife/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xlife/work/.cache HOME=/wrkdirs/usr/ports/games/xlife/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/xlife/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xlife/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="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xlife" EXAMPLESDIR="share/examples/xlife" DATADIR="share/xlife" WWWDIR="www/xlife" ETCDIR="etc/xlife" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xlife DOCSDIR=/usr/local/share/doc/xlife EXAMPLESDIR=/usr/local/share/examples/xlife WWWDIR=/usr/local/www/xlife ETCDIR=/usr/local/etc/xlife --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 xlife 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 ===> xlife-6.7.6_1 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 ===> xlife-6.7.6_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xlife-6.7.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xlife 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 xlife-6.7.6_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xlife 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 xlife-6.7.6_1 for building => SHA256 Checksum OK for xlife-6.7.6.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xlife 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 xlife-6.7.6_1 for building ===> Extracting for xlife-6.7.6_1 => SHA256 Checksum OK for xlife-6.7.6.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xlife-6.7.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xlife-6.7.6_1 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting imake-1.0.10_1,1: .......... done ===> xlife-6.7.6_1 depends on executable: imake - found ===> Returning to build of xlife-6.7.6_1 ===> xlife-6.7.6_1 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] Extracting tradcpp-0.5.3: .. done ===> xlife-6.7.6_1 depends on executable: tradcpp - found ===> Returning to build of xlife-6.7.6_1 ===> xlife-6.7.6_1 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 ===> xlife-6.7.6_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xlife-6.7.6_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xlife-6.7.6_1 imake -DUseInstalled -I/usr/local/lib/X11/config =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xlife-6.7.6_1 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c cell.c -o cell.o cell.c:57:54: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] return (ptr->twostate.live2 & 1 << (ydx - 4)*8 + xdx) != 0; ~~ ~~~~~~~~~~~~^~~~~ cell.c:57:54: note: place parentheses around the '+' expression to silence this warning return (ptr->twostate.live2 & 1 << (ydx - 4)*8 + xdx) != 0; ^ ( ) cell.c:59:48: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] return (ptr->twostate.live1 & 1 << ydx*8 + xdx) != 0; ~~ ~~~~~~^~~~~ cell.c:59:48: note: place parentheses around the '+' expression to silence this warning return (ptr->twostate.live1 & 1 << ydx*8 + xdx) != 0; ^ ( ) cell.c:198:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ns = ptr->nstate.cell[i][j]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~ cell.c:198:32: note: place parentheses around the assignment to silence this warning if (ns = ptr->nstate.cell[i][j]) { ^ ( ) cell.c:198:32: note: use '==' to turn this assignment into an equality comparison if (ns = ptr->nstate.cell[i][j]) { ^ == cell.c:213:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cell.c:213:32: note: place parentheses around the assignment to silence this warning if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ^ ( ) cell.c:213:32: note: use '==' to turn this assignment into an equality comparison if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ^ == cell.c:351:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ns = ptr->nstate.cell[i][j]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~ cell.c:351:32: note: place parentheses around the assignment to silence this warning if (ns = ptr->nstate.cell[i][j]) { ^ ( ) cell.c:351:32: note: use '==' to turn this assignment into an equality comparison if (ns = ptr->nstate.cell[i][j]) { ^ == cell.c:364:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cell.c:364:32: note: place parentheses around the assignment to silence this warning if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ^ ( ) cell.c:364:32: note: use '==' to turn this assignment into an equality comparison if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { ^ == cell.c:372:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ns = ptr->nstate.cell[i][j]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~ cell.c:372:26: note: place parentheses around the assignment to silence this warning if (ns = ptr->nstate.cell[i][j]) { ^ ( ) cell.c:372:26: note: use '==' to turn this assignment into an equality comparison if (ns = ptr->nstate.cell[i][j]) { ^ == 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c clipboard.c -o clipboard.o clipboard.c:69:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = (*cp - '@' + dc)%mod) ~~^~~~~~~~~~~~~~~~~~~~~~ clipboard.c:69:19: note: place parentheses around the assignment to silence this warning if (c = (*cp - '@' + dc)%mod) ^ ( ) clipboard.c:69:19: note: use '==' to turn this assignment into an equality comparison if (c = (*cp - '@' + dc)%mod) ^ == clipboard.c:138:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = getcell(&tp->cells, x, y)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ clipboard.c:138:21: note: place parentheses around the assignment to silence this warning if (val = getcell(&tp->cells, x, y)) { ^ ( ) clipboard.c:138:21: note: use '==' to turn this assignment into an equality comparison if (val = getcell(&tp->cells, x, y)) { ^ == clipboard.c:182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (q = bounding_box(pp)) { ~~^~~~~~~~~~~~~~~~~~ clipboard.c:182:10: note: place parentheses around the assignment to silence this warning if (q = bounding_box(pp)) { ^ ( ) clipboard.c:182:10: note: use '==' to turn this assignment into an equality comparison if (q = bounding_box(pp)) { ^ == clipboard.c:192:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = clipboard.first) { ~~^~~~~~~~~~~~~~~~~ clipboard.c:192:10: note: place parentheses around the assignment to silence this warning if (p = clipboard.first) { ^ ( ) clipboard.c:192:10: note: use '==' to turn this assignment into an equality comparison if (p = clipboard.first) { ^ == 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c collect.c -o collect.o collect.c:138:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strstr(patfile, "./")) /* removes exessive part */ ~~^~~~~~~~~~~~~~~~~~~~~~~ collect.c:138:13: note: place parentheses around the assignment to silence this warning while (p = strstr(patfile, "./")) /* removes exessive part */ ^ ( ) collect.c:138:13: note: use '==' to turn this assignment into an equality comparison while (p = strstr(patfile, "./")) /* removes exessive part */ ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c colors.c -o colors.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c data.c -o data.o data.c:33:11: warning: implicitly declaring library function 'isalnum' with type 'int (int)' [-Wimplicit-function-declaration] return isalnum(c) || c == '~' || c == '@'; ^ data.c:33:11: note: include the header or explicitly provide a declaration for 'isalnum' data.c:37:8: warning: implicitly declaring library function 'isdigit' with type 'int (int)' [-Wimplicit-function-declaration] if (isdigit(c)) return c - '0'; ^ data.c:37:8: note: include the header or explicitly provide a declaration for 'isdigit' data.c:38:8: warning: implicitly declaring library function 'isupper' with type 'int (int)' [-Wimplicit-function-declaration] if (isupper(c)) return c - '7'; ^ data.c:38:8: note: include the header or explicitly provide a declaration for 'isupper' data.c:39:8: warning: implicitly declaring library function 'islower' with type 'int (int)' [-Wimplicit-function-declaration] if (islower(c)) return c - 61; ^ data.c:39:8: note: include the header or explicitly provide a declaration for 'islower' 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c file.c -o file.o file.c:103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = getenv("LIFEPATH")) { ~~~^~~~~~~~~~~~~~~~~~~~ file.c:103:11: note: place parentheses around the assignment to silence this warning if (cp = getenv("LIFEPATH")) { ^ ( ) file.c:103:11: note: use '==' to turn this assignment into an equality comparison if (cp = getenv("LIFEPATH")) { ^ == file.c:109:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cp = strtok(0, ":")); ~~~^~~~~~~~~~~~~~~~ file.c:109:19: note: place parentheses around the assignment to silence this warning } while (cp = strtok(0, ":")); ^ ( ) file.c:109:19: note: use '==' to turn this assignment into an equality comparison } while (cp = strtok(0, ":")); ^ == file.c:166:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam(full)) ~~~^~~~~~~~~~~~~~~~ file.c:166:17: note: place parentheses around the assignment to silence this warning if (pw = getpwnam(full)) ^ ( ) file.c:166:17: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam(full)) ^ == file.c:161:30: warning: unsequenced modification and access to 'i' [-Wunsequenced] full[i - 1] = stng[i++]; ~ ^ file.c:193:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:193:15: note: place parentheses around the assignment to silence this warning if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { ^ ( ) file.c:193:15: note: use '==' to turn this assignment into an equality comparison if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { ^ == file.c:196:7: warning: implicit declaration of function 'setcurdir' is invalid in C99 [-Wimplicit-function-declaration] setcurdir("."); /* update widget's file list */ ^ file.c:214:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (colptr = strchr(filename, ':')) *colptr = '\0'; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ file.c:214:15: note: place parentheses around the assignment to silence this warning if (colptr = strchr(filename, ':')) *colptr = '\0'; ^ ( ) file.c:214:15: note: use '==' to turn this assignment into an equality comparison if (colptr = strchr(filename, ':')) *colptr = '\0'; ^ == file.c:246:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (t < strlen(cp)) ^ file.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strrchr(loadqueue->patname, '/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:262:11: note: place parentheses around the assignment to silence this warning if (cp = strrchr(loadqueue->patname, '/')) ^ ( ) file.c:262:11: note: use '==' to turn this assignment into an equality comparison if (cp = strrchr(loadqueue->patname, '/')) ^ == file.c:277:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (quitload = breakreq()) ~~~~~~~~~^~~~~~~~~~~~ file.c:277:23: note: place parentheses around the assignment to silence this warning if (quitload = breakreq()) ^ ( ) file.c:277:23: note: use '==' to turn this assignment into an equality comparison if (quitload = breakreq()) ^ == file.c:489:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dp = opendir(*dirp)) { ~~~^~~~~~~~~~~~~~~~ file.c:489:17: note: place parentheses around the assignment to silence this warning if (dp = opendir(*dirp)) { ^ ( ) file.c:489:17: note: use '==' to turn this assignment into an equality comparison if (dp = opendir(*dirp)) { ^ == file.c:490:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = readdir(dp)) { ~~~~~~^~~~~~~~~~~~~ file.c:490:26: note: place parentheses around the assignment to silence this warning while (entry = readdir(dp)) { ^ ( ) file.c:490:26: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(dp)) { ^ == file.c:508:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (loadfl = fopen(fullpath, "r")) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:508:15: note: place parentheses around the assignment to silence this warning if (loadfl = fopen(fullpath, "r")) { ^ ( ) file.c:508:15: note: use '==' to turn this assignment into an equality comparison if (loadfl = fopen(fullpath, "r")) { ^ == file.c:655:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ file.c:663:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (errmsg = use_colors(cp, dirs)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:663:30: note: place parentheses around the assignment to silence this warning if (errmsg = use_colors(cp, dirs)) { ^ ( ) file.c:663:30: note: use '==' to turn this assignment into an equality comparison if (errmsg = use_colors(cp, dirs)) { ^ == file.c:689:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ file.c:809:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strstr(buf, "CXRLE")) { ~~^~~~~~~~~~~~~~~~~~~~~~ file.c:809:22: note: place parentheses around the assignment to silence this warning if (p = strstr(buf, "CXRLE")) { ^ ( ) file.c:809:22: note: use '==' to turn this assignment into an equality comparison if (p = strstr(buf, "CXRLE")) { ^ == file.c:810:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strstr(p + 6, "Pos")) ~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:810:26: note: place parentheses around the assignment to silence this warning if (cp = strstr(p + 6, "Pos")) ^ ( ) file.c:810:26: note: use '==' to turn this assignment into an equality comparison if (cp = strstr(p + 6, "Pos")) ^ == file.c:812:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strstr(p + 6, "Gen")) ~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:812:26: note: place parentheses around the assignment to silence this warning if (cp = strstr(p + 6, "Gen")) ^ ( ) file.c:812:26: note: use '==' to turn this assignment into an equality comparison if (cp = strstr(p + 6, "Gen")) ^ == file.c:813:47: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] sscanf(cp + 3, " = %ul", &context->generations); ~~ ^~~~~~~~~~~~~~~~~~~~~ %lu file.c:819:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(patid, ':')) { ~~^~~~~~~~~~~~~~~~~~~~~ file.c:819:22: note: place parentheses around the assignment to silence this warning if (p = strrchr(patid, ':')) { ^ ( ) file.c:819:22: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(patid, ':')) { ^ == file.c:833:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(patid, '/')) ~~~^~~~~~~~~~~~~~~~~~~~ file.c:833:23: note: place parentheses around the assignment to silence this warning if (cp = strchr(patid, '/')) ^ ( ) file.c:833:23: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(patid, '/')) ^ == file.c:839:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (toupper(patid[0]) == 'B') { ^ file.c:896:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(tmpstring, 'x')) { ~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:896:22: note: place parentheses around the assignment to silence this warning if (p = strchr(tmpstring, 'x')) { ^ ( ) file.c:896:22: note: use '==' to turn this assignment into an equality comparison if (p = strchr(tmpstring, 'x')) { ^ == file.c:970:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (savefl = fopen(outbuf, "w")) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~ file.c:970:15: note: place parentheses around the assignment to silence this warning if (savefl = fopen(outbuf, "w")) { ^ ( ) file.c:970:15: note: use '==' to turn this assignment into an equality comparison if (savefl = fopen(outbuf, "w")) { ^ == file.c:1136:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dp = opendir(*dirp)) { ~~~^~~~~~~~~~~~~~~~ file.c:1136:17: note: place parentheses around the assignment to silence this warning if (dp = opendir(*dirp)) { ^ ( ) file.c:1136:17: note: use '==' to turn this assignment into an equality comparison if (dp = opendir(*dirp)) { ^ == file.c:1138:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = readdir(dp)) { ~~~~~~^~~~~~~~~~~~~ file.c:1138:26: note: place parentheses around the assignment to silence this warning while (entry = readdir(dp)) { ^ ( ) file.c:1138:26: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(dp)) { ^ == file.c:1148:39: warning: unsequenced modification and access to 'subdirscount' [-Wunsequenced] subdirs[subdirscount++] = strcpy(dirstore[subdirscount], ^ ~~~~~~~~~~~~ file.c:1175:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(rulefile, '/')) ~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:1175:16: note: place parentheses around the assignment to silence this warning if (p = strrchr(rulefile, '/')) ^ ( ) file.c:1175:16: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(rulefile, '/')) ^ == file.c:1189:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (errmsg = use_rules(rules, dirs)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:1189:15: note: place parentheses around the assignment to silence this warning if (errmsg = use_rules(rules, dirs)) { ^ ( ) file.c:1189:15: note: use '==' to turn this assignment into an equality comparison if (errmsg = use_rules(rules, dirs)) { ^ == file.c:1206:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ file.c:1257:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (errmsg = use_colors(pn, dirs)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:1257:15: note: place parentheses around the assignment to silence this warning if (errmsg = use_colors(pn, dirs)) { ^ ( ) file.c:1257:15: note: use '==' to turn this assignment into an equality comparison if (errmsg = use_colors(pn, dirs)) { ^ == 32 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c file_misc.c -o file_misc.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c framebuffer.c -o framebuffer.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c generate.c -o generate.o generate.c:891:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t3 = cptr->cells.gstate.cell[t2][t1]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:891:26: note: place parentheses around the assignment to silence this warning if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ ( ) generate.c:891:26: note: use '==' to turn this assignment into an equality comparison if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ == generate.c:1196:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ generate.c:1205:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t3 = cptr->cells.gstate.cell[t2][t1]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1205:27: note: place parentheses around the assignment to silence this warning if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ ( ) generate.c:1205:27: note: use '==' to turn this assignment into an equality comparison if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ == generate.c:1277:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ generate.c:1286:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (t3 = cptr->cells.gstate.cell[t2][t1]) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1286:27: note: place parentheses around the assignment to silence this warning if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ ( ) generate.c:1286:27: note: use '==' to turn this assignment into an equality comparison if (t3 = cptr->cells.gstate.cell[t2][t1]) ^ == generate.c:1352:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] live |= 1 << *p++ - '0'; ~~ ~~~~~^~~~~ generate.c:1352:28: note: place parentheses around the '-' expression to silence this warning live |= 1 << *p++ - '0'; ^ ( ) generate.c:1355:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] born |= 1 << *p++ - '0'; ~~ ~~~~~^~~~~ generate.c:1355:28: note: place parentheses around the '-' expression to silence this warning born |= 1 << *p++ - '0'; ^ ( ) generate.c:1362:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] live |= 1 << *ptr++ - '0'; ~~ ~~~~~~~^~~~~ generate.c:1362:30: note: place parentheses around the '-' expression to silence this warning live |= 1 << *ptr++ - '0'; ^ ( ) generate.c:1366:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] born |= 1 << *ptr++ - '0'; ~~ ~~~~~~~^~~~~ generate.c:1366:33: note: place parentheses around the '-' expression to silence this warning born |= 1 << *ptr++ - '0'; ^ ( ) generate.c:1451:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(ptrbuf, ':')) *p = 0; ~~^~~~~~~~~~~~~~~~~~~~~~ generate.c:1451:11: note: place parentheses around the assignment to silence this warning if (p = strrchr(ptrbuf, ':')) *p = 0; ^ ( ) generate.c:1451:11: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(ptrbuf, ':')) *p = 0; ^ == generate.c:1465:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ generate.c:1632:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1632:12: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y)) { ^ ( ) generate.c:1632:12: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y)) { ^ == generate.c:1637:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1637:12: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y)) { ^ ( ) generate.c:1637:12: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y)) { ^ == generate.c:1642:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x, cptr->y - BOXSIZE)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1642:12: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x, cptr->y - BOXSIZE)) { ^ ( ) generate.c:1642:12: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x, cptr->y - BOXSIZE)) { ^ == generate.c:1647:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1647:12: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { ^ ( ) generate.c:1647:12: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { ^ == generate.c:1651:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1651:13: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE)) ^ ( ) generate.c:1651:13: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE)) ^ == generate.c:1653:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y - BOXSIZE)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1653:13: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y - BOXSIZE)) ^ ( ) generate.c:1653:13: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y - BOXSIZE)) ^ == generate.c:1655:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y + BOXSIZE)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1655:13: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y + BOXSIZE)) ^ ( ) generate.c:1655:13: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y + BOXSIZE)) ^ == generate.c:1657:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1657:13: note: place parentheses around the assignment to silence this warning if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) ^ ( ) generate.c:1657:13: note: use '==' to turn this assignment into an equality comparison if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) ^ == generate.c:1704:25: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ generate.c:1722:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (newval = hold[i][j]) { ~~~~~~~^~~~~~~~~~~~ generate.c:1722:14: note: place parentheses around the assignment to silence this warning if (newval = hold[i][j]) { ^ ( ) generate.c:1722:14: note: use '==' to turn this assignment into an equality comparison if (newval = hold[i][j]) { ^ == generate.c:1700:56: warning: unsequenced modification and access to 'newval' [-Wunsequenced] make_transition8(0, newval = hold[i][j], hold[i - 1][j], ^ generate.c:1873:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (newval = cptr->cells.nstate.cell[t2][t1]) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1873:32: note: place parentheses around the assignment to silence this warning if (newval = cptr->cells.nstate.cell[t2][t1]) { ^ ( ) generate.c:1873:32: note: use '==' to turn this assignment into an equality comparison if (newval = cptr->cells.nstate.cell[t2][t1]) { ^ == generate.c:1890:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(0, 0, cptr->cells.nstate.c[0][0], ocell[0][1], ocell[1][0], cptr->cells.nstate.c[2][0]);//ul ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1891:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(0, 7, cptr->cells.nstate.c[0][7], cptr->cells.nstate.c[3][0], ocell[1][7], ocell[0][6]);//ur ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1892:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(7, 0, ocell[6][0], ocell[7][1], cptr->cells.nstate.c[1][0], cptr->cells.nstate.c[2][7]);//ll ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1893:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(7, 7, ocell[6][7], cptr->cells.nstate.c[3][7], cptr->cells.nstate.c[1][7], ocell[7][6]);//lr ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1895:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(0, t2, cptr->cells.nstate.c[0][t2], ocell[0][t2 + 1], ocell[1][t2], ocell[0][t2 - 1]);//u ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1896:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(7, t2, ocell[6][t2], ocell[7][t2 + 1], cptr->cells.nstate.c[1][t2], ocell[7][t2 - 1]);//d ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1897:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(t2, 0, ocell[t2 - 1][0], ocell[t2][1], ocell[t2 + 1][0], cptr->cells.nstate.c[2][t2]);//l ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1898:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(t2, 7, ocell[t2 - 1][7], cptr->cells.nstate.c[3][t2], ocell[t2 + 1][7], ocell[t2][6]);//r ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1902:14: warning: add explicit braces to avoid dangling else [-Wdangling-else] new_state(t2, t1, ocell[t2 - 1][t1], ocell[t2][t1 + 1], ocell[t2 + 1][t1], ocell[t2][t1 - 1]); ^ generate.c:1781:7: note: expanded from macro 'new_state' else\ ^ generate.c:1994:52: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if ((err = parse_recurse(ep + 1, ecount + 1)) == E_NOCLOSE ^ ~~~~~~~~~ generate.c:1995:11: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] || err == E_BADCHAR || err == E_WRONGNUM) ^ ~~~~~~~~~ generate.c:1995:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] || err == E_BADCHAR || err == E_WRONGNUM) ^ ~~~~~~~~~~ generate.c:2069:13: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (err == E_NOCLOSE ^ ~~~~~~~~~ generate.c:2070:10: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] || err == E_WRONGNUM || err == E_BADCHAR) ^ ~~~~~~~~~~ generate.c:2070:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] || err == E_WRONGNUM || err == E_BADCHAR) ^ ~~~~~~~~~ generate.c:2090:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(buf, '#')) { ~~~^~~~~~~~~~~~~~~~~~ generate.c:2090:9: note: place parentheses around the assignment to silence this warning if (cp = strchr(buf, '#')) { ^ ( ) generate.c:2090:9: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(buf, '#')) { ^ == generate.c:2178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (errmsg = parse_recurse(buf, 0)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ generate.c:2178:18: note: place parentheses around the assignment to silence this warning else if (errmsg = parse_recurse(buf, 0)) { ^ ( ) generate.c:2178:18: note: use '==' to turn this assignment into an equality comparison else if (errmsg = parse_recurse(buf, 0)) { ^ == generate.c:2238:59: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(inpbuf, "Period-%d oscillator is found", active.generations - oscillator_check.generations); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu 41 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gentab.c -o gentab.o gentab.c:102:41: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] if (live & 1 << (i >> 4*l + 8 & 0xf)) ~~ ~~~~^~~ gentab.c:102:41: note: place parentheses around the '+' expression to silence this warning if (live & 1 << (i >> 4*l + 8 & 0xf)) ^ ( ) gentab.c:106:44: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] else if (born & 1 << (i >> 4*l + 8 & 0xf)) ~~ ~~~~^~~ gentab.c:106:44: note: place parentheses around the '+' expression to silence this warning else if (born & 1 << (i >> 4*l + 8 & 0xf)) ^ ( ) gentab.c:119:39: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] if (born & 1 << (i >> 4*l + 8 & 0xf)) ~~ ~~~~^~~ gentab.c:119:39: note: place parentheses around the '+' expression to silence this warning if (born & 1 << (i >> 4*l + 8 & 0xf)) ^ ( ) 3 warnings generated. sed help.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c help.c -o help.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c history.c -o history.o history.c:36:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = history[n].hashlist[i]) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ history.c:36:15: note: place parentheses around the assignment to silence this warning if (ptr = history[n].hashlist[i]) { ^ ( ) history.c:36:15: note: use '==' to turn this assignment into an equality comparison if (ptr = history[n].hashlist[i]) { ^ == history.c:37:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do hashsum++; while (ptr = ptr->hnext); ~~~~^~~~~~~~~~~~ history.c:37:35: note: place parentheses around the assignment to silence this warning do hashsum++; while (ptr = ptr->hnext); ^ ( ) history.c:37:35: note: use '==' to turn this assignment into an equality comparison do hashsum++; while (ptr = ptr->hnext); ^ == history.c:43:15: warning: format specifies type 'unsigned long' but the argument has type 'cellcount_t' (aka 'unsigned int') [-Wformat] history[n].tilecount); ^~~~~~~~~~~~~~~~~~~~ history.c:102:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = findhistorytile(context, x, y, hv)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ history.c:102:12: note: place parentheses around the assignment to silence this warning if (ptr = findhistorytile(context, x, y, hv)) ^ ( ) history.c:102:12: note: use '==' to turn this assignment into an equality comparison if (ptr = findhistorytile(context, x, y, hv)) ^ == history.c:141:64: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] s1 += (ptr->cells.nstate.cell[j][i] != 0) << j*8 + i; ~~ ~~~~^~~ history.c:141:64: note: place parentheses around the '+' expression to silence this warning s1 += (ptr->cells.nstate.cell[j][i] != 0) << j*8 + i; ^ ( ) history.c:142:68: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] s2 += (ptr->cells.nstate.cell[j + 4][i] != 0) << j*8 + i; ~~ ~~~~^~~ history.c:142:68: note: place parentheses around the '+' expression to silence this warning s2 += (ptr->cells.nstate.cell[j + 4][i] != 0) << j*8 + i; ^ ( ) history.c:160:62: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] s1 += (ptr->cells.nstate.cell[j][i] != 0) << j*8 + i; ~~ ~~~~^~~ history.c:160:62: note: place parentheses around the '+' expression to silence this warning s1 += (ptr->cells.nstate.cell[j][i] != 0) << j*8 + i; ^ ( ) history.c:161:66: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] s2 += (ptr->cells.nstate.cell[j + 4][i] != 0) << j*8 + i; ~~ ~~~~^~~ history.c:161:66: note: place parentheses around the '+' expression to silence this warning s2 += (ptr->cells.nstate.cell[j + 4][i] != 0) << j*8 + i; ^ ( ) history.c:173:19: warning: implicit declaration of function 'fb_ins' is invalid in C99 [-Wimplicit-function-declaration] if (line&1) fb_ins(x, y, c); ^ history.c:183:19: warning: implicit declaration of function 'fb_ins' is invalid in C99 [-Wimplicit-function-declaration] if (line&3) fb_ins(x, y, c); ^ history.c:189:20: warning: implicit declaration of function 'fb_ins' is invalid in C99 [-Wimplicit-function-declaration] if (line&15) fb_ins(x, y, c); ^ history.c:193:21: warning: implicit declaration of function 'fb_ins' is invalid in C99 [-Wimplicit-function-declaration] if (line&255) fb_ins(x, y, c); ^ history.c:231:16: warning: implicit declaration of function 'fb_ins' is invalid in C99 [-Wimplicit-function-declaration] fb_ins(x, y, histpaint[color]); ^ 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c isave.c -o isave.o isave.c:246:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(buf, '#')) ~~~^~~~~~~~~~~~~~~~~~ isave.c:246:10: note: place parentheses around the assignment to silence this warning if (cp = strchr(buf, '#')) ^ ( ) isave.c:246:10: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(buf, '#')) ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c key.c -o key.o key.c:214:51: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] sprintf(outbuf, "%c%c%c%c%c%c%c%c%c%c%c", itos(s[0]), itos(s[1]), ~^ key.c:224:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(PATCH_LOG, "a")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ key.c:224:17: note: place parentheses around the assignment to silence this warning if (fp = fopen(PATCH_LOG, "a")) { ^ ( ) key.c:224:17: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(PATCH_LOG, "a")) { ^ == key.c:271:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] sprintf(inpbuf, "%c%c%c%c%c%c%c%c%c: %c", itos(s), itos(n1), itos(n2), ~^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c main.c -o main.o main.c:297:10: warning: implicit declaration of function 'change_tentative_color' is invalid in C99 [-Wimplicit-function-declaration] change_tentative_color(); ^ main.c:458:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (truehistory = !truehistory) { ~~~~~~~~~~~~^~~~~~~~~~~~~~ main.c:458:25: note: place parentheses around the assignment to silence this warning if (truehistory = !truehistory) { ^ ( ) main.c:458:25: note: use '==' to turn this assignment into an equality comparison if (truehistory = !truehistory) { ^ == main.c:963:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (x >= x_max_limit) ^ main.c:968:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (y >= y_max_limit) ^ main.c:1069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, NORMALFONT)) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1069:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, NORMALFONT)) return f; ^ ( ) main.c:1069:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, NORMALFONT)) return f; ^ == main.c:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, fontspec)) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1071:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, fontspec)) return f; ^ ( ) main.c:1071:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, fontspec)) return f; ^ == main.c:1073:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, fontspec)) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1073:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, fontspec)) return f; ^ ( ) main.c:1073:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, fontspec)) return f; ^ == main.c:1079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "6x9")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1079:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "6x9")) return f; ^ ( ) main.c:1079:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "6x9")) return f; ^ == main.c:1080:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--9-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1080:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--9-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1080:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--9-*-*-*-*-*-*-*")) return f; ^ == main.c:1081:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-*-r-*--8-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1081:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-*-r-*--8-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1081:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-*-r-*--8-*-*-*-*-*-*-*")) return f; ^ == main.c:1082:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-courier-bold-r-*--8-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1082:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-courier-bold-r-*--8-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1082:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-courier-bold-r-*--8-*-*-*-*-*-*-*")) return f; ^ == main.c:1083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--10-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1083:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--10-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1083:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--10-*-*-*-*-*-*-*")) return f; ^ == main.c:1084:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-*-r-*--9-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1084:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-*-r-*--9-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1084:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-*-r-*--9-*-*-*-*-*-*-*")) return f; ^ == main.c:1085:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--11-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1085:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--11-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1085:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--11-*-*-*-*-*-*-*")) return f; ^ == main.c:1086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--12-*-*-*-*-*-*-*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1086:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--12-*-*-*-*-*-*-*")) return f; ^ ( ) main.c:1086:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--12-*-*-*-*-*-*-*")) return f; ^ == main.c:1087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "*6x*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1087:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "*6x*")) return f; ^ ( ) main.c:1087:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "*6x*")) return f; ^ == main.c:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (f = XLoadQueryFont(disp, "*7x*")) return f; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1088:10: note: place parentheses around the assignment to silence this warning if (f = XLoadQueryFont(disp, "*7x*")) return f; ^ ( ) main.c:1088:10: note: use '==' to turn this assignment into an equality comparison if (f = XLoadQueryFont(disp, "*7x*")) return f; ^ == main.c:1238:47: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] icon = XCreateBitmapFromData(disp, mainw, icon_bits, icon_width, icon_height); ^~~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ 18 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tentative.c -o tentative.o tentative.c:106:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (state = getcell(&ptr->cells, dx, dy)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tentative.c:106:18: note: place parentheses around the assignment to silence this warning else if (state = getcell(&ptr->cells, dx, dy)) { ^ ( ) tentative.c:106:18: note: use '==' to turn this assignment into an equality comparison else if (state = getcell(&ptr->cells, dx, dy)) { ^ == tentative.c:130:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = getcell(&ptr->cells, dx, dy)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tentative.c:130:26: note: place parentheses around the assignment to silence this warning if (state = getcell(&ptr->cells, dx, dy)) { ^ ( ) tentative.c:130:26: note: use '==' to turn this assignment into an equality comparison if (state = getcell(&ptr->cells, dx, dy)) { ^ == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c tile.c -o tile.o tile.c:93:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = p->hashlist[i]) { ~~~~^~~~~~~~~~~~~~~~ tile.c:93:15: note: place parentheses around the assignment to silence this warning if (ptr = p->hashlist[i]) { ^ ( ) tile.c:93:15: note: use '==' to turn this assignment into an equality comparison if (ptr = p->hashlist[i]) { ^ == tile.c:94:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] do hashsum++; while (ptr = ptr->hnext); ~~~~^~~~~~~~~~~~ tile.c:94:35: note: place parentheses around the assignment to silence this warning do hashsum++; while (ptr = ptr->hnext); ^ ( ) tile.c:94:35: note: use '==' to turn this assignment into an equality comparison do hashsum++; while (ptr = ptr->hnext); ^ == tile.c:100:68: warning: format specifies type 'long' but the argument has type 'cellcount_t' (aka 'unsigned int') [-Wformat] hashcount ? (double)hashsum/hashcount : 0, p->tilecount); ^~~~~~~~~~~~ tile.c:108:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr->hnext = p->hashlist[hv]) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tile.c:108:22: note: place parentheses around the assignment to silence this warning if (ptr->hnext = p->hashlist[hv]) ^ ( ) tile.c:108:22: note: use '==' to turn this assignment into an equality comparison if (ptr->hnext = p->hashlist[hv]) ^ == tile.c:117:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] p->hxm = ((1 << HASHBITS - HASHBITS/2) - 1) << 3, ~~ ~~~~~~~~~^~~~~~~~~~~~ tile.c:117:32: note: place parentheses around the '-' expression to silence this warning p->hxm = ((1 << HASHBITS - HASHBITS/2) - 1) << 3, ~~~~~~~~~^~~~~~~~~~~~ tile.c:129:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (p->xmax - p->xmin >> 3 + xc++); ~~~~~~~~^~~~~~~~~ ~~ tile.c:129:22: note: place parentheses around the '-' expression to silence this warning while (p->xmax - p->xmin >> 3 + xc++); ^ ( ) tile.c:129:37: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] while (p->xmax - p->xmin >> 3 + xc++); ~~ ~~^~~~~~ tile.c:129:37: note: place parentheses around the '+' expression to silence this warning while (p->xmax - p->xmin >> 3 + xc++); ^ ( ) tile.c:130:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (p->ymax - p->ymin >> 3 + yc++); ~~~~~~~~^~~~~~~~~ ~~ tile.c:130:22: note: place parentheses around the '-' expression to silence this warning while (p->ymax - p->ymin >> 3 + yc++); ^ ( ) tile.c:130:37: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] while (p->ymax - p->ymin >> 3 + yc++); ~~ ~~^~~~~~ tile.c:130:37: note: place parentheses around the '+' expression to silence this warning while (p->ymax - p->ymin >> 3 + yc++); ^ ( ) tile.c:276:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = findtile(context, hx, hy, hv)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:276:12: note: place parentheses around the assignment to silence this warning if (ptr = findtile(context, hx, hy, hv)) ^ ( ) tile.c:276:12: note: use '==' to turn this assignment into an equality comparison if (ptr = findtile(context, hx, hy, hv)) ^ == tile.c:305:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = findtile(context, x, y, hv)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:305:13: note: place parentheses around the assignment to silence this warning if (ptr = findtile(context, x, y, hv)) ^ ( ) tile.c:305:13: note: use '==' to turn this assignment into an equality comparison if (ptr = findtile(context, x, y, hv)) ^ == tile.c:404:71: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] while (curtile->dead || labs((long)xnew - (long)xpos) < 10 << 6 - scale ~~ ~~^~~~~~~ tile.c:404:71: note: place parentheses around the '-' expression to silence this warning while (curtile->dead || labs((long)xnew - (long)xpos) < 10 << 6 - scale ^ ( ) tile.c:405:70: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] && labs((long)ynew - (long)ypos) < 10 << 6 - scale) { ~~ ~~^~~~~~~ tile.c:405:70: note: place parentheses around the '-' expression to silence this warning && labs((long)ynew - (long)ypos) < 10 << 6 - scale) { ^ ( ) tile.c:683:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (state = getcell(&ptr->cells, dx, dy)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:683:17: note: place parentheses around the assignment to silence this warning if (state = getcell(&ptr->cells, dx, dy)) { ^ ( ) tile.c:683:17: note: use '==' to turn this assignment into an equality comparison if (state = getcell(&ptr->cells, dx, dy)) { ^ == tile.c:819:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = lookcell(pp, x, y)) { ~~~~^~~~~~~~~~~~~~~~~~~~ tile.c:819:14: note: place parentheses around the assignment to silence this warning if (val = lookcell(pp, x, y)) { ^ ( ) tile.c:819:14: note: use '==' to turn this assignment into an equality comparison if (val = lookcell(pp, x, y)) { ^ == tile.c:900:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = getcell(&ptr->cells, dx, dy)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:900:11: note: place parentheses around the assignment to silence this warning if (val = getcell(&ptr->cells, dx, dy)) ^ ( ) tile.c:900:11: note: use '==' to turn this assignment into an equality comparison if (val = getcell(&ptr->cells, dx, dy)) ^ == tile.c:942:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ tile.c:950:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = getcell(&ptr->cells, dx, dy)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:950:12: note: place parentheses around the assignment to silence this warning if (val = getcell(&ptr->cells, dx, dy)) ^ ( ) tile.c:950:12: note: use '==' to turn this assignment into an equality comparison if (val = getcell(&ptr->cells, dx, dy)) ^ == tile.c:955:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ tile.c:964:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = getcell(&ptr->cells, dx, dy)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:964:11: note: place parentheses around the assignment to silence this warning if (val = getcell(&ptr->cells, dx, dy)) ^ ( ) tile.c:964:11: note: use '==' to turn this assignment into an equality comparison if (val = getcell(&ptr->cells, dx, dy)) ^ == tile.c:969:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ tile.c:983:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = getcell(&ptr->cells, dx, dy)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:983:12: note: place parentheses around the assignment to silence this warning if (val = getcell(&ptr->cells, dx, dy)) { ^ ( ) tile.c:983:12: note: use '==' to turn this assignment into an equality comparison if (val = getcell(&ptr->cells, dx, dy)) { ^ == 22 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c topology.c -o topology.o topology.c:190:12: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] x = (x + 7 >> 3)*8; ~~^~~ ~~ topology.c:190:12: note: place parentheses around the '+' expression to silence this warning x = (x + 7 >> 3)*8; ^ ( ) topology.c:191:12: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] y = (y + 7 >> 3)*8; ~~^~~ ~~ topology.c:191:12: note: place parentheses around the '+' expression to silence this warning y = (y + 7 >> 3)*8; ^ ( ) topology.c:303:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ topology.c:310:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ topology.c:339:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c utils.c -o utils.o utils.c:80:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, s); ^ utils.c:80:20: note: treat the string as an argument to avoid this fprintf(stderr, s); ^ "%s", utils.c:173:16: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ utils.c:267:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwuid(getuid())) ~~~^~~~~~~~~~~~~~~~~~~~ utils.c:267:12: note: place parentheses around the assignment to silence this warning if (pw = getpwuid(getuid())) ^ ( ) utils.c:267:12: note: use '==' to turn this assignment into an equality comparison if (pw = getpwuid(getuid())) ^ == 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwidget.c -o xwidget.o xwidget.c:89:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dp = opendir(dir)) { ~~~^~~~~~~~~~~~~~ xwidget.c:89:11: note: place parentheses around the assignment to silence this warning if (dp = opendir(dir)) { ^ ( ) xwidget.c:89:11: note: use '==' to turn this assignment into an equality comparison if (dp = opendir(dir)) { ^ == xwidget.c:90:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = readdir(dp)) { ~~~~~~^~~~~~~~~~~~~ xwidget.c:90:20: note: place parentheses around the assignment to silence this warning while (entry = readdir(dp)) { ^ ( ) xwidget.c:90:20: note: use '==' to turn this assignment into an equality comparison while (entry = readdir(dp)) { ^ == xwidget.c:437:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:437:11: note: place parentheses around the assignment to silence this warning if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { ^ ( ) xwidget.c:437:11: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { ^ == xwidget.c:530:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = checktilda(widget_fn)) ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:530:19: note: place parentheses around the assignment to silence this warning if (p = checktilda(widget_fn)) ^ ( ) xwidget.c:530:19: note: use '==' to turn this assignment into an equality comparison if (p = checktilda(widget_fn)) ^ == xwidget.c:534:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = checktilda(widget_fn)) { ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:534:19: note: place parentheses around the assignment to silence this warning if (p = checktilda(widget_fn)) { ^ ( ) xwidget.c:534:19: note: use '==' to turn this assignment into an equality comparison if (p = checktilda(widget_fn)) { ^ == xwidget.c:541:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = checktilda(widget_fn)) ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:541:19: note: place parentheses around the assignment to silence this warning if (p = checktilda(widget_fn)) ^ ( ) xwidget.c:541:19: note: use '==' to turn this assignment into an equality comparison if (p = checktilda(widget_fn)) ^ == xwidget.c:589:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ xwidget.c:627:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ xwidget.c:638:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 9 warnings generated. rm -f xlife cc -o xlife -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -L/usr/local/lib cell.o clipboard.o collect.o colors.o data.o file.o file_misc.o framebuffer.o generate.o gentab.o help.o history.o isave.o key.o main.o tentative.o tile.o topology.o utils.o xwidget.o -lX11 -lm -Wl,-rpath,/usr/local/lib cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c gen-multirules.c -o gen-multirules.o gen-multirules.c:98:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *rs |= 1 << *p++ - '0'; ~~ ~~~~~^~~~~ gen-multirules.c:98:30: note: place parentheses around the '-' expression to silence this warning *rs |= 1 << *p++ - '0'; ^ ( ) gen-multirules.c:102:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *rb |= 1 << *p++ - '0'; ~~ ~~~~~^~~~~ gen-multirules.c:102:30: note: place parentheses around the '-' expression to silence this warning *rb |= 1 << *p++ - '0'; ^ ( ) gen-multirules.c:104:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (p = strchr(rule, '/')) { ~~^~~~~~~~~~~~~~~~~~~ gen-multirules.c:104:15: note: place parentheses around the assignment to silence this warning else if (p = strchr(rule, '/')) { ^ ( ) gen-multirules.c:104:15: note: use '==' to turn this assignment into an equality comparison else if (p = strchr(rule, '/')) { ^ == gen-multirules.c:107:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *rs |= 1 << *rule++ - '0'; ~~ ~~~~~~~~^~~~~ gen-multirules.c:107:30: note: place parentheses around the '-' expression to silence this warning *rs |= 1 << *rule++ - '0'; ^ ( ) gen-multirules.c:111:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *rb |= 1 << *rule++ - '0'; ~~ ~~~~~~~~^~~~~ gen-multirules.c:111:33: note: place parentheses around the '-' expression to silence this warning *rb |= 1 << *rule++ - '0'; ^ ( ) gen-multirules.c:123:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = strchr(rules, ',')) { ~~^~~~~~~~~~~~~~~~~~~~ gen-multirules.c:123:13: note: place parentheses around the assignment to silence this warning while (p = strchr(rules, ',')) { ^ ( ) gen-multirules.c:123:13: note: use '==' to turn this assignment into an equality comparison while (p = strchr(rules, ',')) { ^ == gen-multirules.c:183:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gen-multirules.c:206:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 8 warnings generated. rm -f gen-multirules cc -o gen-multirules -DLIFEDIR=\"/usr/local/share/xlife/patterns\" -DHASHBITS=20 -DVFREQ=50 -L/usr/local/lib gen-multirules.o -lm -Wl,-rpath,/usr/local/lib rm -f lifeconv ln -s xlife lifeconv sed 1s!GAWKPATH!! table2r.script dot -Tsvg -o XLIFE-HISTORY.svg XLIFE-HISTORY.dot make: exec(dot) failed (No such file or directory) *** Error code 1 (ignored) rm -f xlife._man if test -z "" ; then cd `dirname xlife` && ln -s `basename xlife.man` `basename xlife._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xlife.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xlife._man; fi =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xlife-6.7.6_1 depends on executable: gawk - not found ===> Installing existing package /packages/All/gawk-5.3.0.pkg [pkg-builder.dan.net.uk] Installing gawk-5.3.0... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing mpfr-4.2.1,1... [pkg-builder.dan.net.uk] `-- Extracting mpfr-4.2.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] Extracting gawk-5.3.0: .......... done ===> xlife-6.7.6_1 depends on executable: gawk - found ===> Returning to build of xlife-6.7.6_1 ===> xlife-6.7.6_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xlife-6.7.6_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/gen-multirules /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/xlife /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/bin /bin/ln -sf xlife /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/bin/lifeconv install -m 555 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/table2r /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/xlife.6 /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/man/man6 /bin/ln -sf xlife.6 /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/man/man6/lifeconv.6 install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/CHANGES /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/HACKING /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/MISSED /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/README /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/SHORT-INFO /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife install -m 0644 /wrkdirs/usr/ports/games/xlife/work/xlife-6.7/XLIFE-HISTORY.dot /wrkdirs/usr/ports/games/xlife/work/stage/usr/local/share/doc/xlife ====> 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-05T11:19:03+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=cb347ec666' '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 xlife-6.7.6_1 ===> Building xlife-6.7.6_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xlife-6.7.6_1 build of games/xlife | xlife-6.7.6_1 ended at Fri Apr 5 12:19:29 BST 2024 build time: 00:00:26