=>> Building games/xlife build started at Sun May 4 20:15:39 EDT 2025 port directory: /usr/ports/games/xlife package name: xlife-6.7.6_1 building for: FreeBSD 13amd64-weekly-desktop-job-01 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1770 Feb 24 2024 /usr/ports/games/xlife/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: d9c7e0b18ad0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 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.2 MASTERMNT=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/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 --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=/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 " 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.4 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 #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---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=nobody UID=65534 GID=65534 ===> 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-2.0.6.pkg [13amd64-weekly-desktop-job-01] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-01] Extracting pkg-2.0.6: .......... 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=nobody UID=65534 GID=65534 ===> 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=nobody UID=65534 GID=65534 ===> 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 [13amd64-weekly-desktop-job-01] Installing imake-1.0.10_1,1... [13amd64-weekly-desktop-job-01] `-- Installing gccmakedep-1.0.4... [13amd64-weekly-desktop-job-01] `-- Extracting gccmakedep-1.0.4: .. done [13amd64-weekly-desktop-job-01] `-- Installing makedepend-1.0.9,1... [13amd64-weekly-desktop-job-01] `-- Extracting makedepend-1.0.9,1: .. done [13amd64-weekly-desktop-job-01] `-- Installing perl5-5.36.3_2... [13amd64-weekly-desktop-job-01] `-- Extracting perl5-5.36.3_2: .......... done [13amd64-weekly-desktop-job-01] `-- Installing xorg-cf-files-1.0.8_1... [13amd64-weekly-desktop-job-01] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [13amd64-weekly-desktop-job-01] 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 [13amd64-weekly-desktop-job-01] Installing tradcpp-0.5.3... [13amd64-weekly-desktop-job-01] 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.12,1.pkg [13amd64-weekly-desktop-job-01] Installing libX11-1.8.12,1... [13amd64-weekly-desktop-job-01] `-- Installing libxcb-1.17.0... [13amd64-weekly-desktop-job-01] | `-- Installing libXau-1.0.11... [13amd64-weekly-desktop-job-01] | `-- Extracting libXau-1.0.11: .......... done [13amd64-weekly-desktop-job-01] | `-- Installing libXdmcp-1.1.5... [13amd64-weekly-desktop-job-01] | | `-- Installing xorgproto-2024.1... [13amd64-weekly-desktop-job-01] | | `-- Extracting xorgproto-2024.1: .......... done [13amd64-weekly-desktop-job-01] | `-- Extracting libXdmcp-1.1.5: ...... done [13amd64-weekly-desktop-job-01] `-- Extracting libxcb-1.17.0: .......... done [13amd64-weekly-desktop-job-01] Extracting libX11-1.8.12,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=nobody UID=65534 GID=65534 ===> Configuring for xlife-6.7.6_1 imake -DUseInstalled -I/usr/local/lib/X11/config =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for xlife-6.7.6_1 --- cell.o --- --- clipboard.o --- --- collect.o --- --- colors.o --- --- data.o --- --- file.o --- --- file_misc.o --- --- framebuffer.o --- --- cell.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 cell.c -o cell.o --- clipboard.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 clipboard.c -o clipboard.o --- collect.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 collect.c -o collect.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 colors.c -o colors.o --- data.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 --- file.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 file.c -o file.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 file_misc.c -o file_misc.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 framebuffer.c -o framebuffer.o --- data.o --- data.c:33:11: warning: call to undeclared library function 'isalnum' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | 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: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | 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: call to undeclared library function 'isupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | 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: call to undeclared library function 'islower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | if (islower(c)) return c - 61; | ^ data.c:39:8: note: include the header or explicitly provide a declaration for 'islower' --- cell.o --- cell.c:57:54: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 57 | return (ptr->twostate.live2 & 1 << (ydx - 4)*8 + xdx) != 0; | ~~ ~~~~~~~~~~~~^~~~~ cell.c:57:54: note: place parentheses around the '+' expression to silence this warning 57 | 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] 59 | return (ptr->twostate.live1 & 1 << ydx*8 + xdx) != 0; | ~~ ~~~~~~^~~~~ cell.c:59:48: note: place parentheses around the '+' expression to silence this warning 59 | return (ptr->twostate.live1 & 1 << ydx*8 + xdx) != 0; | ^ | ( ) --- clipboard.o --- clipboard.c:69:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 69 | if (c = (*cp - '@' + dc)%mod) | ~~^~~~~~~~~~~~~~~~~~~~~~ --- cell.o --- cell.c:198:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 198 | if (ns = ptr->nstate.cell[i][j]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ --- clipboard.o --- clipboard.c:69:19: note: place parentheses around the assignment to silence this warning 69 | if (c = (*cp - '@' + dc)%mod) | ^ | ( ) clipboard.c:69:19: note: use '==' to turn this assignment into an equality comparison 69 | if (c = (*cp - '@' + dc)%mod) | ^ | == --- cell.o --- cell.c:198:32: note: place parentheses around the assignment to silence this warning 198 | if (ns = ptr->nstate.cell[i][j]) { | ^ | ( ) cell.c:198:32: note: use '==' to turn this assignment into an equality comparison 198 | if (ns = ptr->nstate.cell[i][j]) { | ^ | == cell.c:213:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 213 | 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 213 | 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 213 | if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { | ^ | == --- collect.o --- collect.c:138:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | while (p = strstr(patfile, "./")) /* removes exessive part */ | ~~^~~~~~~~~~~~~~~~~~~~~~~ collect.c:138:13: note: place parentheses around the assignment to silence this warning 138 | while (p = strstr(patfile, "./")) /* removes exessive part */ | ^ | ( ) collect.c:138:13: note: use '==' to turn this assignment into an equality comparison 138 | while (p = strstr(patfile, "./")) /* removes exessive part */ | ^ | == --- clipboard.o --- clipboard.c:138:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 138 | if (val = getcell(&tp->cells, x, y)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ clipboard.c:138:21: note: place parentheses around the assignment to silence this warning 138 | if (val = getcell(&tp->cells, x, y)) { | ^ | ( ) clipboard.c:138:21: note: use '==' to turn this assignment into an equality comparison 138 | if (val = getcell(&tp->cells, x, y)) { | ^ | == clipboard.c:182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if (q = bounding_box(pp)) { | ~~^~~~~~~~~~~~~~~~~~ clipboard.c:182:10: note: place parentheses around the assignment to silence this warning 182 | if (q = bounding_box(pp)) { | ^ | ( ) clipboard.c:182:10: note: use '==' to turn this assignment into an equality comparison 182 | if (q = bounding_box(pp)) { | ^ | == clipboard.c:192:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 192 | if (p = clipboard.first) { | ~~^~~~~~~~~~~~~~~~~ clipboard.c:192:10: note: place parentheses around the assignment to silence this warning 192 | if (p = clipboard.first) { | ^ | ( ) clipboard.c:192:10: note: use '==' to turn this assignment into an equality comparison 192 | if (p = clipboard.first) { | ^ | == --- cell.o --- cell.c:351:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | if (ns = ptr->nstate.cell[i][j]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ cell.c:351:32: note: place parentheses around the assignment to silence this warning 351 | if (ns = ptr->nstate.cell[i][j]) { | ^ | ( ) cell.c:351:32: note: use '==' to turn this assignment into an equality comparison 351 | if (ns = ptr->nstate.cell[i][j]) { | ^ | == --- file.o --- file.c:103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 103 | if (cp = getenv("LIFEPATH")) { | ~~~^~~~~~~~~~~~~~~~~~~~ file.c:103:11: note: place parentheses around the assignment to silence this warning 103 | if (cp = getenv("LIFEPATH")) { | ^ | ( ) file.c:103:11: note: use '==' to turn this assignment into an equality comparison 103 | if (cp = getenv("LIFEPATH")) { | ^ | == --- cell.o --- cell.c:364:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- file.o --- file.c:109:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- cell.o --- cell.c:364:32: note: place parentheses around the assignment to silence this warning --- file.o --- 109 | } while (cp = strtok(0, ":")); | ~~~^~~~~~~~~~~~~~~~ file.c:109:19: note: place parentheses around the assignment to silence this warning --- cell.o --- 364 | if (ns = ptr->nstate.cell[(i << -scale) + k][(j << -scale) + l]) { | ^ | ( ) --- file.o --- 109 | } while (cp = strtok(0, ":")); | ^ | ( ) --- cell.o --- cell.c:364:32: note: use '==' to turn this assignment into an equality comparison --- file.o --- file.c:109:19: note: use '==' to turn this assignment into an equality comparison 109 | } while (cp = strtok(0, ":")); | ^ | == --- cell.o --- 364 | 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] 372 | if (ns = ptr->nstate.cell[i][j]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ cell.c:372:26: note: place parentheses around the assignment to silence this warning 372 | if (ns = ptr->nstate.cell[i][j]) { | ^ | ( ) cell.c:372:26: note: use '==' to turn this assignment into an equality comparison 372 | if (ns = ptr->nstate.cell[i][j]) { | ^ | == --- file.o --- file.c:166:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if (pw = getpwnam(full)) | ~~~^~~~~~~~~~~~~~~~ file.c:166:17: note: place parentheses around the assignment to silence this warning 166 | if (pw = getpwnam(full)) | ^ | ( ) file.c:166:17: note: use '==' to turn this assignment into an equality comparison 166 | if (pw = getpwnam(full)) | ^ | == --- data.o --- 4 warnings generated. --- file.o --- file.c:161:30: warning: unsequenced modification and access to 'i' [-Wunsequenced] 161 | full[i - 1] = stng[i++]; | ~ ^ file.c:193:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 193 | if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:193:15: note: place parentheses around the assignment to silence this warning 193 | if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { | ^ | ( ) file.c:193:15: note: use '==' to turn this assignment into an equality comparison 193 | if (savefl = fopen(add_opt_ext(fn, LOADEXT), "w")) { | ^ | == file.c:196:7: warning: call to undeclared function 'setcurdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | setcurdir("."); /* update widget's file list */ | ^ file.c:214:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 214 | if (colptr = strchr(filename, ':')) *colptr = '\0'; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ file.c:214:15: note: place parentheses around the assignment to silence this warning 214 | if (colptr = strchr(filename, ':')) *colptr = '\0'; | ^ | ( ) file.c:214:15: note: use '==' to turn this assignment into an equality comparison 214 | if (colptr = strchr(filename, ':')) *colptr = '\0'; | ^ | == file.c:246:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 246 | else if (t < strlen(cp)) | ^ file.c:262:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 262 | if (cp = strrchr(loadqueue->patname, '/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:262:11: note: place parentheses around the assignment to silence this warning 262 | if (cp = strrchr(loadqueue->patname, '/')) | ^ | ( ) file.c:262:11: note: use '==' to turn this assignment into an equality comparison 262 | if (cp = strrchr(loadqueue->patname, '/')) | ^ | == file.c:277:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 277 | if (quitload = breakreq()) | ~~~~~~~~~^~~~~~~~~~~~ file.c:277:23: note: place parentheses around the assignment to silence this warning 277 | if (quitload = breakreq()) | ^ | ( ) file.c:277:23: note: use '==' to turn this assignment into an equality comparison 277 | if (quitload = breakreq()) | ^ | == --- generate.o --- --- gentab.o --- --- generate.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 --- gentab.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 gentab.c -o gentab.o --- file.o --- file.c:489:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if (dp = opendir(*dirp)) { | ~~~^~~~~~~~~~~~~~~~ file.c:489:17: note: place parentheses around the assignment to silence this warning 489 | if (dp = opendir(*dirp)) { | ^ | ( ) file.c:489:17: note: use '==' to turn this assignment into an equality comparison 489 | if (dp = opendir(*dirp)) { | ^ | == file.c:490:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 490 | while (entry = readdir(dp)) { | ~~~~~~^~~~~~~~~~~~~ file.c:490:26: note: place parentheses around the assignment to silence this warning 490 | while (entry = readdir(dp)) { | ^ | ( ) file.c:490:26: note: use '==' to turn this assignment into an equality comparison 490 | while (entry = readdir(dp)) { | ^ | == file.c:508:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | if (loadfl = fopen(fullpath, "r")) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:508:15: note: place parentheses around the assignment to silence this warning 508 | if (loadfl = fopen(fullpath, "r")) { | ^ | ( ) file.c:508:15: note: use '==' to turn this assignment into an equality comparison 508 | if (loadfl = fopen(fullpath, "r")) { | ^ | == file.c:655:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] 655 | else | ^ file.c:663:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 663 | if (errmsg = use_colors(cp, dirs)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:663:30: note: place parentheses around the assignment to silence this warning 663 | if (errmsg = use_colors(cp, dirs)) { | ^ | ( ) file.c:663:30: note: use '==' to turn this assignment into an equality comparison 663 | if (errmsg = use_colors(cp, dirs)) { | ^ | == file.c:689:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] 689 | else | ^ file.c:809:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 809 | if (p = strstr(buf, "CXRLE")) { | ~~^~~~~~~~~~~~~~~~~~~~~~ file.c:809:22: note: place parentheses around the assignment to silence this warning 809 | if (p = strstr(buf, "CXRLE")) { | ^ | ( ) file.c:809:22: note: use '==' to turn this assignment into an equality comparison 809 | if (p = strstr(buf, "CXRLE")) { | ^ | == file.c:810:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 810 | if (cp = strstr(p + 6, "Pos")) | ~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:810:26: note: place parentheses around the assignment to silence this warning 810 | if (cp = strstr(p + 6, "Pos")) | ^ | ( ) file.c:810:26: note: use '==' to turn this assignment into an equality comparison 810 | if (cp = strstr(p + 6, "Pos")) | ^ | == file.c:812:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 812 | if (cp = strstr(p + 6, "Gen")) | ~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:812:26: note: place parentheses around the assignment to silence this warning 812 | if (cp = strstr(p + 6, "Gen")) | ^ | ( ) file.c:812:26: note: use '==' to turn this assignment into an equality comparison 812 | if (cp = strstr(p + 6, "Gen")) | ^ | == file.c:813:47: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] 813 | sscanf(cp + 3, " = %ul", &context->generations); | ~~ ^~~~~~~~~~~~~~~~~~~~~ | %lu file.c:819:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 819 | if (p = strrchr(patid, ':')) { | ~~^~~~~~~~~~~~~~~~~~~~~ file.c:819:22: note: place parentheses around the assignment to silence this warning 819 | if (p = strrchr(patid, ':')) { | ^ | ( ) file.c:819:22: note: use '==' to turn this assignment into an equality comparison 819 | if (p = strrchr(patid, ':')) { | ^ | == file.c:833:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 833 | if (cp = strchr(patid, '/')) | ~~~^~~~~~~~~~~~~~~~~~~~ file.c:833:23: note: place parentheses around the assignment to silence this warning 833 | if (cp = strchr(patid, '/')) | ^ | ( ) file.c:833:23: note: use '==' to turn this assignment into an equality comparison 833 | if (cp = strchr(patid, '/')) | ^ | == file.c:839:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 839 | else if (toupper(patid[0]) == 'B') { | ^ file.c:896:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 896 | if (p = strchr(tmpstring, 'x')) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:896:22: note: place parentheses around the assignment to silence this warning 896 | if (p = strchr(tmpstring, 'x')) { | ^ | ( ) file.c:896:22: note: use '==' to turn this assignment into an equality comparison 896 | if (p = strchr(tmpstring, 'x')) { | ^ | == file.c:970:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 970 | if (savefl = fopen(outbuf, "w")) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ file.c:970:15: note: place parentheses around the assignment to silence this warning 970 | if (savefl = fopen(outbuf, "w")) { | ^ | ( ) file.c:970:15: note: use '==' to turn this assignment into an equality comparison 970 | if (savefl = fopen(outbuf, "w")) { | ^ | == file.c:1136:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1136 | if (dp = opendir(*dirp)) { | ~~~^~~~~~~~~~~~~~~~ file.c:1136:17: note: place parentheses around the assignment to silence this warning 1136 | if (dp = opendir(*dirp)) { | ^ | ( ) file.c:1136:17: note: use '==' to turn this assignment into an equality comparison 1136 | if (dp = opendir(*dirp)) { | ^ | == file.c:1138:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1138 | while (entry = readdir(dp)) { | ~~~~~~^~~~~~~~~~~~~ file.c:1138:26: note: place parentheses around the assignment to silence this warning 1138 | while (entry = readdir(dp)) { | ^ | ( ) file.c:1138:26: note: use '==' to turn this assignment into an equality comparison 1138 | while (entry = readdir(dp)) { | ^ | == file.c:1148:39: warning: unsequenced modification and access to 'subdirscount' [-Wunsequenced] 1148 | subdirs[subdirscount++] = strcpy(dirstore[subdirscount], | ^ ~~~~~~~~~~~~ file.c:1175:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1175 | if (p = strrchr(rulefile, '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:1175:16: note: place parentheses around the assignment to silence this warning 1175 | if (p = strrchr(rulefile, '/')) | ^ | ( ) file.c:1175:16: note: use '==' to turn this assignment into an equality comparison 1175 | if (p = strrchr(rulefile, '/')) | ^ | == file.c:1189:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1189 | if (errmsg = use_rules(rules, dirs)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ file.c:1189:15: note: place parentheses around the assignment to silence this warning 1189 | if (errmsg = use_rules(rules, dirs)) { | ^ | ( ) file.c:1189:15: note: use '==' to turn this assignment into an equality comparison 1189 | if (errmsg = use_rules(rules, dirs)) { | ^ | == file.c:1206:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1206 | else | ^ --- help.h --- sed help.h --- file.o --- file.c:1257:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1257 | if (errmsg = use_colors(pn, dirs)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ file.c:1257:15: note: place parentheses around the assignment to silence this warning 1257 | if (errmsg = use_colors(pn, dirs)) { | ^ | ( ) file.c:1257:15: note: use '==' to turn this assignment into an equality comparison 1257 | if (errmsg = use_colors(pn, dirs)) { | ^ | == --- history.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 --- collect.o --- 1 warning generated. --- isave.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 isave.c -o isave.o --- key.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 key.c -o key.o --- clipboard.o --- 4 warnings generated. --- gentab.o --- gentab.c:102:41: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 102 | if (live & 1 << (i >> 4*l + 8 & 0xf)) | ~~ ~~~~^~~ gentab.c:102:41: note: place parentheses around the '+' expression to silence this warning 102 | 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] 106 | else if (born & 1 << (i >> 4*l + 8 & 0xf)) | ~~ ~~~~^~~ gentab.c:106:44: note: place parentheses around the '+' expression to silence this warning 106 | 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] 119 | if (born & 1 << (i >> 4*l + 8 & 0xf)) | ~~ ~~~~^~~ gentab.c:119:39: note: place parentheses around the '+' expression to silence this warning 119 | if (born & 1 << (i >> 4*l + 8 & 0xf)) | ^ | ( ) --- main.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 main.c -o main.o --- history.o --- history.c:36:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 36 | if (ptr = history[n].hashlist[i]) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ history.c:36:15: note: place parentheses around the assignment to silence this warning 36 | if (ptr = history[n].hashlist[i]) { | ^ | ( ) history.c:36:15: note: use '==' to turn this assignment into an equality comparison 36 | if (ptr = history[n].hashlist[i]) { | ^ | == history.c:37:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 37 | do hashsum++; while (ptr = ptr->hnext); | ~~~~^~~~~~~~~~~~ history.c:37:35: note: place parentheses around the assignment to silence this warning 37 | do hashsum++; while (ptr = ptr->hnext); | ^ | ( ) history.c:37:35: note: use '==' to turn this assignment into an equality comparison 37 | 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] 40 | sprintf(inpbuf, "History hash %s: X=%u Y=%u [%u] filled=%.4f badness=%.3f tiles=%lu", | ~~~ | %u 41 | n == 0 ? "init" : "main", HASHBITS - 3 - history[n].hxs, 3 + history[n].hxs, 42 | HASHBITS, (double)hashcount/HASHSIZE, hashcount ? (double)hashsum/hashcount : 0, 43 | history[n].tilecount); | ^~~~~~~~~~~~~~~~~~~~ --- generate.o --- generate.c:891:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 891 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:891:26: note: place parentheses around the assignment to silence this warning 891 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ^ | ( ) generate.c:891:26: note: use '==' to turn this assignment into an equality comparison 891 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ^ | == --- history.o --- history.c:102:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | if (ptr = findhistorytile(context, x, y, hv)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ history.c:102:12: note: place parentheses around the assignment to silence this warning 102 | if (ptr = findhistorytile(context, x, y, hv)) | ^ | ( ) history.c:102:12: note: use '==' to turn this assignment into an equality comparison 102 | if (ptr = findhistorytile(context, x, y, hv)) | ^ | == history.c:141:64: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 141 | 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 141 | 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] 142 | 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 142 | 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] 160 | 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 160 | 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] 161 | 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 161 | s2 += (ptr->cells.nstate.cell[j + 4][i] != 0) << j*8 + i; | ^ | ( ) history.c:173:19: warning: call to undeclared function 'fb_ins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if (line&1) fb_ins(x, y, c); | ^ history.c:183:19: warning: call to undeclared function 'fb_ins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | if (line&3) fb_ins(x, y, c); | ^ history.c:189:20: warning: call to undeclared function 'fb_ins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | if (line&15) fb_ins(x, y, c); | ^ history.c:193:21: warning: call to undeclared function 'fb_ins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | if (line&255) fb_ins(x, y, c); | ^ history.c:231:16: warning: call to undeclared function 'fb_ins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | fb_ins(x, y, histpaint[color]); | ^ --- generate.o --- generate.c:1196:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1196 | else | ^ generate.c:1205:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1205 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1205:27: note: place parentheses around the assignment to silence this warning 1205 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ^ | ( ) generate.c:1205:27: note: use '==' to turn this assignment into an equality comparison 1205 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ^ | == generate.c:1277:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1277 | else | ^ generate.c:1286:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1286 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1286:27: note: place parentheses around the assignment to silence this warning 1286 | if (t3 = cptr->cells.gstate.cell[t2][t1]) | ^ | ( ) generate.c:1286:27: note: use '==' to turn this assignment into an equality comparison 1286 | 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] 1352 | live |= 1 << *p++ - '0'; | ~~ ~~~~~^~~~~ generate.c:1352:28: note: place parentheses around the '-' expression to silence this warning 1352 | live |= 1 << *p++ - '0'; | ^ | ( ) generate.c:1355:28: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1355 | born |= 1 << *p++ - '0'; | ~~ ~~~~~^~~~~ generate.c:1355:28: note: place parentheses around the '-' expression to silence this warning 1355 | born |= 1 << *p++ - '0'; | ^ | ( ) generate.c:1362:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1362 | live |= 1 << *ptr++ - '0'; | ~~ ~~~~~~~^~~~~ generate.c:1362:30: note: place parentheses around the '-' expression to silence this warning 1362 | live |= 1 << *ptr++ - '0'; | ^ | ( ) generate.c:1366:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1366 | born |= 1 << *ptr++ - '0'; | ~~ ~~~~~~~^~~~~ generate.c:1366:33: note: place parentheses around the '-' expression to silence this warning 1366 | born |= 1 << *ptr++ - '0'; | ^ | ( ) generate.c:1451:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1451 | if (p = strrchr(ptrbuf, ':')) *p = 0; | ~~^~~~~~~~~~~~~~~~~~~~~~ generate.c:1451:11: note: place parentheses around the assignment to silence this warning 1451 | if (p = strrchr(ptrbuf, ':')) *p = 0; | ^ | ( ) generate.c:1451:11: note: use '==' to turn this assignment into an equality comparison 1451 | if (p = strrchr(ptrbuf, ':')) *p = 0; | ^ | == generate.c:1465:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1465 | else | ^ generate.c:1632:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1632 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1632:12: note: place parentheses around the assignment to silence this warning 1632 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y)) { | ^ | ( ) generate.c:1632:12: note: use '==' to turn this assignment into an equality comparison 1632 | 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] 1637 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1637:12: note: place parentheses around the assignment to silence this warning 1637 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y)) { | ^ | ( ) generate.c:1637:12: note: use '==' to turn this assignment into an equality comparison 1637 | 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] 1642 | if (ncptr = fetchtile(context, cptr->x, cptr->y - BOXSIZE)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1642:12: note: place parentheses around the assignment to silence this warning 1642 | if (ncptr = fetchtile(context, cptr->x, cptr->y - BOXSIZE)) { | ^ | ( ) generate.c:1642:12: note: use '==' to turn this assignment into an equality comparison 1642 | 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] 1647 | if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1647:12: note: place parentheses around the assignment to silence this warning 1647 | if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { | ^ | ( ) generate.c:1647:12: note: use '==' to turn this assignment into an equality comparison 1647 | if (ncptr = fetchtile(context, cptr->x, cptr->y + BOXSIZE)) { | ^ | == --- key.o --- key.c:214:51: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 214 | sprintf(outbuf, "%c%c%c%c%c%c%c%c%c%c%c", itos(s[0]), itos(s[1]), | ~^ --- generate.o --- generate.c:1651:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1651 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1651:13: note: place parentheses around the assignment to silence this warning 1651 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y - BOXSIZE)) | ^ | ( ) generate.c:1651:13: note: use '==' to turn this assignment into an equality comparison --- key.o --- key.c:224:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 224 | if (fp = fopen(PATCH_LOG, "a")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ --- generate.o --- 1651 | 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] --- key.o --- key.c:224:17: note: place parentheses around the assignment to silence this warning --- generate.o --- 1653 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y - BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- key.o --- 224 | if (fp = fopen(PATCH_LOG, "a")) { | ^ | ( ) --- generate.o --- generate.c:1653:13: note: place parentheses around the assignment to silence this warning --- key.o --- key.c:224:17: note: use '==' to turn this assignment into an equality comparison 224 | if (fp = fopen(PATCH_LOG, "a")) { | ^ | == --- generate.o --- 1653 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y - BOXSIZE)) | ^ | ( ) generate.c:1653:13: note: use '==' to turn this assignment into an equality comparison 1653 | 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] 1655 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y + BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1655:13: note: place parentheses around the assignment to silence this warning 1655 | if (ncptr = fetchtile(context, cptr->x + BOXSIZE, cptr->y + BOXSIZE)) | ^ | ( ) generate.c:1655:13: note: use '==' to turn this assignment into an equality comparison 1655 | 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] 1657 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1657:13: note: place parentheses around the assignment to silence this warning 1657 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) | ^ | ( ) generate.c:1657:13: note: use '==' to turn this assignment into an equality comparison 1657 | if (ncptr = fetchtile(context, cptr->x - BOXSIZE, cptr->y + BOXSIZE)) | ^ | == --- isave.o --- isave.c:246:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 246 | if (cp = strchr(buf, '#')) | ~~~^~~~~~~~~~~~~~~~~~ isave.c:246:10: note: place parentheses around the assignment to silence this warning 246 | if (cp = strchr(buf, '#')) | ^ | ( ) isave.c:246:10: note: use '==' to turn this assignment into an equality comparison 246 | if (cp = strchr(buf, '#')) | ^ | == --- key.o --- key.c:271:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 271 | sprintf(inpbuf, "%c%c%c%c%c%c%c%c%c: %c", itos(s), itos(n1), itos(n2), | ~^ --- generate.o --- generate.c:1704:25: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1704 | else | ^ generate.c:1722:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1722 | if (newval = hold[i][j]) { | ~~~~~~~^~~~~~~~~~~~ generate.c:1722:14: note: place parentheses around the assignment to silence this warning 1722 | if (newval = hold[i][j]) { | ^ | ( ) generate.c:1722:14: note: use '==' to turn this assignment into an equality comparison 1722 | if (newval = hold[i][j]) { | ^ | == generate.c:1700:56: warning: unsequenced modification and access to 'newval' [-Wunsequenced] 1700 | make_transition8(0, newval = hold[i][j], hold[i - 1][j], | ^ 1701 | hold[i - 1][j + 1], hold[i][j + 1], hold[i + 1][j + 1], 1702 | hold[i + 1][j], hold[i + 1][j - 1], hold[i][j - 1], 1703 | hold[i - 1][j - 1], newval); | ~~~~~~ generate.c:1873:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1873 | if (newval = cptr->cells.nstate.cell[t2][t1]) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:1873:32: note: place parentheses around the assignment to silence this warning 1873 | if (newval = cptr->cells.nstate.cell[t2][t1]) { | ^ | ( ) generate.c:1873:32: note: use '==' to turn this assignment into an equality comparison 1873 | if (newval = cptr->cells.nstate.cell[t2][t1]) { | ^ | == generate.c:1890:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1890 | 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' 1781 | else\ | ^ generate.c:1891:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1891 | 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' 1781 | else\ | ^ generate.c:1892:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1892 | 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' 1781 | else\ | ^ generate.c:1893:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1893 | 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' 1781 | else\ | ^ generate.c:1895:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1895 | 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' 1781 | else\ | ^ generate.c:1896:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1896 | 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' 1781 | else\ | ^ generate.c:1897:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1897 | 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' 1781 | else\ | ^ generate.c:1898:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1898 | 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' 1781 | else\ | ^ generate.c:1902:14: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1902 | 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' 1781 | else\ | ^ generate.c:1994:52: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1994 | 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] 1995 | || 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] 1995 | || 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] 2069 | 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] 2070 | || 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] 2070 | || err == E_WRONGNUM || err == E_BADCHAR) | ^ ~~~~~~~~~ generate.c:2090:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2090 | if (cp = strchr(buf, '#')) { | ~~~^~~~~~~~~~~~~~~~~~ generate.c:2090:9: note: place parentheses around the assignment to silence this warning 2090 | if (cp = strchr(buf, '#')) { | ^ | ( ) generate.c:2090:9: note: use '==' to turn this assignment into an equality comparison 2090 | if (cp = strchr(buf, '#')) { | ^ | == generate.c:2178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2178 | else if (errmsg = parse_recurse(buf, 0)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ generate.c:2178:18: note: place parentheses around the assignment to silence this warning 2178 | else if (errmsg = parse_recurse(buf, 0)) { | ^ | ( ) generate.c:2178:18: note: use '==' to turn this assignment into an equality comparison 2178 | else if (errmsg = parse_recurse(buf, 0)) { | ^ | == --- main.o --- main.c:297:10: warning: call to undeclared function 'change_tentative_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | change_tentative_color(); | ^ --- generate.o --- generate.c:2238:59: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 2238 | sprintf(inpbuf, "Period-%d oscillator is found", active.generations - oscillator_check.generations); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lu --- main.o --- main.c:458:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 458 | if (truehistory = !truehistory) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~ main.c:458:25: note: place parentheses around the assignment to silence this warning 458 | if (truehistory = !truehistory) { | ^ | ( ) main.c:458:25: note: use '==' to turn this assignment into an equality comparison 458 | if (truehistory = !truehistory) { | ^ | == main.c:963:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 963 | else if (x >= x_max_limit) | ^ main.c:968:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 968 | else if (y >= y_max_limit) | ^ main.c:1069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1069 | if (f = XLoadQueryFont(disp, NORMALFONT)) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1069:10: note: place parentheses around the assignment to silence this warning 1069 | if (f = XLoadQueryFont(disp, NORMALFONT)) return f; | ^ | ( ) main.c:1069:10: note: use '==' to turn this assignment into an equality comparison 1069 | if (f = XLoadQueryFont(disp, NORMALFONT)) return f; | ^ | == main.c:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1071:10: note: place parentheses around the assignment to silence this warning 1071 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ^ | ( ) main.c:1071:10: note: use '==' to turn this assignment into an equality comparison 1071 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ^ | == main.c:1073:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1073 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1073:10: note: place parentheses around the assignment to silence this warning 1073 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ^ | ( ) main.c:1073:10: note: use '==' to turn this assignment into an equality comparison 1073 | if (f = XLoadQueryFont(disp, fontspec)) return f; | ^ | == main.c:1079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1079 | if (f = XLoadQueryFont(disp, "6x9")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1079:10: note: place parentheses around the assignment to silence this warning 1079 | if (f = XLoadQueryFont(disp, "6x9")) return f; | ^ | ( ) main.c:1079:10: note: use '==' to turn this assignment into an equality comparison 1079 | if (f = XLoadQueryFont(disp, "6x9")) return f; | ^ | == main.c:1080:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1080 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--9-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1080:10: note: place parentheses around the assignment to silence this warning 1080 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--9-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1080:10: note: use '==' to turn this assignment into an equality comparison 1080 | 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] 1081 | if (f = XLoadQueryFont(disp, "-*-*-*-r-*--8-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1081:10: note: place parentheses around the assignment to silence this warning 1081 | if (f = XLoadQueryFont(disp, "-*-*-*-r-*--8-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1081:10: note: use '==' to turn this assignment into an equality comparison 1081 | 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] 1082 | if (f = XLoadQueryFont(disp, "-*-courier-bold-r-*--8-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1082:10: note: place parentheses around the assignment to silence this warning 1082 | if (f = XLoadQueryFont(disp, "-*-courier-bold-r-*--8-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1082:10: note: use '==' to turn this assignment into an equality comparison 1082 | 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] 1083 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--10-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1083:10: note: place parentheses around the assignment to silence this warning 1083 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--10-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1083:10: note: use '==' to turn this assignment into an equality comparison --- gentab.o --- 3 warnings generated. --- main.o --- 1083 | 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] 1084 | if (f = XLoadQueryFont(disp, "-*-*-*-r-*--9-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1084:10: note: place parentheses around the assignment to silence this warning 1084 | if (f = XLoadQueryFont(disp, "-*-*-*-r-*--9-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1084:10: note: use '==' to turn this assignment into an equality comparison 1084 | 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] 1085 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--11-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1085:10: note: place parentheses around the assignment to silence this warning 1085 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--11-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1085:10: note: use '==' to turn this assignment into an equality comparison 1085 | 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] 1086 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--12-*-*-*-*-*-*-*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1086:10: note: place parentheses around the assignment to silence this warning 1086 | if (f = XLoadQueryFont(disp, "-*-*-medium-r-*--12-*-*-*-*-*-*-*")) return f; | ^ | ( ) main.c:1086:10: note: use '==' to turn this assignment into an equality comparison 1086 | 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] 1087 | if (f = XLoadQueryFont(disp, "*6x*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1087:10: note: place parentheses around the assignment to silence this warning 1087 | if (f = XLoadQueryFont(disp, "*6x*")) return f; | ^ | ( ) main.c:1087:10: note: use '==' to turn this assignment into an equality comparison 1087 | if (f = XLoadQueryFont(disp, "*6x*")) return f; | ^ | == main.c:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1088 | if (f = XLoadQueryFont(disp, "*7x*")) return f; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1088:10: note: place parentheses around the assignment to silence this warning 1088 | if (f = XLoadQueryFont(disp, "*7x*")) return f; | ^ | ( ) main.c:1088:10: note: use '==' to turn this assignment into an equality comparison 1088 | 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] 1238 | icon = XCreateBitmapFromData(disp, mainw, icon_bits, icon_width, icon_height); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ --- tentative.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 tentative.c -o tentative.o --- history.o --- 13 warnings generated. --- tile.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 tile.c -o tile.o --- key.o --- 3 warnings generated. --- topology.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 topology.c -o topology.o --- isave.o --- 1 warning generated. --- tentative.o --- tentative.c:106:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | else if (state = getcell(&ptr->cells, dx, dy)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tentative.c:106:18: note: place parentheses around the assignment to silence this warning 106 | else if (state = getcell(&ptr->cells, dx, dy)) { | ^ | ( ) tentative.c:106:18: note: use '==' to turn this assignment into an equality comparison 106 | 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] 130 | if (state = getcell(&ptr->cells, dx, dy)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tentative.c:130:26: note: place parentheses around the assignment to silence this warning 130 | if (state = getcell(&ptr->cells, dx, dy)) { | ^ | ( ) tentative.c:130:26: note: use '==' to turn this assignment into an equality comparison 130 | if (state = getcell(&ptr->cells, dx, dy)) { | ^ | == --- utils.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 utils.c -o utils.o --- tile.o --- tile.c:93:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 93 | if (ptr = p->hashlist[i]) { | ~~~~^~~~~~~~~~~~~~~~ tile.c:93:15: note: place parentheses around the assignment to silence this warning 93 | if (ptr = p->hashlist[i]) { | ^ | ( ) tile.c:93:15: note: use '==' to turn this assignment into an equality comparison 93 | if (ptr = p->hashlist[i]) { | ^ | == tile.c:94:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 94 | do hashsum++; while (ptr = ptr->hnext); | ~~~~^~~~~~~~~~~~ tile.c:94:35: note: place parentheses around the assignment to silence this warning 94 | do hashsum++; while (ptr = ptr->hnext); | ^ | ( ) tile.c:94:35: note: use '==' to turn this assignment into an equality comparison 94 | 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] 97 | sprintf(inpbuf, "Hash %s: X=%u Y=%u [%u] filled=%.4f badness=%.3f tiles=%ld", | ~~~ | %u 98 | p == &active? "active": "tentative", 99 | HASHBITS - 3 - p->hxs, 3 + p->hxs, HASHBITS, (double)hashcount/HASHSIZE, 100 | hashcount ? (double)hashsum/hashcount : 0, p->tilecount); | ^~~~~~~~~~~~ tile.c:108:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if (ptr->hnext = p->hashlist[hv]) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tile.c:108:22: note: place parentheses around the assignment to silence this warning 108 | if (ptr->hnext = p->hashlist[hv]) | ^ | ( ) tile.c:108:22: note: use '==' to turn this assignment into an equality comparison 108 | if (ptr->hnext = p->hashlist[hv]) | ^ | == tile.c:117:32: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 117 | p->hxm = ((1 << HASHBITS - HASHBITS/2) - 1) << 3, | ~~ ~~~~~~~~~^~~~~~~~~~~~ tile.c:117:32: note: place parentheses around the '-' expression to silence this warning 117 | 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] 129 | while (p->xmax - p->xmin >> 3 + xc++); | ~~~~~~~~^~~~~~~~~ ~~ tile.c:129:22: note: place parentheses around the '-' expression to silence this warning 129 | while (p->xmax - p->xmin >> 3 + xc++); | ^ | ( ) tile.c:129:37: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 129 | while (p->xmax - p->xmin >> 3 + xc++); | ~~ ~~^~~~~~ tile.c:129:37: note: place parentheses around the '+' expression to silence this warning 129 | while (p->xmax - p->xmin >> 3 + xc++); | ^ | ( ) tile.c:130:22: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 130 | while (p->ymax - p->ymin >> 3 + yc++); | ~~~~~~~~^~~~~~~~~ ~~ tile.c:130:22: note: place parentheses around the '-' expression to silence this warning 130 | while (p->ymax - p->ymin >> 3 + yc++); | ^ | ( ) tile.c:130:37: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 130 | while (p->ymax - p->ymin >> 3 + yc++); | ~~ ~~^~~~~~ tile.c:130:37: note: place parentheses around the '+' expression to silence this warning 130 | while (p->ymax - p->ymin >> 3 + yc++); | ^ | ( ) --- cell.o --- 7 warnings generated. --- tile.o --- tile.c:276:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if (ptr = findtile(context, hx, hy, hv)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:276:12: note: place parentheses around the assignment to silence this warning 276 | if (ptr = findtile(context, hx, hy, hv)) | ^ | ( ) tile.c:276:12: note: use '==' to turn this assignment into an equality comparison 276 | if (ptr = findtile(context, hx, hy, hv)) | ^ | == tile.c:305:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | if (ptr = findtile(context, x, y, hv)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:305:13: note: place parentheses around the assignment to silence this warning 305 | if (ptr = findtile(context, x, y, hv)) | ^ | ( ) tile.c:305:13: note: use '==' to turn this assignment into an equality comparison 305 | if (ptr = findtile(context, x, y, hv)) | ^ | == --- xwidget.o --- --- tile.o --- tile.c:404:71: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 404 | 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 404 | 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] 405 | && labs((long)ynew - (long)ypos) < 10 << 6 - scale) { | ~~ ~~^~~~~~~ tile.c:405:70: note: place parentheses around the '-' expression to silence this warning 405 | && labs((long)ynew - (long)ypos) < 10 << 6 - scale) { | ^ | ( ) --- xwidget.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 xwidget.c -o xwidget.o --- topology.o --- topology.c:190:12: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 190 | x = (x + 7 >> 3)*8; | ~~^~~ ~~ topology.c:190:12: note: place parentheses around the '+' expression to silence this warning 190 | x = (x + 7 >> 3)*8; | ^ | ( ) topology.c:191:12: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 191 | y = (y + 7 >> 3)*8; | ~~^~~ ~~ topology.c:191:12: note: place parentheses around the '+' expression to silence this warning 191 | y = (y + 7 >> 3)*8; | ^ | ( ) topology.c:303:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 303 | else | ^ topology.c:310:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 310 | else | ^ --- tile.o --- tile.c:683:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 683 | if (state = getcell(&ptr->cells, dx, dy)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:683:17: note: place parentheses around the assignment to silence this warning 683 | if (state = getcell(&ptr->cells, dx, dy)) { | ^ | ( ) tile.c:683:17: note: use '==' to turn this assignment into an equality comparison 683 | if (state = getcell(&ptr->cells, dx, dy)) { | ^ | == --- topology.o --- topology.c:339:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 339 | else | ^ --- tile.o --- tile.c:819:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 819 | if (val = lookcell(pp, x, y)) { | ~~~~^~~~~~~~~~~~~~~~~~~~ tile.c:819:14: note: place parentheses around the assignment to silence this warning 819 | if (val = lookcell(pp, x, y)) { | ^ | ( ) tile.c:819:14: note: use '==' to turn this assignment into an equality comparison 819 | if (val = lookcell(pp, x, y)) { | ^ | == tile.c:900:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 900 | if (val = getcell(&ptr->cells, dx, dy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:900:11: note: place parentheses around the assignment to silence this warning 900 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tile.c:900:11: note: use '==' to turn this assignment into an equality comparison 900 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | == tile.c:942:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 942 | else | ^ tile.c:950:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 950 | if (val = getcell(&ptr->cells, dx, dy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:950:12: note: place parentheses around the assignment to silence this warning 950 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tile.c:950:12: note: use '==' to turn this assignment into an equality comparison 950 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | == tile.c:955:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 955 | else | ^ tile.c:964:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 964 | if (val = getcell(&ptr->cells, dx, dy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:964:11: note: place parentheses around the assignment to silence this warning 964 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tile.c:964:11: note: use '==' to turn this assignment into an equality comparison 964 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | == tile.c:969:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 969 | else | ^ tile.c:983:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 983 | if (val = getcell(&ptr->cells, dx, dy)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:983:12: note: place parentheses around the assignment to silence this warning 983 | if (val = getcell(&ptr->cells, dx, dy)) { | ^ | ( ) tile.c:983:12: note: use '==' to turn this assignment into an equality comparison 983 | if (val = getcell(&ptr->cells, dx, dy)) { | ^ | == --- tentative.o --- 2 warnings generated. --- utils.o --- utils.c:80:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 80 | fprintf(stderr, s); | ^ utils.c:80:20: note: treat the string as an argument to avoid this 80 | fprintf(stderr, s); | ^ | "%s", utils.c:173:16: warning: add explicit braces to avoid dangling else [-Wdangling-else] 173 | else | ^ --- gen-multirules.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 gen-multirules.c -o gen-multirules.o --- utils.o --- utils.c:263:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 263 | extern char *ctime(); | ^ /usr/include/time.h:121:7: note: conflicting prototype is here 121 | char *ctime(const time_t *); | ^ utils.c:267:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 267 | if (pw = getpwuid(getuid())) | ~~~^~~~~~~~~~~~~~~~~~~~ utils.c:267:12: note: place parentheses around the assignment to silence this warning 267 | if (pw = getpwuid(getuid())) | ^ | ( ) utils.c:267:12: note: use '==' to turn this assignment into an equality comparison 267 | if (pw = getpwuid(getuid())) | ^ | == --- xwidget.o --- xwidget.c:89:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if (dp = opendir(dir)) { | ~~~^~~~~~~~~~~~~~ xwidget.c:89:11: note: place parentheses around the assignment to silence this warning 89 | if (dp = opendir(dir)) { | ^ | ( ) xwidget.c:89:11: note: use '==' to turn this assignment into an equality comparison 89 | if (dp = opendir(dir)) { | ^ | == xwidget.c:90:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 90 | while (entry = readdir(dp)) { | ~~~~~~^~~~~~~~~~~~~ xwidget.c:90:20: note: place parentheses around the assignment to silence this warning 90 | while (entry = readdir(dp)) { | ^ | ( ) xwidget.c:90:20: note: use '==' to turn this assignment into an equality comparison 90 | while (entry = readdir(dp)) { | ^ | == --- gen-multirules.o --- gen-multirules.c:33:24: warning: parameter 'k' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | unsigned long power(n, k) { | ^ gen-multirules.c:33:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | unsigned long power(n, k) { | ^ gen-multirules.c:33:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | unsigned long power(n, k) { | ^ gen-multirules.c:98:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 98 | *rs |= 1 << *p++ - '0'; | ~~ ~~~~~^~~~~ gen-multirules.c:98:30: note: place parentheses around the '-' expression to silence this warning 98 | *rs |= 1 << *p++ - '0'; | ^ | ( ) gen-multirules.c:102:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 102 | *rb |= 1 << *p++ - '0'; | ~~ ~~~~~^~~~~ gen-multirules.c:102:30: note: place parentheses around the '-' expression to silence this warning 102 | *rb |= 1 << *p++ - '0'; | ^ | ( ) gen-multirules.c:104:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | else if (p = strchr(rule, '/')) { | ~~^~~~~~~~~~~~~~~~~~~ gen-multirules.c:104:15: note: place parentheses around the assignment to silence this warning 104 | else if (p = strchr(rule, '/')) { | ^ | ( ) gen-multirules.c:104:15: note: use '==' to turn this assignment into an equality comparison 104 | else if (p = strchr(rule, '/')) { | ^ | == gen-multirules.c:107:30: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 107 | *rs |= 1 << *rule++ - '0'; | ~~ ~~~~~~~~^~~~~ gen-multirules.c:107:30: note: place parentheses around the '-' expression to silence this warning 107 | *rs |= 1 << *rule++ - '0'; | ^ | ( ) gen-multirules.c:111:33: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 111 | *rb |= 1 << *rule++ - '0'; | ~~ ~~~~~~~~^~~~~ gen-multirules.c:111:33: note: place parentheses around the '-' expression to silence this warning 111 | *rb |= 1 << *rule++ - '0'; | ^ | ( ) gen-multirules.c:123:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | while (p = strchr(rules, ',')) { | ~~^~~~~~~~~~~~~~~~~~~~ gen-multirules.c:123:13: note: place parentheses around the assignment to silence this warning 123 | while (p = strchr(rules, ',')) { | ^ | ( ) gen-multirules.c:123:13: note: use '==' to turn this assignment into an equality comparison 123 | while (p = strchr(rules, ',')) { | ^ | == --- xwidget.o --- xwidget.c:437:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 437 | if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:437:11: note: place parentheses around the assignment to silence this warning 437 | if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { | ^ | ( ) --- gen-multirules.o --- gen-multirules.c:183:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 183 | else | ^ --- xwidget.o --- xwidget.c:437:11: note: use '==' to turn this assignment into an equality comparison 437 | if (fp = fopen(add_opt_ext(fn, LOADEXT), "r")) { | ^ | == --- gen-multirules.o --- gen-multirules.c:206:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 206 | else | ^ --- xwidget.o --- xwidget.c:530:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 530 | if (p = checktilda(widget_fn)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:530:19: note: place parentheses around the assignment to silence this warning 530 | if (p = checktilda(widget_fn)) | ^ | ( ) xwidget.c:530:19: note: use '==' to turn this assignment into an equality comparison 530 | if (p = checktilda(widget_fn)) | ^ | == xwidget.c:534:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | if (p = checktilda(widget_fn)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:534:19: note: place parentheses around the assignment to silence this warning 534 | if (p = checktilda(widget_fn)) { | ^ | ( ) xwidget.c:534:19: note: use '==' to turn this assignment into an equality comparison 534 | if (p = checktilda(widget_fn)) { | ^ | == xwidget.c:541:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 541 | if (p = checktilda(widget_fn)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ xwidget.c:541:19: note: place parentheses around the assignment to silence this warning 541 | if (p = checktilda(widget_fn)) | ^ | ( ) xwidget.c:541:19: note: use '==' to turn this assignment into an equality comparison 541 | if (p = checktilda(widget_fn)) | ^ | == xwidget.c:589:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 589 | else | ^ xwidget.c:627:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 627 | else | ^ xwidget.c:638:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 638 | else | ^ --- topology.o --- 5 warnings generated. --- file.o --- 32 warnings generated. --- utils.o --- 4 warnings generated. --- table2r.script --- sed 1s!GAWKPATH!! table2r.script --- XLIFE-HISTORY.svg --- dot -Tsvg -o XLIFE-HISTORY.svg XLIFE-HISTORY.dot sh: dot: not found --- xlife._man --- 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 --- 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 help.c -o help.o --- main.o --- 18 warnings generated. --- gen-multirules.o --- 11 warnings generated. --- gen-multirules --- 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 --- xwidget.o --- 9 warnings generated. --- tile.o --- 22 warnings generated. --- generate.o --- 41 warnings generated. --- xlife --- 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 --- lifeconv --- rm -f lifeconv ln -s xlife lifeconv =========================================================================== =================================================== ===== 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.1.pkg [13amd64-weekly-desktop-job-01] Installing gawk-5.3.1... [13amd64-weekly-desktop-job-01] `-- Installing gettext-runtime-0.23.1... [13amd64-weekly-desktop-job-01] | `-- Installing indexinfo-0.3.1_1... [13amd64-weekly-desktop-job-01] | `-- Extracting indexinfo-0.3.1_1: . done [13amd64-weekly-desktop-job-01] `-- Extracting gettext-runtime-0.23.1: .......... done [13amd64-weekly-desktop-job-01] `-- Installing readline-8.2.13_2... [13amd64-weekly-desktop-job-01] `-- Extracting readline-8.2.13_2: .......... done [13amd64-weekly-desktop-job-01] Extracting gawk-5.3.1: .......... 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=nobody UID=65534 GID=65534 ===> 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=2025-05-05T00:15:39+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d9c7e0b18ad0' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> 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 Sun May 4 20:15:46 EDT 2025 build time: 00:00:08