=>> Building games/ldmud build started at Mon Apr 1 05:13:35 BST 2024 port directory: /usr/ports/games/ldmud package name: ldmud-3.3.720_7,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 1928 Feb 25 10:26 /usr/ports/games/ldmud/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 1d57658378 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 02 ---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/02/.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 ldmud-3.3.720_7,1: DOCS=on: Build and/or install documentation IPV6=on: IPv6 protocol support PGSQL=on: PostgreSQL database support SQLITE=on: SQLite database support ====> Options available for the single MUDLIB: you have to select exactly one of them LPMUD=on: Install default mudlib (LP-245) DEMOLIB=off ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --libdir=/usr/local/share/ldmud --bindir=/usr/local/sbin --enable-use-pcre --enable-use-tls=ssl --enable-use-ipv6 --enable-use-pgsql --enable-use-sqlite --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/ldmud/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/ldmud/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/ldmud/work/.cache HOME=/wrkdirs/usr/ports/games/ldmud/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/ldmud/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/ldmud/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/games/ldmud/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/ldmud/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/ldmud/work/.cache HOME=/wrkdirs/usr/ports/games/ldmud/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/ldmud/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/ldmud/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 -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include" LDFLAGS=" -Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " 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="" DEMOLIB="@comment " NO_DEMOLIB="" DOCS="" NO_DOCS="@comment " IPV6="" NO_IPV6="@comment " LPMUD="" NO_LPMUD="@comment " PGSQL="" NO_PGSQL="@comment " SQLITE="" NO_SQLITE="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ldmud" EXAMPLESDIR="share/examples/ldmud" DATADIR="share/ldmud" WWWDIR="www/ldmud" ETCDIR="etc/ldmud" --End PLIST_SUB-- --SUB_LIST-- DEMOLIB="@comment " NO_DEMOLIB="" DOCS="" NO_DOCS="@comment " IPV6="" NO_IPV6="@comment " LPMUD="" NO_LPMUD="@comment " PGSQL="" NO_PGSQL="@comment " SQLITE="" NO_SQLITE="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ldmud DOCSDIR=/usr/local/share/doc/ldmud EXAMPLESDIR=/usr/local/share/examples/ldmud WWWDIR=/usr/local/www/ldmud ETCDIR=/usr/local/etc/ldmud --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 ldmud 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 ===> ldmud-3.3.720_7,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 ===> ldmud-3.3.720_7,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ldmud-3.3.720_7,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 ldmud 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 ldmud-3.3.720_7,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ldmud 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 ldmud-3.3.720_7,1 for building => SHA256 Checksum OK for ldmud-3.3.720.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ldmud 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 ldmud-3.3.720_7,1 for building ===> Extracting for ldmud-3.3.720_7,1 => SHA256 Checksum OK for ldmud-3.3.720.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ldmud-3.3.720_7,1 ===> Applying FreeBSD patches for ldmud-3.3.720_7,1 from /usr/ports/games/ldmud/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ldmud-3.3.720_7,1 depends on executable: help2man - not found ===> Installing existing package /packages/All/help2man-1.49.3_1.pkg [pkg-builder.dan.net.uk] Installing help2man-1.49.3_1... [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 p5-Locale-gettext-1.07... [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] `-- Extracting p5-Locale-gettext-1.07: .... done [pkg-builder.dan.net.uk] Extracting help2man-1.49.3_1: .......... done ===> ldmud-3.3.720_7,1 depends on executable: help2man - found ===> Returning to build of ldmud-3.3.720_7,1 ===> ldmud-3.3.720_7,1 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.1.1,1.pkg [pkg-builder.dan.net.uk] Installing pkgconf-2.1.1,1... [pkg-builder.dan.net.uk] Extracting pkgconf-2.1.1,1: .......... done ===> ldmud-3.3.720_7,1 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of ldmud-3.3.720_7,1 ===> ldmud-3.3.720_7,1 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> ldmud-3.3.720_7,1 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of ldmud-3.3.720_7,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ldmud-3.3.720_7,1 depends on shared library: libpcre.so - not found ===> Installing existing package /packages/All/pcre-8.45_4.pkg [pkg-builder.dan.net.uk] Installing pcre-8.45_4... [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 pcre-8.45_4: .......... done ===== Message from pcre-8.45_4: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: EOLed by upstream, use devel/pcre2 instead. ===> ldmud-3.3.720_7,1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) ===> Returning to build of ldmud-3.3.720_7,1 ===> ldmud-3.3.720_7,1 depends on shared library: libpq.so.5 - not found ===> Installing existing package /packages/All/postgresql15-client-15.6.pkg [pkg-builder.dan.net.uk] Installing postgresql15-client-15.6... [pkg-builder.dan.net.uk] Extracting postgresql15-client-15.6: .......... done ===== Message from postgresql15-client-15.6: -- The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... ===> ldmud-3.3.720_7,1 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Returning to build of ldmud-3.3.720_7,1 ===> ldmud-3.3.720_7,1 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.45.1,1.pkg [pkg-builder.dan.net.uk] Installing sqlite3-3.45.1,1... [pkg-builder.dan.net.uk] `-- Installing libedit-3.1.20230828_1,1... [pkg-builder.dan.net.uk] `-- Extracting libedit-3.1.20230828_1,1: .......... done [pkg-builder.dan.net.uk] Extracting sqlite3-3.45.1,1: ......... done ===> ldmud-3.3.720_7,1 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of ldmud-3.3.720_7,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ldmud-3.3.720_7,1 configure: loading site script /usr/ports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for cc option to accept ISO C99... none needed checking for cc option to accept ISO Standard C... (cached) none needed checking whether compiler supports -fwrapv... yes checking whether compiler supports -Wall... yes checking whether compiler supports -Wparentheses... yes checking whether compiler supports -Wshadow... yes checking whether compiler supports -Wstrict-overflow=2... yes checking warning CFLAGS... -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 checking for inline... inline checking for typeof syntax and keyword spelling... typeof checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for preprocessor stringizing operator... yes checking for variable-length arrays... yes checking for working volatile... yes checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for int8_t... (cached) yes checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for long long int... (cached) yes checking for intmax_t... (cached) yes checking for intptr_t... yes checking for uint8_t... (cached) yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for unsigned long long int... (cached) yes checking for uintmax_t... yes checking for uintptr_t... (cached) yes checking for long long int... (cached) yes checking for unsigned long long int... (cached) yes checking for long double... (cached) yes checking for long double with more range or precision than double... yes checking for ssize_t... (cached) yes checking for size_t... (cached) yes checking for off_t... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking return type of signal handlers... void checking size of char *... 8 checking size of int... 4 checking size of short... 2 checking size of long... 8 checking size of long long... 8 checking size of intptr_t... 8 checking size of intmax_t... 8 checking for a BSD-compatible install... /usr/bin/install -c checking for byacc... byacc checking how to run the C preprocessor... cpp checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) yes checking sys/rusage.h usability... no checking sys/rusage.h presence... no checking for sys/rusage.h... no checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking for memory.h... (cached) yes checking for string.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking for netdb.h... (cached) yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for sys/param.h... (cached) yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking for limits.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... (cached) yes checking for working mktime... yes checking for working alloca.h... no checking for alloca... yes checking for fchmod... (cached) yes checking for getrusage... (cached) yes checking for bzero... (cached) yes checking for memset... (cached) yes checking for memcpy... (cached) yes checking for memmem... yes checking for strdup... (cached) yes checking for strcspn... (cached) yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for getcwd... (cached) yes checking for memmove... (cached) yes checking for sysconf... (cached) yes checking for gettimeofday... (cached) yes checking for wait3... (cached) yes checking for waitpid... (cached) yes checking for fcntl... (cached) yes checking for getdomainname... yes checking for poll... (cached) yes checking for strtoul... (cached) yes checking for trunc... no checking for mmap... (cached) yes checking for getpagesize... (cached) yes checking for main in -lm... yes checking for main in -lsocket... no checking for main in -lnsl... no checking for main in -lucb... no checking if -lresolv is needed... no checking for crypt... no checking for _crypt... no checking for main in -lcrypt... yes checking for crypt... yes checking for _crypt... no checking if inet_ntoa() ok... yes checking for IPv6 support... yes checking if -linet6 is needed... yes checking for main in -linet6... no checking for OpenSSL support... yes checking if -lssl or similar is needed... yes checking for SSL_library_init in -lssl... no checking if -lcrypto is needed for SSL... yes checking for main in -lcrypto... yes checking for main in -lpcre... yes checking for PCRE usability... yes checking for broken iconv in glibc 2.0-2.2... no checking for iconv... yes checking if iconv takes a non-const char**... yes checking if -liconv is needed... no checking idna.h usability... no checking idna.h presence... no checking for idna.h... no checking stringprep.h usability... no checking stringprep.h presence... no checking for stringprep.h... no checking for stringprep_check_version in -lidn... no checking for mySQL... no checking for PostgresSQL... yes checking for main in -lpq... yes checking for main in -lpq... yes checking if -lssl is needed... (cached) yes checking for main in -lssl... yes checking pkg-config is at least version 0.9.0... yes checking for SQLITE3... yes checking for library containing pthread_create... no checking if rename handles directories... yes checking full availability of struct rusage members... yes checking struct rusage timeval members with tv_usec... yes checking if return type of free is void... yes checking if void* or char* from malloc... void * checking if CHAR_BIT == 8 or undef... yes checking if strtol broken... no checking nonblocking using ioctl with FIONBIO... yes checking nonblocking using fcntl with O_NDELAY... yes checking nonblocking using fcntl with FNDELAY... yes checking if fcntl with SETOWN works... yes checking if OOBINLINE works... yes checking for overlapping bcopy... yes checking if strtol needs const char*... no checking low optimization CFLAGS... -O -g checking medium optimization CFLAGS... -O2 -g checking highest optimization CFLAGS... -O4 -fomit-frame-pointer -g checking if tail accepts the -n parameter... yes checking if byacc includes bogus malloc prototypes... no checking for byacc / / -DSGI_SOURCE / afree name clash... no checking malloc redefinition with linking flag ... 100.000000% successful checking malloc overhead... 96 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: creating util/Makefile config.status: creating util/indent/Makefile config.status: creating util/xerq/Makefile config.status: creating util/erq/Makefile config.status: creating machine.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ldmud-3.3.720_7,1 make: "/wrkdirs/usr/ports/games/ldmud/work/ldmud-3.3.720/src/Makefile" line 245: warning: Extra target ignored cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c access_check.c -o access_check.o access_check.c:165:12: warning: cast to smaller integer type 'uint32' (aka 'unsigned int') from 'uint8_t *' (aka 'unsigned char *') [-Wpointer-to-int-cast] addr = (uint32) full_addr->sin_addr.s_addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. byacc make_func.y mv y.tab.c make_func.c cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c mkfunc.c -o mkfunc.o In file included from mkfunc.c:20: In file included from make_func.y:201: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from mkfunc.c:20: make_func.y:1901:28: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] case UPLUS : value = value; break; ~~~~~ ^ ~~~~~ make_func.y:2154:1: warning: 'static' function 'type_str' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] type_str (int n) ^ 14 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c hash.c -o hash.o cc -O2 -g -Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector-strong mkfunc.o hash.o -o mkfunc rm -f stdstrings.c rm -f stdstrings.h ./mkfunc strings cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c actions.c -o actions.o In file included from actions.c:68: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c array.c -o array.o In file included from array.c:70: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c arraylist.c -o arraylist.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c backend.c -o backend.o In file included from backend.c:55: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from backend.c:63: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ backend.c:592:46: warning: implicit conversion from enumeration type 'enum low_memory_conditions' to different enumeration type 'enum memory_limit_types' [-Wenum-conversion] NO_MALLOC_LIMIT_EXCEEDED : ^~~~~~~~~~~~~~~~~~~~~~~~ backend.c:593:46: warning: implicit conversion from enumeration type 'enum low_memory_conditions' to different enumeration type 'enum memory_limit_types' [-Wenum-conversion] HARD_MALLOC_LIMIT_EXCEEDED); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c bitstrings.c -o bitstrings.o In file included from bitstrings.c:24: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ bitstrings.c:542:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!sp->type == T_NUMBER || sp->u.number) ^ ~~ bitstrings.c:542:9: note: add parentheses after the '!' to evaluate the comparison first if (!sp->type == T_NUMBER || sp->u.number) ^ ( ) bitstrings.c:542:9: note: add parentheses around left hand side expression to silence this warning if (!sp->type == T_NUMBER || sp->u.number) ^ ( ) bitstrings.c:542:19: warning: result of comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!sp->type == T_NUMBER || sp->u.number) ~~~~~~~~~ ^ ~~~~~~~~ 3 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c call_out.c -o call_out.o In file included from call_out.c:33: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from call_out.c:37: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 13 warnings generated. rm -f instrs.h rm -f efun_defs.c ./mkfunc instrs Primary codes: 189 Primary efuns: 24 Tabled efuns: 200 (23 + 110 + 53 + 13 + 1) Tabled vararg efuns: 69 cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c closure.c -o closure.o In file included from closure.c:155: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from closure.c:160: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ closure.c:3271:25: warning: variable 'void_given' set but not used [-Wunused-but-set-variable] int void_given; ^ closure.c:3273:40: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare] if (block_size < 2 && block_size > 6) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ closure.c:5726:16: warning: format specifies type 'short' but the argument has type 'ph_int' (aka 'int') [-Wformat] , sp->type, sp->x.generic ^~~~~~~~ closure.c:5726:26: warning: format specifies type 'short' but the argument has type 'ph_int' (aka 'int') [-Wformat] , sp->type, sp->x.generic ^~~~~~~~~~~~~ 17 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c comm.c -o comm.o In file included from comm.c:114: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from comm.c:119: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ comm.c:2133:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:2133:21: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:2816:49: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] debug_message("%s Got unexpected EAGAIN upon socket read. Retrying later.\n"); ~^ comm.c:3296:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:3296:21: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:3310:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:3310:25: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:3665:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:3665:21: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:4539:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ ./comm.h:99:9: note: expanded from macro 'SEND_TELNET_COMMAND' TEXT\ ^~~~ comm.c:4539:19: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", ./comm.h:99:9: note: expanded from macro 'SEND_TELNET_COMMAND' TEXT\ ^ comm.c:4534:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] msg[0] = IAC; ~ ^~~ ./../mudlib/sys/telnet.h:26:18: note: expanded from macro 'IAC' #define IAC 255 /* interpret as command: */ ^~~ comm.c:4551:24: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] send_telnet_option(WONT, option); ~~~~~~~~~~~~~~~~~~ ^~~~ ./../mudlib/sys/telnet.h:29:18: note: expanded from macro 'WONT' #define WONT 252 /* I won't use option */ ^~~ comm.c:4562:24: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion] send_telnet_option(DONT, option); ~~~~~~~~~~~~~~~~~~ ^~~~ ./../mudlib/sys/telnet.h:27:18: note: expanded from macro 'DONT' #define DONT 254 /* you are not to use option */ ^~~ comm.c:4573:24: warning: implicit conversion from 'int' to 'char' changes value from 251 to -5 [-Wconstant-conversion] send_telnet_option(WILL, option); ~~~~~~~~~~~~~~~~~~ ^~~~ ./../mudlib/sys/telnet.h:30:18: note: expanded from macro 'WILL' #define WILL 251 /* I will use option */ ^~~ comm.c:4584:24: warning: implicit conversion from 'int' to 'char' changes value from 253 to -3 [-Wconstant-conversion] send_telnet_option(DO, option); ~~~~~~~~~~~~~~~~~~ ^~ ./../mudlib/sys/telnet.h:28:18: note: expanded from macro 'DO' #define DO 253 /* please, you use option */ ^~~ comm.c:5320:46: warning: format specifies type 'char' but the argument has type 'int' [-Wformat] , time_stamp(), ch); ^~ comm.c:5336:46: warning: format specifies type 'char' but the argument has type 'int' [-Wformat] , time_stamp(), ch); ^~ comm.c:5351:46: warning: format specifies type 'char' but the argument has type 'int' [-Wformat] , time_stamp(), ch); ^~ comm.c:5367:46: warning: format specifies type 'char' but the argument has type 'int' [-Wformat] , time_stamp(), ch); ^~ comm.c:5939:12: warning: variable 'ix' set but not used [-Wunused-but-set-variable] int i, ix; ^ comm.c:5940:10: warning: variable 'new_entry' set but not used [-Wunused-but-set-variable] Bool new_entry; ^ comm.c:6624:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:6624:25: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:6813:48: warning: cast to smaller integer type 'u_int32_t' (aka 'unsigned int') from 'char *' [-Wpointer-to-int-cast] CREATE_IPV6_MAPPED(&name.sin_addr, (u_int32_t)hp->h_addr_list[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comm.c:6987:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:6987:29: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:6994:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:6994:25: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:7083:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:7083:29: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:7091:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ comm.c:7091:25: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", comm.c:4589:1: warning: unused function 'reply_nil' [-Wunused-function] reply_nil (int option UNUSED) ^ 37 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c dumpstat.c -o dumpstat.o In file included from dumpstat.c:22: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from dumpstat.c:26: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ dumpstat.c:223:29: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] bytecode_p p = &l->function.code[2]; ^ ~ ./closure.h:73:9: note: array 'code' declared here bytecode_t code[1]; ^ 14 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c ed.c -o ed.o In file included from ed.c:55: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ ed.c:1803:18: warning: variable 'old' set but not used [-Wunused-but-set-variable] char *new, *old, buf[MAXLINE]; ^ 2 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c efuns.c -o efuns.o In file included from efuns.c:111: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from efuns.c:120: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ efuns.c:3323:40: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] info->fmt_end = "d"+1; ~~~^~ efuns.c:3323:40: note: use array indexing to silence this warning info->fmt_end = "d"+1; ^ & [ ] efuns.c:3528:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] info->fmt_end = "d"+1; ~~~^~ efuns.c:3528:32: note: use array indexing to silence this warning info->fmt_end = "d"+1; ^ & [ ] efuns.c:3584:28: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] info->fmt_end = "d"+1; ~~~^~ efuns.c:3584:28: note: use array indexing to silence this warning info->fmt_end = "d"+1; ^ & [ ] efuns.c:6699:19: warning: variable 'old' set but not used [-Wunused-but-set-variable] struct_t *old; ^ efuns.c:6714:20: warning: variable 'old' set but not used [-Wunused-but-set-variable] mapping_t *old; ^ 18 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c files.c -o files.o In file included from files.c:58: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c gcollect.c -o gcollect.o In file included from gcollect.c:107: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from gcollect.c:113: In file included from ./prolang.h:7: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ gcollect.c:634:22: warning: variable 'numValues' set but not used [-Wunused-but-set-variable] unsigned long numValues = 0; ^ gcollect.c:633:22: warning: variable 'didSwap' set but not used [-Wunused-but-set-variable] Bool didSwap = MY_FALSE; ^ gcollect.c:716:22: warning: variable 'numValues' set but not used [-Wunused-but-set-variable] unsigned long numValues = 0; ^ gcollect.c:2334:19: warning: variable 'res' set but not used [-Wunused-but-set-variable] svalue_t *res = NULL; ^ 17 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c heartbeat.c -o heartbeat.o In file included from heartbeat.c:48: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from heartbeat.c:51: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c interpret.c -o interpret.o In file included from interpret.c:220: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from interpret.c:227: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ interpret.c:1026:24: warning: format specifies type 'short' but the argument has type 'ph_int' (aka 'int') [-Wformat] , v->type, v->x.generic); ^~~~~~~~~~~~ interpret.c:1052:24: warning: format specifies type 'short' but the argument has type 'ph_int' (aka 'int') [-Wformat] , v->type, v->x.generic); ^~~~~~~~~~~~ interpret.c:6757:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ interpret.c:6757:17: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", interpret.c:15372:13: warning: variable 'vars_required' set but not used [-Wunused-but-set-variable] int vars_required; ^ 17 warnings generated. ./mk-patchlevel.sh rm -f lang.y ./mkfunc lang byacc -d -v lang.y mv y.tab.c lang.c mv y.tab.h lang.h cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c lex.c -o lex.o In file included from lex.c:44: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from lex.c:53: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ lex.c:2171:22: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] if (p - outp ? p[-1] != '\n' : current_loc.line == 1) ~~~~~~~~ ^ lex.c:2171:22: note: place parentheses around the '-' expression to silence this warning if (p - outp ? p[-1] != '\n' : current_loc.line == 1) ^ ( ) lex.c:2171:22: note: place parentheses around the '?:' expression to evaluate it first if (p - outp ? p[-1] != '\n' : current_loc.line == 1) ^ ( ) lex.c:4047:18: warning: implicit conversion from 'int' to 'short' changes value from 61440 to -4096 [-Wconstant-conversion] ix = CLOSURE_EFUN_OFFS; ~ ^~~~~~~~~~~~~~~~~ ./svalue.h:248:47: note: expanded from macro 'CLOSURE_EFUN_OFFS' #define CLOSURE_EFUN_OFFS (CLOSURE_EFUN & 0xffff) ~~~~~~~~~~~~~^~~~~~~~ lex.c:7211:34: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] case UPLUS : value = value; break; ~~~~~ ^ ~~~~~ 16 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c main.c -o main.o In file included from main.c:61: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from main.c:69: In file included from ./simul_efun.h:6: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c mapping.c -o mapping.o In file included from mapping.c:230: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from mapping.c:234: In file included from ./structs.h:10: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c md5.c -o md5.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c mempools.c -o mempools.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c mregex.c -o mregex.o In file included from mregex.c:45: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c mstrings.c -o mstrings.o In file included from mstrings.c:70: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ mstrings.c:1076:12: warning: variable 'left' set but not used [-Wunused-but-set-variable] size_t left; ^ 2 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c object.c -o object.o In file included from object.c:181: In file included from ./instrs.h:13: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from object.c:186: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ object.c:866:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] if (l->function.code[1] && arg != H_RESET) ^ ~ ./closure.h:73:9: note: array 'code' declared here bytecode_t code[1]; ^ object.c:6343:64: warning: format specifies type 'short' but the argument has type 'ph_int' (aka 'int') [-Wformat] (void)snprintf(source, sizeof(number_buffer), "#%hd:", v->x.quotes); ~~~ ^~~~~~~~~~~ %d object.c:9149:13: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ 16 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c otable.c -o otable.o In file included from otable.c:39: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c parser.c -o parser.o In file included from parser.c:21: In file included from lang.y:98: In file included from ./prolang.h:7: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from parser.c:21: In file included from lang.y:110: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from parser.c:21: lang.y:3926:43: warning: result of comparison of constant 2 with expression of type 'Bool' (aka 'bool') is always false [-Wtautological-constant-out-of-range-compare] , pragma_strict_types == PRAGMA_STRICT_TYPES ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ prolang.y:15218:16: warning: variable 'last' set but not used [-Wunused-but-set-variable] funflag_t *last; ^ prolang.y:16760:22: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if ( !(functions->flags & (NAME_UNDEFINED|NAME_INHERITED)) == ^ ~~ prolang.y:16760:22: note: add parentheses after the '!' to evaluate the comparison first if ( !(functions->flags & (NAME_UNDEFINED|NAME_INHERITED)) == ^ ( prolang.y:16760:22: note: add parentheses around left hand side expression to silence this warning if ( !(functions->flags & (NAME_UNDEFINED|NAME_INHERITED)) == ^ ( ) prolang.y:16760:76: warning: result of comparison of constant 'NAME_UNDEFINED' (32768) with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if ( !(functions->flags & (NAME_UNDEFINED|NAME_INHERITED)) == ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ prolang.y:13024:31: warning: variable 'funp' set but not used [-Wunused-but-set-variable] function_t *funp; ^ prolang.y:14003:18: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (!BASIC_TYPE(yystack.l_mark[0].index.type1, Type_Number)) ^ prolang.y:13982:15: note: previous statement is here if ( !(type.typeflags & TYPE_MOD_POINTER) ) ^ 19 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c parse.c -o parse.o In file included from parse.c:184: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-alists.c -o pkg-alists.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-iksemel.c -o pkg-iksemel.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-xml2.c -o pkg-xml2.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-idna.c -o pkg-idna.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-mccp.c -o pkg-mccp.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-mysql.c -o pkg-mysql.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pcre/dftables.c -o dftables.o cc -O2 -g -Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector-strong dftables.o -o dftables ./dftables pcre/chartables.c cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-pcre.c -o pkg-pcre.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-gcrypt.c -o pkg-gcrypt.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-pgsql.c -o pkg-pgsql.o In file included from pkg-pgsql.c:93: In file included from ./instrs.h:13: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from pkg-pgsql.c:97: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ pkg-pgsql.c:1171:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PQescapeString( (unsigned char *)get_txt(escaped) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/libpq-fe.h:584:36: note: passing argument to parameter 'to' here extern size_t PQescapeString(char *to, const char *from, size_t length); ^ pkg-pgsql.c:1172:21: warning: passing 'unsigned char *' 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] , (unsigned char *)get_txt(sp->u.str), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/libpq-fe.h:584:52: note: passing argument to parameter 'from' here extern size_t PQescapeString(char *to, const char *from, size_t length); ^ 15 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-sqlite.c -o pkg-sqlite.o In file included from pkg-sqlite.c:24: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-tls.c -o pkg-tls.o In file included from pkg-tls.c:20: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ pkg-tls.c:247:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ pkg-tls.c:247:21: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", pkg-tls.c:362:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] add_message(message_flush); ^~~~~~~~~~~~~ pkg-tls.c:362:21: note: treat the string as an argument to avoid this add_message(message_flush); ^ "%s", 3 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-openssl.c -o pkg-openssl.o In file included from pkg-openssl.c:36: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ pkg-openssl.c:134:17: warning: 'DSA_generate_parameters' is deprecated [-Wdeprecated-declarations] dsaparams = DSA_generate_parameters(1024, seedbuf, 20, NULL, NULL, 0, NULL); ^ /usr/local/include/openssl/dsa.h:158:1: note: 'DSA_generate_parameters' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_0_9_8 ^ /usr/local/include/openssl/macros.h:248:49: note: expanded from macro 'OSSL_DEPRECATEDIN_0_9_8' # define OSSL_DEPRECATEDIN_0_9_8 OSSL_DEPRECATED(0.9.8) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:139:16: warning: 'DSA_dup_DH' is deprecated [-Wdeprecated-declarations] dhparams = DSA_dup_DH(dsaparams); ^ /usr/local/include/openssl/dsa.h:198:1: note: 'DSA_dup_DH' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:140:5: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] DSA_free(dsaparams); ^ /usr/local/include/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:197:9: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] RAND_pseudo_bytes(&rbyte, 1); ^ /usr/local/include/openssl/rand.h:79:1: note: 'RAND_pseudo_bytes' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:363:30: warning: incompatible function pointer types passing 'void *(size_t)' (aka 'void *(unsigned long)') to parameter of type 'CRYPTO_malloc_fn' (aka 'void *(*)(unsigned long, const char *, int)') [-Wincompatible-function-pointer-types] CRYPTO_set_mem_functions(openssl_malloc, openssl_realloc, openssl_free); ^~~~~~~~~~~~~~ /usr/local/include/openssl/crypto.h:337:47: note: passing argument to parameter 'malloc_fn' here int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn, ^ pkg-openssl.c:363:46: warning: incompatible function pointer types passing 'void *(void *, size_t)' (aka 'void *(void *, unsigned long)') to parameter of type 'CRYPTO_realloc_fn' (aka 'void *(*)(void *, unsigned long, const char *, int)') [-Wincompatible-function-pointer-types] CRYPTO_set_mem_functions(openssl_malloc, openssl_realloc, openssl_free); ^~~~~~~~~~~~~~~ /usr/local/include/openssl/crypto.h:338:48: note: passing argument to parameter 'realloc_fn' here CRYPTO_realloc_fn realloc_fn, ^ pkg-openssl.c:363:63: warning: incompatible function pointer types passing 'void (void *)' to parameter of type 'CRYPTO_free_fn' (aka 'void (*)(void *, const char *, int)') [-Wincompatible-function-pointer-types] CRYPTO_set_mem_functions(openssl_malloc, openssl_realloc, openssl_free); ^~~~~~~~~~~~ /usr/local/include/openssl/crypto.h:339:45: note: passing argument to parameter 'free_fn' here CRYPTO_free_fn free_fn); ^ pkg-openssl.c:366:5: warning: 'ERR_load_BIO_strings' is deprecated [-Wdeprecated-declarations] ERR_load_BIO_strings(); ^ /usr/local/include/openssl/cryptoerr_legacy.h:31:1: note: 'ERR_load_BIO_strings' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:490:13: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dhe1024); ^ /usr/local/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:514:9: warning: 'DH_free' is deprecated [-Wdeprecated-declarations] DH_free(dhe1024); ^ /usr/local/include/openssl/dh.h:204:1: note: 'DH_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:778:35: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] , (char *)ASN1_STRING_data(X509_NAME_ENTRY_get_data(entry))); ^ /usr/local/include/openssl/asn1.h:680:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:835:46: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] , (char*)ASN1_STRING_data(value)); ^ /usr/local/include/openssl/asn1.h:680:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:842:46: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] , (char*)ASN1_STRING_data(value)); ^ /usr/local/include/openssl/asn1.h:680:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:850:46: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] , (char*)ASN1_STRING_data(value)); ^ /usr/local/include/openssl/asn1.h:680:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:857:46: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] , (char*)ASN1_STRING_data(value)); ^ /usr/local/include/openssl/asn1.h:680:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:1060:25: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] HMAC_CTX *ctx = HMAC_CTX_new(); ^ /usr/local/include/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:1062:9: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, keylen, md); ^ /usr/local/include/openssl/hmac.h:38:1: note: 'HMAC_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, ^ /usr/local/include/openssl/macros.h:204:49: note: expanded from macro 'OSSL_DEPRECATEDIN_1_1_0' # define OSSL_DEPRECATEDIN_1_1_0 OSSL_DEPRECATED(1.1.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:1063:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] HMAC_Update(ctx, msg, msglen); ^ /usr/local/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:1064:9: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] HMAC_Final(ctx, dest, NULL); ^ /usr/local/include/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ pkg-openssl.c:1065:9: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] HMAC_CTX_free(ctx); ^ /usr/local/include/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 21 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c pkg-gnutls.c -o pkg-gnutls.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c ptmalloc.c -o ptmalloc.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c port.c -o port.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c ptrtable.c -o ptrtable.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -fno-strict-aliasing -c random.c -o random.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c regexp.c -o regexp.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c sha1.c -o sha1.o cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c simulate.c -o simulate.o In file included from simulate.c:51: In file included from ./mregex.h:6: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from simulate.c:61: In file included from ./prolang.h:7: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ simulate.c:587:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *((char*)0) = 0/a; ^~~~~~~~~~~ simulate.c:587:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' 14 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c simul_efun.c -o simul_efun.o In file included from simul_efun.c:36: In file included from ./simul_efun.h:6: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from simul_efun.c:43: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ simul_efun.c:348:36: warning: variable 'num_locals' set but not used [-Wunused-but-set-variable] unsigned char num_arg, num_locals; ^ 14 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c stdstrings.c -o stdstrings.o In file included from stdstrings.c:14: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c strfuns.c -o strfuns.o In file included from strfuns.c:50: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c structs.c -o structs.o In file included from structs.c:128: In file included from ./structs.h:10: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from structs.c:138: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c sprintf.c -o sprintf.o In file included from sprintf.c:85: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from sprintf.c:91: In file included from ./simul_efun.h:6: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c swap.c -o swap.o In file included from swap.c:94: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ In file included from swap.c:97: In file included from ./prolang.h:7: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ 13 warnings generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c wiz_list.c -o wiz_list.o In file included from wiz_list.c:110: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ 1 warning generated. cc -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fwrapv -I/usr/inet6/include -I/usr/local/include -fwrapv -Wall -Wparentheses -Wshadow -Wstrict-overflow=2 -DMUD_LIB='"/usr/local/share/ldmud"' -DBINDIR='"/usr/local/sbin"' -DERQ_DIR='"/usr/local/libexec"' -c xalloc.c -o xalloc.o In file included from xalloc.c:27: ./exec.h:562:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:564:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_NAMEP(const fun_hdr_p const p) ^ ./exec.h:568:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:570:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE void * FUNCTION_TYPEP(const fun_hdr_p const p) ^ ./exec.h:574:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:576:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_ARGS(const fun_hdr_p const p) ^ ./exec.h:580:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:582:53: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE int FUNCTION_NUM_VARS(const fun_hdr_p const p) ^ ./exec.h:586:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:588:56: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_CODE(const fun_hdr_p const p) ^ ./exec.h:592:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ ./exec.h:594:61: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static INLINE bytecode_p FUNCTION_FROM_CODE(const fun_hdr_p const p) ^ In file included from xalloc.c:29: ./mstrings.h:214:9: warning: comparison of nonnull parameter 's' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] if (s != NULL) ^ ~~~~ ./mstrings.h:207:67: note: declared 'nonnull' here static INLINE void free_mstring(string_t *const s) __attribute__((nonnull(1))); ^ xalloc.c:1634:44: warning: implicit conversion from enumeration type 'enum low_memory_conditions' to different enumeration type 'enum memory_limit_types' [-Wenum-conversion] notify_lowmemory_condition(SOFT_MALLOC_LIMIT_EXCEEDED); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ xalloc.c:51:20: warning: unused function 'count' [-Wunused-function] static inline void count(t_stat *a, unsigned long b) { ^ 15 warnings generated. cc -O2 -g -Wl,-rpath,/usr/local/lib -L/usr/local/lib -fstack-protector-strong access_check.o actions.o array.o arraylist.o backend.o bitstrings.o call_out.o closure.o comm.o dumpstat.o ed.o efuns.o files.o gcollect.o hash.o heartbeat.o interpret.o lex.o main.o mapping.o md5.o mempools.o mregex.o mstrings.o object.o otable.o parser.o parse.o pkg-alists.o pkg-iksemel.o pkg-xml2.o pkg-idna.o pkg-mccp.o pkg-mysql.o pkg-pcre.o pkg-gcrypt.o pkg-pgsql.o pkg-sqlite.o pkg-tls.o pkg-openssl.o pkg-gnutls.o ptmalloc.o port.o ptrtable.o random.o regexp.o sha1.o simulate.o simul_efun.o stdstrings.o strfuns.o structs.o sprintf.o swap.o wiz_list.o xalloc.o -o ldmud -lm -lcrypt -lcrypto -lpcre -L/lib -lpq -lssl -L/usr/local/lib -lsqlite3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ldmud-3.3.720_7,1 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ldmud-3.3.720_7,1 ===> Generating temporary packing list ===> Creating groups. ===> Creating users make: "/wrkdirs/usr/ports/games/ldmud/work/ldmud-3.3.720/src/Makefile" line 245: warning: Extra target ignored ./mk-patchlevel.sh help2man --name=ldmud -N --help-option=--longhelp --include=ldmud-man.txt --output=../doc/man/ldmud.1 ./ldmud /bin/sh ./mkinstalldirs /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/sbin /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/share/man/man1 /usr/bin/install -c -c ldmud /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/sbin/ldmud /usr/bin/install -c -c ../doc/man/ldmud.1 /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/share/man/man1/ldmud.1 To install header files, use 'make install-headers'. To install utility programs (incl. erq), use 'make install-utils'. To install everything in one go, use 'make install-all'. cd /wrkdirs/usr/ports/games/ldmud/work/ldmud-3.3.720/doc && /usr/bin/find . | /usr/bin/cpio -pdmu /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/share/doc/ldmud 2982 blocks cd /wrkdirs/usr/ports/games/ldmud/work/ldmud-3.3.720/mud/lp-245 && /usr/bin/find . | /usr/bin/cpio -pdmu /wrkdirs/usr/ports/games/ldmud/work/stage/usr/local/share/ldmud 1475 blocks ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== 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-01T04:13:35+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1d57658378' '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 ldmud-3.3.720_7,1 ===> Building ldmud-3.3.720_7,1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ldmud-3.3.720_7,1 build of games/ldmud | ldmud-3.3.720_7,1 ended at Mon Apr 1 05:44:49 BST 2024 build time: 00:31:15