=>> Building japanese/sj3-lib build started at Tue Jan 20 11:41:05 EST 2026 port directory: /usr/ports/japanese/sj3-lib package name: ja-sj3-lib-2.0.1.20_8 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 803 Aug 27 2024 /usr/ports/japanese/sj3-lib/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 8d9b67bc44ee Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/sj3-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-lib/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-lib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/sj3-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-lib/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sj3" EXAMPLESDIR="share/examples/sj3" DATADIR="share/sj3" WWWDIR="www/sj3" ETCDIR="etc/sj3" --End PLIST_SUB-- --SUB_LIST-- DESTDIR= PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sj3 DOCSDIR=/usr/local/share/doc/sj3 EXAMPLESDIR=/usr/local/share/examples/sj3 WWWDIR=/usr/local/www/sj3 ETCDIR=/usr/local/etc/sj3 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building => SHA256 Checksum OK for sj3-2.0.1.20.tar.gz. => SHA256 Checksum OK for sj3-qq-2.0.1.21.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building ===> Extracting for ja-sj3-lib-2.0.1.20_8 ===> Fetching all distfiles required by ja-sj3-lib-2.0.1.20_8 for building => SHA256 Checksum OK for sj3-2.0.1.20.tar.gz. => SHA256 Checksum OK for sj3-qq-2.0.1.21.diff.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 ja-sj3-lib-2.0.1.20_8 ===> Applying distribution patches for ja-sj3-lib-2.0.1.20_8 ===> Applying FreeBSD patches for ja-sj3-lib-2.0.1.20_8 from /usr/ports/japanese/sj3-lib/files cd /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3-2.0.1.20 && /bin/cat /usr/ports/japanese/sj3-lib/files/post-patch-Imakefile /usr/ports/japanese/sj3-lib/files/post-patch-include-Const.h | /usr/bin/patch cat: /usr/ports/japanese/sj3-lib/files/post-patch-include-Const.h: No such file or directory Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig 2008-09-07 16:20:03.000000000 +0900 |+++ Imakefile 2008-09-07 16:20:51.000000000 +0900 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 42. Hunk #2 succeeded at 62. done =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-lib-2.0.1.20_8 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> ja-sj3-lib-2.0.1.20_8 depends on executable: imake - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 ===> ja-sj3-lib-2.0.1.20_8 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> ja-sj3-lib-2.0.1.20_8 depends on executable: tradcpp - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ja-sj3-lib-2.0.1.20_8 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-sj3-lib-2.0.1.20_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-sj3-lib-2.0.1.20_8 install -m 0644 /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3_freebsd.tmpl /wrkdirs/usr/ports/japanese/sj3-lib/work/sj3-2.0.1.20/sj3_freebsd.tmpl imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in sjcompat... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in sj3lib... In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:118:11: Warning: value of undefined symbol LargePICTable is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:407:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:444:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:455:12: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:461:12: Warning: value of undefined symbol LibBuild is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:465:12: Warning: value of undefined symbol LibCreate is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:476:14: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:504:14: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:528:13: Warning: value of undefined symbol LibInstall is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:65:2: /usr/local/lib/X11/config/Library.tmpl:566:14: Warning: value of undefined symbol LibHeaders is 0 make includes cp include/Paths.h.in include/Paths.h chmod +w include/Paths.h (echo "#define SocketName \"/var/run/sj3/socket\""; echo "#define LockFile \"/var/run/sj3/lock\""; echo ""; echo "#define RunCmdFile \"/usr/local/etc/sj3/serverrc\""; echo "#define DictRootDir \"/usr/local/lib/sh3/dict\""; echo ""; echo "#define DEFRKFILE \"/usr/local/etc/sj3/sjrk\""; echo "#define DEFRCFILE \"/usr/local/etc/sj3/sjrc\""; echo "#define DEFKEYFILE \"/usr/local/etc/sj3/cvtkey.\"") >> include/Paths.h including in ./sjcompat... including in ./sj3lib... + mkdir unshared + mkdir -p ../exports/include + cd ../exports/include make depend depending in ./sjcompat... rm -f .depend gccmakedep -f- -- -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- bsd-snprintf.c strlcat.c strlcpy.c > .depend depending in ./sj3lib... rm -f .depend gccmakedep -f- -- -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- level1.c sj.c string.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-sj3-lib-2.0.1.20_8 --- includes --- --- all --- --- includes --- --- includes --- including in ./sjcompat... --- all --- making all in ./sjcompat... --- includes --- cp include/Paths.h.in include/Paths.h chmod +w include/Paths.h --- includes --- including in ./sj3lib... --- all --- --- bsd-snprintf.o --- --- strlcat.o --- --- strlcpy.o --- --- bsd-snprintf.o --- rm -f bsd-snprintf.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY bsd-snprintf.c --- strlcat.o --- rm -f strlcat.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY strlcat.c --- strlcpy.o --- rm -f strlcpy.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY strlcpy.c --- includes --- (echo "#define SocketName \"/var/run/sj3/socket\""; echo "#define LockFile \"/var/run/sj3/lock\""; echo ""; echo "#define RunCmdFile \"/usr/local/etc/sj3/serverrc\""; echo "#define DictRootDir \"/usr/local/lib/sh3/dict\""; echo ""; echo "#define DEFRKFILE \"/usr/local/etc/sj3/sjrk\""; echo "#define DEFRCFILE \"/usr/local/etc/sj3/sjrc\""; echo "#define DEFKEYFILE \"/usr/local/etc/sj3/cvtkey.\"") >> include/Paths.h --- includes --- --- includes --- --- includes --- --- includes --- --- includes --- + cd ../exports/include --- all --- --- libsjcompat.a --- rm -f libsjcompat.a ar cq libsjcompat.a bsd-snprintf.o strlcat.o strlcpy.o ranlib libsjcompat.a making all in ./sj3lib... --- all --- --- all --- --- level1.o --- --- sj.o --- --- string.o --- --- sj.o --- rm -f sj.o unshared/sj.o --- level1.o --- rm -f level1.o unshared/level1.o --- sj.o --- cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY sj.c -o unshared/sj.o --- string.o --- rm -f string.o unshared/string.o --- level1.o --- cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY level1.c -o unshared/level1.o --- string.o --- cc -c -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY string.c -o unshared/string.o --- level1.o --- level1.c:184:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | (*func[i])(data[i], len[i]); | ^ level1.c:188:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | data[i] = (*func[i])(data[i], (len[i] < buflen) ? len[i] : buflen); | ^ level1.c:320:1: warning: non-void function does not return a value [-Wreturn-type] 320 | } | ^ level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ^ | ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ^ | == level1.c:504:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | put_string(host, hostlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:505:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | put_string(user, userlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:506:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | put_string(prog, proglen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:509:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:509:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:510:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) | ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 168 | u_char *(*func3)(), u_char *str3, int len3, | ^ level1.c:519:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | put_string(host, hostlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:520:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | put_string(user, userlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:521:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | put_string(prog, proglen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:524:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:524:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:525:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 525 | userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) | ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 168 | u_char *(*func3)(), u_char *str3, int len3, | ^ level1.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 528 | if (tmp = get_int()) { | ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning 528 | if (tmp = get_int()) { | ^ | ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison 528 | if (tmp = get_int()) { | ^ | == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 548 | if (tmp = get_int()) { | ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning 548 | if (tmp = get_int()) { | ^ | ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison 548 | if (tmp = get_int()) { | ^ | == level1.c:595:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 595 | put_string(dictname, dictlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:596:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | put_string(password, passlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:599:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 599 | if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, | ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:600:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 600 | password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) | ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:604:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if (sj3_error_number = get_int()) return 0; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning 604 | if (sj3_error_number = get_int()) return 0; | ^ | ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison 604 | if (sj3_error_number = get_int()) return 0; | ^ | == level1.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 617 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning 617 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison 617 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:637:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 637 | put_string(stdyname, stdylen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:638:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 638 | put_string(password, passlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:641:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 641 | if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, | ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:642:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 642 | password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) | ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:646:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 646 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning 646 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison 646 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:657:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 657 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning 657 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison 657 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:671:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning 671 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison 671 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:686:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning 686 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison 686 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:697:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 697 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning 697 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison 697 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:718:25: warning: passing 'u_char *' (aka '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] 718 | srclen = strlen(src) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning 733 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison 733 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:741:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 741 | while (c = get_byte()) { | ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning 741 | while (c = get_byte()) { | ^ | ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison 741 | while (c = get_byte()) { | ^ | == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 750 | while (c = get_byte()) { | ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning 750 | while (c = get_byte()) { | ^ | ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison 750 | while (c = get_byte()) { | ^ | == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 800 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning 800 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison 800 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:820:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 820 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning 820 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison 820 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:840:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 840 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning 840 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison 840 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:873:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning 873 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison 873 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:902:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 902 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning 902 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison 902 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:907:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | douon -> dlen = strlen(douon -> ddata); | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 936 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning 936 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison 936 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:947:27: warning: passing 'u_char *' (aka '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] 947 | yomilen1 = strlen(yomi1) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:948:27: warning: passing 'u_char *' (aka '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] 948 | yomilen2 = strlen(yomi2) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 967 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning 967 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison 967 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:981:26: warning: passing 'u_char *' (aka '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] 981 | yomilen = strlen(yomi) + 1; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:982:27: warning: passing 'u_char *' (aka '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] 982 | kanjilen = strlen(kanji) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1001 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning 1001 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison 1001 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1012:26: warning: passing 'u_char *' (aka '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] 1012 | yomilen = strlen(yomi) + 1; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1013:27: warning: passing 'u_char *' (aka '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] 1013 | kanjilen = strlen(kanji) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1032 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning 1032 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison 1032 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1052:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning 1052 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison 1052 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1073:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1073 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning 1073 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison 1073 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1094:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1094 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning 1094 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison 1094 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1117:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1117 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1123:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1123 | if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1129:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1129 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning 1129 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison 1129 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1148:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1148 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1154:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1154 | if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1160:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning 1160 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison 1160 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1178:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1178 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1181:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1181 | if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1187:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1187 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning 1187 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison 1187 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1207:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1211:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1211 | if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1242:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1242 | get_nstring(ret -> hostname, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1243:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1243 | get_nstring(ret -> username, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1244:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | get_nstring(ret -> progname, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1268 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning 1268 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison 1268 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1279:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1279 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning 1279 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison 1279 | if (sj3_error_number = get_int()) return ERROR; | ^ | == 72 warnings generated. rm -f level1.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC level1.c --- sj.o --- sj.c:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | static make_dirs(path) | ~~~~~~ ^ | int sj.c:98:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] sj.c:374:20: warning: passing 'u_char *' (aka '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] 374 | if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ --- string.o --- rm -f string.o --- sj.o --- sj.c:394:28: warning: passing 'u_char *' (aka '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] 394 | bun -> destlen = strlen(src); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:408:26: warning: passing 'u_char *' (aka '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] 408 | bun -> srclen = strlen(yomi); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:429:20: warning: passing 'u_char *' (aka '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] 429 | if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:432:53: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:466:28: warning: passing 'u_char *' (aka '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] 466 | bun -> destlen = strlen(src); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:480:26: warning: passing 'u_char *' (aka '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] 480 | bun -> srclen = strlen(yp); | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:493:44: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 493 | len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:529:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 529 | sj3_douoncnt(u_char *yomi) | ^ | int sj.c:533:18: warning: passing 'u_char *' (aka '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] 533 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:553:18: warning: passing 'u_char *' (aka '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] 553 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:557:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 557 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:598:18: warning: passing 'u_char *' (aka '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] 598 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:616:18: warning: passing 'u_char *' (aka '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] 616 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:620:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 620 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:633:22: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 633 | dou[j].ddata, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:696:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 696 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:699:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 699 | l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:764:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 764 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:767:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:841:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 841 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:844:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 844 | l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:911:17: warning: passing 'u_char *' (aka '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] 911 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:912:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:916:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 916 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:919:18: warning: passing 'u_char *' (aka '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] 919 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:974:17: warning: passing 'u_char *' (aka '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] 974 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:975:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 975 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:979:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 979 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:982:18: warning: passing 'u_char *' (aka '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] 982 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:1037:17: warning: passing 'u_char *' (aka '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] 1037 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:1038:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1038 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:1042:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1042 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:1045:18: warning: passing 'u_char *' (aka '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] 1045 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 36 warnings generated. rm -f sj.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC sj.c --- string.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -I../include -I../sj3h -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -fPIC string.c --- sj.o --- sj.c:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | static make_dirs(path) | ~~~~~~ ^ | int sj.c:98:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] sj.c:374:20: warning: passing 'u_char *' (aka '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] 374 | if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:394:28: warning: passing 'u_char *' (aka '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] 394 | bun -> destlen = strlen(src); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:408:26: warning: passing 'u_char *' (aka '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] 408 | bun -> srclen = strlen(yomi); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:429:20: warning: passing 'u_char *' (aka '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] 429 | if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:432:53: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:466:28: warning: passing 'u_char *' (aka '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] 466 | bun -> destlen = strlen(src); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:480:26: warning: passing 'u_char *' (aka '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] 480 | bun -> srclen = strlen(yp); | ^~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:493:44: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 493 | len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:529:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 529 | sj3_douoncnt(u_char *yomi) | ^ | int sj.c:533:18: warning: passing 'u_char *' (aka '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] 533 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:553:18: warning: passing 'u_char *' (aka '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] 553 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:557:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 557 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:598:18: warning: passing 'u_char *' (aka '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] 598 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:616:18: warning: passing 'u_char *' (aka '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] 616 | if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:620:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 620 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:633:22: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 633 | dou[j].ddata, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:696:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 696 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:699:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 699 | l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:764:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 764 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:767:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:841:51: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 841 | l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:844:52: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 844 | l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 247 | int sj3_str_euctosjis(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:911:17: warning: passing 'u_char *' (aka '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] 911 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:912:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 912 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:916:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 916 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:919:18: warning: passing 'u_char *' (aka '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] 919 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:974:17: warning: passing 'u_char *' (aka '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] 974 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:975:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 975 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:979:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 979 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:982:18: warning: passing 'u_char *' (aka '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] 982 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:1037:17: warning: passing 'u_char *' (aka '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] 1037 | slen = strlen(buf) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sj.c:1038:50: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1038 | l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:1042:7: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1042 | client.default_char, &defuse); | ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 246 | int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); | ^ sj.c:1045:18: warning: passing 'u_char *' (aka '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] 1045 | slen += strlen(&(buf[slen])) + 1; | ^~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 36 warnings generated. --- level1.o --- level1.c:184:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | (*func[i])(data[i], len[i]); | ^ level1.c:188:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | data[i] = (*func[i])(data[i], (len[i] < buflen) ? len[i] : buflen); | ^ level1.c:320:1: warning: non-void function does not return a value [-Wreturn-type] 320 | } | ^ level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ^ | ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison 400 | if (sp = getservbyname(sj3_port_name, "tcp")) | ^ | == level1.c:504:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | put_string(host, hostlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:505:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | put_string(user, userlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:506:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 506 | put_string(prog, proglen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:509:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:509:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:510:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 510 | userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) | ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 168 | u_char *(*func3)(), u_char *str3, int len3, | ^ level1.c:519:15: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 519 | put_string(host, hostlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:520:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | put_string(user, userlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:521:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | put_string(prog, proglen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:524:40: warning: passing 'char[256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:524:67: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 524 | if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, | ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:525:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 525 | userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) | ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 168 | u_char *(*func3)(), u_char *str3, int len3, | ^ level1.c:528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 528 | if (tmp = get_int()) { | ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning 528 | if (tmp = get_int()) { | ^ | ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison 528 | if (tmp = get_int()) { | ^ | == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 548 | if (tmp = get_int()) { | ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning 548 | if (tmp = get_int()) { | ^ | ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison 548 | if (tmp = get_int()) { | ^ | == level1.c:595:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 595 | put_string(dictname, dictlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:596:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | put_string(password, passlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:599:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 599 | if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, | ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:600:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 600 | password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) | ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:604:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 604 | if (sj3_error_number = get_int()) return 0; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning 604 | if (sj3_error_number = get_int()) return 0; | ^ | ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison 604 | if (sj3_error_number = get_int()) return 0; | ^ | == level1.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 617 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning 617 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison 617 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:637:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 637 | put_string(stdyname, stdylen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:638:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 638 | put_string(password, passlen); | ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:641:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 641 | if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, | ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:642:10: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 642 | password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) | ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 167 | u_char *(*func2)(), u_char *str2, int len2, | ^ level1.c:646:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 646 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning 646 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison 646 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:657:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 657 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning 657 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison 657 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:671:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning 671 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison 671 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:686:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning 686 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison 686 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:697:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 697 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning 697 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison 697 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:718:25: warning: passing 'u_char *' (aka '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] 718 | srclen = strlen(src) + 1; | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 733 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning 733 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison 733 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:741:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 741 | while (c = get_byte()) { | ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning 741 | while (c = get_byte()) { | ^ | ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison 741 | while (c = get_byte()) { | ^ | == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 750 | while (c = get_byte()) { | ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning 750 | while (c = get_byte()) { | ^ | ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison 750 | while (c = get_byte()) { | ^ | == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 800 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning 800 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison 800 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:820:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 820 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning 820 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison 820 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:840:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 840 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning 840 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison 840 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:873:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 873 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning 873 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison 873 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:902:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 902 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning 902 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison 902 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:907:26: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 907 | douon -> dlen = strlen(douon -> ddata); | ^~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 936 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning 936 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison 936 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:947:27: warning: passing 'u_char *' (aka '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] 947 | yomilen1 = strlen(yomi1) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:948:27: warning: passing 'u_char *' (aka '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] 948 | yomilen2 = strlen(yomi2) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 967 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning 967 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison 967 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:981:26: warning: passing 'u_char *' (aka '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] 981 | yomilen = strlen(yomi) + 1; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:982:27: warning: passing 'u_char *' (aka '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] 982 | kanjilen = strlen(kanji) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1001 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning 1001 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison 1001 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1012:26: warning: passing 'u_char *' (aka '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] 1012 | yomilen = strlen(yomi) + 1; | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1013:27: warning: passing 'u_char *' (aka '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] 1013 | kanjilen = strlen(kanji) + 1; | ^~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1032 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning 1032 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison 1032 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1052:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1052 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning 1052 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison 1052 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1073:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1073 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning 1073 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison 1073 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1094:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1094 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning 1094 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison 1094 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1117:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1117 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1123:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1123 | if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1129:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1129 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning 1129 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison 1129 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1148:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1148 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1154:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1154 | if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1160:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1160 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning 1160 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison 1160 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1178:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1178 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1181:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1181 | if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1187:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1187 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning 1187 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison 1187 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1207:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1207 | put_string(path, pathlen); | ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 158 | put_ndata(u_char *p, int n) | ^ level1.c:1211:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1211 | if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, | ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 166 | u_char *(*func1)(), u_char *str1, int len1, | ^ level1.c:1242:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1242 | get_nstring(ret -> hostname, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1243:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1243 | get_nstring(ret -> username, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1244:16: warning: passing 'char[128]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1244 | get_nstring(ret -> progname, SJ3_NAME_LENGTH); | ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 263 | get_nstring(u_char *p, int n) | ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1268 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning 1268 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison 1268 | if (sj3_error_number = get_int()) return ERROR; | ^ | == level1.c:1279:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1279 | if (sj3_error_number = get_int()) return ERROR; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning 1279 | if (sj3_error_number = get_int()) return ERROR; | ^ | ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison 1279 | if (sj3_error_number = get_int()) return ERROR; | ^ | == 72 warnings generated. --- libsj3lib.so.1.21 --- --- libsj3lib.a --- --- libsj3lib.so.1.21 --- rm -f libsj3lib.so.1.21~ --- libsj3lib.a --- rm -f libsj3lib.a + cd unshared + ar cq ../libsj3lib.a level1.o sj.o string.o ranlib libsj3lib.a --- libsj3lib.so.1.21 --- + cd . + cc -o './libsj3lib.so.1.21~' -shared -Wl,-rpath /usr/local/lib -Wl,-soname,libsj3lib.so.1 level1.o sj.o string.o -L../sjcompat -lsjcompat + rm -f libsj3lib.so.1 + ln -s libsj3lib.so.1.21 libsj3lib.so.1 rm -f libsj3lib.so.1.21 mv -f libsj3lib.so.1.21~ libsj3lib.so.1.21 + rm -f libsj3lib.so + ln -s libsj3lib.so.1.21 libsj3lib.so =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-sj3-lib-2.0.1.20_8 ===> Generating temporary packing list installing in ./sjcompat... install in sjcompat done installing in ./sj3lib... + /usr/bin/install -c -m 0755 libsj3lib.so.1 /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib + rm -f /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.so + ln -s libsj3lib.so.1 /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.so /usr/bin/install -c -m 0644 libsj3lib.a /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib ranlib /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/lib/libsj3lib.a + /usr/bin/install -c -m 0444 sj3lib.h /wrkdirs/usr/ports/japanese/sj3-lib/work/stage/usr/local/include install in sj3lib done ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-20T16:41:05+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=8d9b67bc44ee' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-sj3-lib-2.0.1.20_8 ===> Building ja-sj3-lib-2.0.1.20_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-sj3-lib-2.0.1.20_8 build of japanese/sj3-lib | ja-sj3-lib-2.0.1.20_8 ended at Tue Jan 20 11:42:19 EST 2026 build time: 00:01:23