=>> Building japanese/sj3-server build started at Mon Apr 1 14:58:10 BST 2024 port directory: /usr/ports/japanese/sj3-server package name: ja-sj3-server-2.0.1.20_10 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1902 Feb 8 11:33 /usr/ports/japanese/sj3-server/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: e427ab10bf Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ja-sj3-server-2.0.1.20_10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---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-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-server/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-server/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-server/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/sj3-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-server/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/sj3-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/sj3-server/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/sj3-server/work/.cache HOME=/wrkdirs/usr/ports/japanese/sj3-server/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/sj3-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/sj3-server/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 -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- USERS=_sj3 GROUPS=_sj3 PORTDOCS="" OSREL=13.2 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--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-server-2.0.1.20_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ja-sj3-server-2.0.1.20_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-sj3-server-2.0.1.20_10 =========================================================================== =================================================== ===== 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-server-2.0.1.20_10 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-sj3-server-2.0.1.20_10 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-server-2.0.1.20_10 for building ===> Extracting for ja-sj3-server-2.0.1.20_10 ===> Fetching all distfiles required by ja-sj3-server-2.0.1.20_10 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-server-2.0.1.20_10 ===> Applying distribution patches for ja-sj3-server-2.0.1.20_10 ===> Applying FreeBSD patches for ja-sj3-server-2.0.1.20_10 from /usr/ports/japanese/sj3-server/files cd /wrkdirs/usr/ports/japanese/sj3-server/work/sj3-2.0.1.20 && /bin/cat /usr/ports/japanese/sj3-server/files/post-patch-Imakefile /usr/ports/japanese/sj3-server/files/post-patch-sj3lib-Imakefile /usr/ports/japanese/sj3-server/files/post-patch-sj3-sj3.c /usr/ports/japanese/sj3-server/files/post-patch-dict-dict-Imakefile /usr/ports/japanese/sj3-server/files/post-patch-include-Const.h /usr/ports/japanese/sj3-server/files/post-patch-server-setup.c /usr/ports/japanese/sj3-server/files/post-patch-server-serverrc /usr/ports/japanese/sj3-server/files/post-patch-server-sj3serv.h /usr/ports/japanese/sj3-server/files/post-patch-server-comuni.c | /usr/bin/patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig 2014-04-06 04:49:25.000000000 +0900 |+++ Imakefile 2014-04-06 04:50:20.000000000 +0900 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 62. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sj3lib/Imakefile.orig 2014-04-06 04:51:07.000000000 +0900 |+++ sj3lib/Imakefile 2014-04-06 04:56:15.000000000 +0900 -------------------------- Patching file sj3lib/Imakefile using Plan A... Hunk #1 succeeded at 62. Hunk #2 succeeded at 74. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sj3/sj3.c.orig2 2013-05-04 16:52:58.000000000 +0900 |+++ sj3/sj3.c 2013-05-04 16:53:34.000000000 +0900 -------------------------- Patching file sj3/sj3.c using Plan A... Hunk #1 succeeded at 829. Hunk #2 succeeded at 865. Hunk #3 succeeded at 873. Hunk #4 succeeded at 1233. Hunk #5 succeeded at 1248. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dict/dict/Imakefile.orig 2014-04-06 04:46:53.000000000 +0900 |+++ dict/dict/Imakefile 2014-04-06 04:47:04.000000000 +0900 -------------------------- Patching file dict/dict/Imakefile using Plan A... Hunk #1 succeeded at 59. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/Const.h.orig 2008-10-26 23:35:29.000000000 +0900 |+++ include/Const.h 2008-10-26 23:35:44.000000000 +0900 -------------------------- Patching file include/Const.h using Plan A... Hunk #1 succeeded at 68. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- server/setup.c.orig 2008-10-26 23:37:54.000000000 +0900 |+++ server/setup.c 2008-10-26 23:38:10.000000000 +0900 -------------------------- Patching file server/setup.c using Plan A... Hunk #1 succeeded at 71. Hunk #2 succeeded at 233. Hunk #3 succeeded at 412. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- server/serverrc.orig 2008-10-27 00:08:48.000000000 +0900 |+++ server/serverrc 2008-10-27 00:10:49.000000000 +0900 -------------------------- Patching file server/serverrc using Plan A... Hunk #1 succeeded at 75. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- server/sj3serv.h.orig 2008-10-26 23:43:14.000000000 +0900 |+++ server/sj3serv.h 2008-10-26 23:43:29.000000000 +0900 -------------------------- Patching file server/sj3serv.h using Plan A... Hunk #1 succeeded at 126. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- server/comuni.c.orig 2008-10-27 00:11:36.000000000 +0900 |+++ server/comuni.c 2008-10-27 00:14:22.000000000 +0900 -------------------------- Patching file server/comuni.c using Plan A... Hunk #1 succeeded at 338. done /usr/bin/sed -i.bak 's|/man/|/share/man/|' /wrkdirs/usr/ports/japanese/sj3-server/work/sj3-2.0.1.20/doc/man/Imakefile =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-server-2.0.1.20_10 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] Extracting imake-1.0.10_1,1: .......... done ===> ja-sj3-server-2.0.1.20_10 depends on executable: imake - found ===> Returning to build of ja-sj3-server-2.0.1.20_10 ===> ja-sj3-server-2.0.1.20_10 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] Extracting tradcpp-0.5.3: .. done ===> ja-sj3-server-2.0.1.20_10 depends on executable: tradcpp - found ===> Returning to build of ja-sj3-server-2.0.1.20_10 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-sj3-server-2.0.1.20_10 depends on shared library: libsj3lib.so - not found ===> Installing existing package /packages/All/ja-sj3-lib-2.0.1.20_8.pkg [pkg-builder.dan.net.uk] Installing ja-sj3-lib-2.0.1.20_8... [pkg-builder.dan.net.uk] Extracting ja-sj3-lib-2.0.1.20_8: .... done ===> ja-sj3-server-2.0.1.20_10 depends on shared library: libsj3lib.so - found (/usr/local/lib/libsj3lib.so) ===> Returning to build of ja-sj3-server-2.0.1.20_10 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-sj3-server-2.0.1.20_10 install -m 0644 /wrkdirs/usr/ports/japanese/sj3-server/work/sj3_freebsd.tmpl /wrkdirs/usr/ports/japanese/sj3-server/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 dict... 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 dict/tool... 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 dict/dict... 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 doc... 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 doc/doc... 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 doc/man... 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 kanakan... 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 server... 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 sj3rkcv... 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:67: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:67: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:67: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:67: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:67: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:67:2: /usr/local/lib/X11/config/Library.tmpl:566:14: Warning: value of undefined symbol LibHeaders is 0 making Makefiles in sj3... 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 sj3dic... 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 sj3stat... 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 demo... 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 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/sj3/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 ./dict... including in dict/tool... including in dict/dict... including in ./doc... including in doc/doc... including in doc/man... including in ./kanakan... including in ./server... rm -f string.c ln -s ../sj3lib/string.c string.c including in ./sj3rkcv... including in ./sj3lib... + mkdir unshared + mkdir -p ../exports/include + cd ../exports/include including in ./sj3... including in ./sj3dic... including in ./sj3stat... including in ./demo... 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 ./dict... depending in dict/tool... rm -f .depend gccmakedep -f- -- -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- char.c cnvhinsi.c file.c global.c hindo.c knjcvt.c makedict.c makelist.c makeseg.c memory.c offset.c readline.c string.c > .depend depending in dict/dict... depending in ./doc... depending in doc/doc... depending in doc/man... depending in ./kanakan... rm -f .depend gccmakedep -f- -- -I../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- adddic.c addelcmn.c alloc.c charsize.c chrtbl.c cl2knj.c clstudy.c cmpstr.c conjunc.c connect.c cvtclknj.c cvtdict.c cvtkanji.c deldic.c dict.c functbl.c fuzoku.c fzkyomi.c getkanji.c getrank.c global.c hzstrlen.c init.c istrcmp.c memcpy.c memory.c mk2claus.c mkbunset.c mkjiritu.c mkkouho.c mknumber.c mvmemd.c mvmemi.c peepdic.c ph2knj.c ph_khtbl.c priority.c prtytbl.c s2ctbl.c sdepend.c selclrec.c selsuuji.c setconj.c setjrec.c setkouho.c setubi.c sj2code.c skiphblk.c skipkstr.c srchdict.c srchhead.c srchidx.c srchnum.c sstrcmp.c sstrlen.c sstrncmp.c stbtbl.c stttbl.c study.c suujitbl.c terminat.c termtbl.c wakachi.c > .depend depending in ./server... rm -f .depend gccmakedep -f- -- -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- comuni.c error.c execute.c main.c setup.c time_stamp.c version.c ../sj3lib/string.c > .depend depending in ./sj3rkcv... rm -f .depend gccmakedep -f- -- -I../include -I../sj3h -I../sj3lib -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- rk_conv.c sj3_rkcv.c wc16_str.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 depending in ./sj3... rm -f .depend gccmakedep -f- -- -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -- > .depend depending in ./sj3dic... rm -f .depend gccmakedep -f- -- -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- codecnv.c dictdisp.c dictmake.c hinsi.c sj3dic.c sj3err.c sjrc.c > .depend depending in ./sj3stat... rm -f .depend gccmakedep -f- -- -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -- sj3stat.c > .depend depending in ./demo... rm -f .depend gccmakedep -f- -- -I../sj3h -I../include -I../sj3lib -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DORG -DSJ3CONFDIR=\"/usr/local/etc/sj3\" -- > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-sj3-server-2.0.1.20_10 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/sj3/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 ./dict... including in dict/tool... including in dict/dict... including in ./doc... including in doc/doc... including in doc/man... including in ./kanakan... including in ./server... including in ./sj3rkcv... including in ./sj3lib... + cd ../exports/include including in ./sj3... including in ./sj3dic... including in ./sj3stat... including in ./demo... making all in ./sjcompat... rm -f bsd-snprintf.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 rm -f strlcat.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 rm -f strlcpy.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 rm -f libsjcompat.a ar cq libsjcompat.a bsd-snprintf.o strlcat.o strlcpy.o ranlib libsjcompat.a making all in ./dict... making all in dict/tool... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c char.c -o char.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c cnvhinsi.c -o cnvhinsi.o In file included from cnvhinsi.c:48: ./GramTable:1:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 91, ^~~~~~~~~~~~ ~~~~ ./GramTable:2:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 101, ^~~~~~~~~~~~ ~~~~ ./GramTable:3:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 131, ^~~~~~~~~~~~ ~~~~ ./GramTable:4:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 141, ^~~~~~~~~~~~ ~~~~ ./GramTable:5:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 111, ^~~~~~~~~~~~ ~~~~ ./GramTable:6:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 121, ^~~~~~~~~~~~ ~~~~ ./GramTable:7:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 151, ^~~~~~~~~~~~ ~~~~ ./GramTable:8:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 161, ^~~~~~~~~~~~ ~~~~ ./GramTable:9:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 185, ^~~~~~~~~~~~ ~~~~~~~~~~~~ ./GramTable:10:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ѳ", 181, ^~~~~~~~~~~~ ~~~~ ./GramTable:11:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ѽ", 180, ^~~~~~~~~~~~ ~~~~~~~~~~~~ ./GramTable:12:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̤", 178, ^~~~~~~~~~~~~~~~ ./GramTable:13:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̿", 182, ^~~~~~~~~~~~~~~~ ./GramTable:14:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 179, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:15:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 92, ^~~~~~~~~~~~ ~~~~ ./GramTable:16:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 102, ^~~~~~~~~~~~ ~~~~ ./GramTable:17:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 132, ^~~~~~~~~~~~ ~~~~ ./GramTable:18:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 142, ^~~~~~~~~~~~ ~~~~ ./GramTable:19:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 112, ^~~~~~~~~~~~ ~~~~ ./GramTable:20:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 122, ^~~~~~~~~~~~ ~~~~ ./GramTable:21:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 152, ^~~~~~~~~~~~ ~~~~ ./GramTable:22:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 162, ^~~~~~~~~~~~ ~~~~ ./GramTable:23:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 93, ^~~~~~~~~~~~ ~~~~ ./GramTable:24:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 103, ^~~~~~~~~~~~ ~~~~ ./GramTable:25:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 133, ^~~~~~~~~~~~ ~~~~ ./GramTable:26:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 143, ^~~~~~~~~~~~ ~~~~ ./GramTable:27:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 113, ^~~~~~~~~~~~ ~~~~ ./GramTable:28:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 123, ^~~~~~~~~~~~ ~~~~ ./GramTable:29:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 153, ^~~~~~~~~~~~ ~~~~ ./GramTable:30:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 163, ^~~~~~~~~~~~ ~~~~ ./GramTable:31:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 80, ^~~~~~~~~~~~~~~~ ./GramTable:32:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ѳ", 175, ^~~~~~~~~~~~ ~~~~ ./GramTable:33:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ѽ", 174, ^~~~~~~~~~~~ ~~~~~~~~~~~~ ./GramTable:34:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̤", 171, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:35:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̤", 172, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:36:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̤", 173, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:37:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̿", 176, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:38:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̿", 177, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:39:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 81, ^~~~~~~~~~~~~~~~ ./GramTable:40:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 94, ^~~~~~~~~~~~ ~~~~ ./GramTable:41:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 104, ^~~~~~~~~~~~ ~~~~ ./GramTable:42:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 134, ^~~~~~~~~~~~ ~~~~ ./GramTable:43:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 144, ^~~~~~~~~~~~ ~~~~ ./GramTable:44:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 114, ^~~~~~~~~~~~ ~~~~ ./GramTable:45:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 124, ^~~~~~~~~~~~ ~~~~ ./GramTable:46:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 154, ^~~~~~~~~~~~ ~~~~ ./GramTable:47:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 164, ^~~~~~~~~~~~ ~~~~ ./GramTable:48:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸ", 95, ^~~~ ~~~~ ./GramTable:49:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 96, ^~~~ ~~~~ ./GramTable:50:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 105, ^~~~ ~~~~ ./GramTable:51:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 135, ^~~~ ~~~~ ./GramTable:52:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 145, ^~~~ ~~~~ ./GramTable:53:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 115, ^~~~ ~~~~ ./GramTable:54:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 125, ^~~~ ~~~~ ./GramTable:55:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 155, ^~~~ ~~~~ ./GramTable:56:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "иޣ", 165, ^~~~ ~~~~ ./GramTable:57:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 97, ^~~~ ~~~~ ./GramTable:58:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 106, ^~~~ ~~~~ ./GramTable:59:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 136, ^~~~ ~~~~ ./GramTable:60:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 146, ^~~~ ~~~~ ./GramTable:61:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 116, ^~~~ ~~~~ ./GramTable:62:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 126, ^~~~ ~~~~ ./GramTable:63:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 156, ^~~~ ~~~~ ./GramTable:64:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 166, ^~~~ ~~~~ ./GramTable:65:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 98, ^~~~~~~~~~~~ ~~~~ ./GramTable:66:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 107, ^~~~~~~~~~~~ ~~~~ ./GramTable:67:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 137, ^~~~~~~~~~~~ ~~~~ ./GramTable:68:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 147, ^~~~~~~~~~~~ ~~~~ ./GramTable:69:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 117, ^~~~~~~~~~~~ ~~~~ ./GramTable:70:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 127, ^~~~~~~~~~~~ ~~~~ ./GramTable:71:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 157, ^~~~~~~~~~~~ ~~~~ ./GramTable:72:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 167, ^~~~~~~~~~~~ ~~~~ ./GramTable:73:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 99, ^~~~~~~~~~~~ ~~~~ ./GramTable:74:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 108, ^~~~~~~~~~~~ ~~~~ ./GramTable:75:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 138, ^~~~~~~~~~~~ ~~~~ ./GramTable:76:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 148, ^~~~~~~~~~~~ ~~~~ ./GramTable:77:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 118, ^~~~~~~~~~~~ ~~~~ ./GramTable:78:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 128, ^~~~~~~~~~~~ ~~~~ ./GramTable:79:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 158, ^~~~~~~~~~~~ ~~~~ ./GramTable:80:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޣ", 168, ^~~~~~~~~~~~ ~~~~ ./GramTable:81:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 187, ^~~~~~~~~~~~~~~~ ./GramTable:82:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -11, ^~~~~~~~~~~~~~~~ ./GramTable:83:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 200, ^~~~~~~~~~~~~~~~ ./GramTable:84:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʣ", 90, ^~~~~~~~~~~~ ~~~~ ./GramTable:85:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʣ", 100, ^~~~~~~~~~~~ ~~~~ ./GramTable:86:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʣ", 130, ^~~~~~~~~~~~ ~~~~ ./GramTable:87:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʣ", 140, ^~~~~~~~~~~~ ~~~~ ./GramTable:88:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -21, ^~~~~~~~ ./GramTable:89:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -20, ^~~~~~~~~~~~~~~~ ./GramTable:90:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -31, ^~~~~~~~ ./GramTable:91:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -4, ^~~~~~~~~~~~~~~~ ./GramTable:92:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", -5, ^~~~~~~~ ./GramTable:93:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 28, ^~~~~~~~ ./GramTable:94:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 23, ^~~~~~~~~~~~~~~~ ./GramTable:95:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -14, ^~~~~~~~ ./GramTable:96:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 60, ^~~~~~~~~~~~~~~~ ./GramTable:97:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 69, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:98:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 70, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:99:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 61, ^~~~~~~~~~~~~~~~ ./GramTable:100:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 62, ^~~~~~~~~~~~~~~~ ./GramTable:101:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 63, ^~~~~~~~~~~~~~~~ ./GramTable:102:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 64, ^~~~~~~~~~~~~~~~ ./GramTable:103:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 65, ^~~~~~~~~~~~~~~~ ./GramTable:104:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 66, ^~~~~~~~~~~~~~~~ ./GramTable:105:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 67, ^~~~~~~~~~~~~~~~ ./GramTable:106:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 68, ^~~~~~~~~~~~~~~~ ./GramTable:107:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 71, ^~~~~~~~ ~~~~~~~~ ./GramTable:108:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 72, ^~~~~~~~ ~~~~~~~~ ./GramTable:109:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 73, ^~~~~~~~ ~~~~~~~~ ./GramTable:110:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 74, ^~~~~~~~ ~~~~~~~~ ./GramTable:111:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 75, ^~~~~~~~ ~~~~~~~~ ./GramTable:112:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 76, ^~~~~~~~ ~~~~~~~~ ./GramTable:113:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 77, ^~~~~~~~ ~~~~~~~~ ./GramTable:114:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 78, ^~~~~~~~ ~~~~~~~~ ./GramTable:115:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư", 79, ^~~~~~~~ ~~~~~~~~ ./GramTable:116:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -13, ^~~~~~~~~~~~~~~~ ./GramTable:117:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 25, ^~~~~~~~~~~~~~~~ ./GramTable:118:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -33, ^~~~~~~~ ./GramTable:119:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -12, ^~~~~~~~ ./GramTable:120:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -10, ^~~~~~~~~~~~~~~~ ./GramTable:121:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -27, ^~~~~~~~~~~~~~~~ ./GramTable:122:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -25, ^~~~~~~~ ./GramTable:123:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -23, ^~~~~~~~ ./GramTable:124:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -29, ^~~~~~~~ ./GramTable:125:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -18, ^~~~~~~~~~~~~~~~ ./GramTable:126:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -2, ^~~~~~~~ ./GramTable:127:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 29, ^~~~~~~~~~~~~~~~ ./GramTable:128:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 54, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:129:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʪ", -17, ^~~~~~~~ ./GramTable:130:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʪ", -6, ^~~~~~~~ ./GramTable:131:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʪ", -16, ^~~~~~~~ ./GramTable:132:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -8, ^~~~~~~~~~~~~~~~ ./GramTable:133:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -1, ^~~~~~~~ ./GramTable:134:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 30, ^~~~~~~~~~~~~~~~ ./GramTable:135:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "죲", 55, ^~~~~~~~~~~~ ./GramTable:136:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "³", 27, ^~~~~~~~ ./GramTable:137:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ", 31, ^~~~~~~~ ~~~~~~~~ ./GramTable:138:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ", 32, ^~~~~~~~ ~~~~~~~~ ./GramTable:139:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ", 33, ^~~~~~~~ ~~~~~~~~ ./GramTable:140:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ", 34, ^~~~~~~~ ~~~~~~~~ ./GramTable:141:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ", 35, ^~~~~~~~ ~~~~~~~~ ./GramTable:142:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 36, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:143:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 37, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:144:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 38, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:145:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 39, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:146:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 40, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:147:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 41, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:148:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 42, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:149:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 43, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:150:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 44, ^~~~~~~~~~~~~~~~~~~~~~~~ ./GramTable:151:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -30, ^~~~~~~~ ./GramTable:152:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ȿ", -3, ^~~~ ~~~~ ./GramTable:154:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "壱", 12, ^~~~ ./GramTable:155:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "売", 13, ^~~~ ./GramTable:156:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "壳", 14, ^~~~ ./GramTable:157:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "壴", 15, ^~~~ ./GramTable:158:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "壵", 16, ^~~~ ./GramTable:159:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "壶", 17, ^~~~ ./GramTable:160:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ñ", 189, ^~~~~~~~ ./GramTable:161:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ϰ", -7, ^~~~ ~~~~ ./GramTable:162:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 24, ^~~~~~~~ ./GramTable:163:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ǫ", 183, ^~~~~~~~ ~~~~~~~~ ./GramTable:164:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ǫ", 184, ^~~~~~~~ ~~~~~~~~ ./GramTable:165:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ż", -34, ^~~~ ~~~~ ./GramTable:166:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ի", -24, ^~~~ ~~~~ ./GramTable:167:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", -32, ^~~~~~~~ ./GramTable:169:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ü", 188, ^~~~ ~~~~~~~~~~~~~~~~~~~~ ./GramTable:170:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ü", 186, ^~~~ ~~~~~~~~~~~~ ./GramTable:171:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "µ", -15, ^~~~ ~~~~ ./GramTable:172:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ļ", 21, ^~~~ ~~~~ ./GramTable:173:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 45, ^~~~~~~~~~~~~~~~ ./GramTable:174:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 46, ^~~~~~~~~~~~~~~~ ./GramTable:175:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 47, ^~~~~~~~~~~~~~~~ ./GramTable:176:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 48, ^~~~~~~~~~~~~~~~ ./GramTable:177:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 49, ^~~~~~~~~~~~~~~~ ./GramTable:178:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 50, ^~~~~~~~~~~~~~~~ ./GramTable:179:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 51, ^~~~~~~~~~~~~~~~ ./GramTable:180:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 52, ^~~~~~~~~~~~~~~~ ./GramTable:181:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "", 53, ^~~~~~~~~~~~~~~~ ./GramTable:182:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸ", -19, ^~~~~~~~ ./GramTable:184:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 1, ^~~~~~~~ ./GramTable:185:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 10, ^~~~~~~~~~~~~~~~ ./GramTable:186:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 11, ^~~~~~~~~~~~~~~~ ./GramTable:187:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 2, ^~~~~~~~ ./GramTable:188:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 18, ^~~~~~~~~~~~~~~~ ./GramTable:189:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 3, ^~~~~~~~ ./GramTable:190:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 4, ^~~~~~~~ ./GramTable:191:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 5, ^~~~~~~~ ./GramTable:192:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 6, ^~~~~~~~ ./GramTable:193:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 7, ^~~~~~~~ ./GramTable:194:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 8, ^~~~~~~~ ./GramTable:195:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 9, ^~~~~~~~ ./GramTable:196:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾", 22, ^~~~~~~~ ./GramTable:197:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʪ", -28, ^~~~~~~~ ./GramTable:198:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ϣ", 26 ^~~~~~~~ cnvhinsi.c:86:21: 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] i = u_strcmp(buf, gramtbl[mid].name); ^~~~~~~~~~~~~~~~~ cnvhinsi.c:55:29: note: passing argument to parameter 'b' here u_strcmp(u_char *a, u_char *b) ^ 196 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c file.c -o file.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c global.c -o global.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c hindo.c -o hindo.o hindo.c:61:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] i = string_cmp(hindo[mid]->kptr, hindo[mid]->klen, ptr, len); ^ hindo.c:322:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] i = string_cmp(hindo[mid]->kptr, hindo[mid]->klen, ptr, len); ^ hindo.c:388:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] i = string_cmp(hindo[mid]->kptr, hindo[mid]->klen, p, l); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c knjcvt.c -o knjcvt.o knjcvt.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static free_divlist(DivList *p) ~~~~~~ ^ knjcvt.c:162:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] if (string_cmp(askknj[i]->kptr, j, knj, j)) continue; ^ 2 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c makedict.c -o makedict.o makedict.c:71:29: warning: incompatible function pointer types passing 'void (int *, int *, int, int *)' to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types] while (readline()) setline(makelist); ^~~~~~~~ ./sj3mkdic.h:111:20: note: passing argument to parameter here void setline(int (*)()); ^ makedict.c:122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(q, "r")) ~~~^~~~~~~~~~~~~~~ makedict.c:122:10: note: place parentheses around the assignment to silence this warning if (fp = fopen(q, "r")) ^ ( ) makedict.c:122:10: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(q, "r")) ^ == makedict.c:145:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (progname = strrchr(argv[0], '/')) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ makedict.c:145:15: note: place parentheses around the assignment to silence this warning if (progname = strrchr(argv[0], '/')) ^ ( ) makedict.c:145:15: note: use '==' to turn this assignment into an equality comparison if (progname = strrchr(argv[0], '/')) ^ == 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c makelist.c -o makelist.o makelist.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clearklist(KanjiRec *krec) ^ makelist.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clearhlist(HinsiRec *hrec) ^ makelist.c:149:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = top_strcmp(yomi, kanji)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ makelist.c:149:8: note: place parentheses around the assignment to silence this warning if (i = top_strcmp(yomi, kanji)) { ^ ( ) makelist.c:149:8: note: use '==' to turn this assignment into an equality comparison if (i = top_strcmp(yomi, kanji)) { ^ == makelist.c:154:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (i = top_strcmp(kana, kanji)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ makelist.c:154:13: note: place parentheses around the assignment to silence this warning else if (i = top_strcmp(kana, kanji)) { ^ ( ) makelist.c:154:13: note: use '==' to turn this assignment into an equality comparison else if (i = top_strcmp(kana, kanji)) { ^ == makelist.c:162:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = last_strcmp(yomi, kanji)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ makelist.c:162:9: note: place parentheses around the assignment to silence this warning if (i = last_strcmp(yomi, kanji)) { ^ ( ) makelist.c:162:9: note: use '==' to turn this assignment into an equality comparison if (i = last_strcmp(yomi, kanji)) { ^ == makelist.c:167:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (i = last_strcmp(kana, kanji)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ makelist.c:167:14: note: place parentheses around the assignment to silence this warning else if (i = last_strcmp(kana, kanji)) { ^ ( ) makelist.c:167:14: note: use '==' to turn this assignment into an equality comparison else if (i = last_strcmp(kana, kanji)) { ^ == makelist.c:386:4: warning: implicit declaration of function 'set_ofsrec' is invalid in C99 [-Wimplicit-function-declaration] set_ofsrec(krec -> kptr, krec -> klen, 0); ^ makelist.c:571:24: 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] if (drectmp && strcmp(ycode, drectmp -> yptr)) { ^~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ makelist.c:571:31: 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] if (drectmp && strcmp(ycode, drectmp -> yptr)) { ^~~~~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ 9 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c makeseg.c -o makeseg.o makeseg.c:249: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] slen = strlen(p) - drec -> dlen; ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ makeseg.c:267:5: warning: implicit declaration of function 'set_ofsrec' is invalid in C99 [-Wimplicit-function-declaration] set_ofsrec(krec->kptr, krec->klen, dst - buf); ^ makeseg.c:332:13: warning: passing 'u_char[2048]' (aka 'unsigned char[2048]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (Fwrite(buf, sizeof(buf), 1, outfp) != 1) { ^~~ ./sj3mkdic.h:48:21: note: passing argument to parameter here size_t Fwrite(char *, int, int, FILE *); ^ makeseg.c:336:2: warning: implicit declaration of function 'Fflush' is invalid in C99 [-Wimplicit-function-declaration] Fflush(outfp); ^ makeseg.c:417:16: warning: passing 'u_char[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Fwrite(header, sizeof(header), 1, outfp); ^~~~~~ ./sj3mkdic.h:48:21: note: passing argument to parameter here size_t Fwrite(char *, int, int, FILE *); ^ makeseg.c:419:16: warning: passing 'u_char[2048]' (aka 'unsigned char[2048]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Fwrite(mindex, MainIndexLength, 1, outfp); ^~~~~~ ./sj3mkdic.h:48:21: note: passing argument to parameter here size_t Fwrite(char *, int, int, FILE *); ^ 6 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c memory.c -o memory.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c offset.c -o offset.o offset.c:93:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] i = string_cmp(ofsrec[mid]->kptr, ofsrec[mid]->klen, ptr, len); ^ offset.c:134:7: warning: implicit declaration of function 'string_cmp' is invalid in C99 [-Wimplicit-function-declaration] i = string_cmp(ofsrec[mid]->kptr, ofsrec[mid]->klen, knj, len); ^ 2 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c readline.c -o readline.o readline.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static error(char *s) ~~~~~~ ^ readline.c:250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = readhinsi()) { ~~^~~~~~~~~~~~~ readline.c:250:11: note: place parentheses around the assignment to silence this warning while (c = readhinsi()) { ^ ( ) readline.c:250:11: note: use '==' to turn this assignment into an equality comparison while (c = readhinsi()) { ^ == readline.c:261:27: warning: passing 'char[5]' 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] if (j == 0) hinsi[j++] = HinsiTankan; ^~~~~~~~~~~ ../include/sj_const.h:98:30: note: expanded from macro 'HinsiTankan' #define HinsiTankan cnvhinsi("\303\261\264\301") ^~~~~~~~~~~~~~~~~~ ./sj3mkdic.h:38:22: note: passing argument to parameter here int cnvhinsi(u_char *); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../../include -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c string.c -o string.o rm -f sj3mkdic cc -o sj3mkdic -L/usr/local/lib char.o cnvhinsi.o file.o global.o hindo.o knjcvt.o makedict.o makelist.o makeseg.o memory.o offset.o readline.o string.o ../../sjcompat/libsjcompat.a -Wl,-rpath,/usr/local/lib making all in dict/dict... ../tool/sj3mkdic ./visual.dic sj3main.dic > Moutput Reading ./visual.dic making all in ./doc... making all in doc/doc... making all in doc/man... making all in ./kanakan... rm -f adddic.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 adddic.c adddic.c:82:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adddic.c:82:10: note: place parentheses around the assignment to silence this warning if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ^ ( ) adddic.c:82:10: note: use '==' to turn this assignment into an equality comparison if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ^ == adddic.c:91:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = checkdict(kanji, hinsi)) return err; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ adddic.c:91:10: note: place parentheses around the assignment to silence this warning if (err = checkdict(kanji, hinsi)) return err; ^ ( ) adddic.c:91:10: note: use '==' to turn this assignment into an equality comparison if (err = checkdict(kanji, hinsi)) return err; ^ == 2 warnings generated. rm -f addelcmn.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 addelcmn.c addelcmn.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (first = *src++) { ~~~~~~^~~~~~~~ addelcmn.c:164:15: note: place parentheses around the assignment to silence this warning while (first = *src++) { ^ ( ) addelcmn.c:164:15: note: use '==' to turn this assignment into an equality comparison while (first = *src++) { ^ == addelcmn.c:235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len = top_strcmp(yomi, knj)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~ addelcmn.c:235:10: note: place parentheses around the assignment to silence this warning if (len = top_strcmp(yomi, knj)) { ^ ( ) addelcmn.c:235:10: note: use '==' to turn this assignment into an equality comparison if (len = top_strcmp(yomi, knj)) { ^ == addelcmn.c:239:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (len = top_strcmp(kana, knj)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~ addelcmn.c:239:15: note: place parentheses around the assignment to silence this warning else if (len = top_strcmp(kana, knj)) { ^ ( ) addelcmn.c:239:15: note: use '==' to turn this assignment into an equality comparison else if (len = top_strcmp(kana, knj)) { ^ == addelcmn.c:254:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len = last_strcmp(yomi, knj)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ addelcmn.c:254:12: note: place parentheses around the assignment to silence this warning if (len = last_strcmp(yomi, knj)) { ^ ( ) addelcmn.c:254:12: note: use '==' to turn this assignment into an equality comparison if (len = last_strcmp(yomi, knj)) { ^ == addelcmn.c:260:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (len = last_strcmp(kana, knj)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ addelcmn.c:260:17: note: place parentheses around the assignment to silence this warning else if (len = last_strcmp(kana, knj)) { ^ ( ) addelcmn.c:260:17: note: use '==' to turn this assignment into an equality comparison else if (len = last_strcmp(kana, knj)) { ^ == 5 warnings generated. rm -f alloc.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 alloc.c rm -f charsize.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 charsize.c rm -f chrtbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 chrtbl.c rm -f cl2knj.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 cl2knj.c rm -f clstudy.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 clstudy.c rm -f cmpstr.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 cmpstr.c rm -f conjunc.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 conjunc.c rm -f connect.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 connect.c rm -f cvtclknj.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 cvtclknj.c rm -f cvtdict.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 cvtdict.c cvtdict.c:68:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = jrec -> sttofs) { ~~^~~~~~~~~~~~~~~~ cvtdict.c:68:8: note: place parentheses around the assignment to silence this warning if (i = jrec -> sttofs) { ^ ( ) cvtdict.c:68:8: note: use '==' to turn this assignment into an equality comparison if (i = jrec -> sttofs) { ^ == 1 warning generated. rm -f cvtkanji.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 cvtkanji.c cvtkanji.c:198:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fptr = Settou_ptr(jrec -> sttofs)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cvtkanji.c:198:11: note: place parentheses around the assignment to silence this warning if (fptr = Settou_ptr(jrec -> sttofs)) ^ ( ) cvtkanji.c:198:11: note: use '==' to turn this assignment into an equality comparison if (fptr = Settou_ptr(jrec -> sttofs)) ^ == 1 warning generated. rm -f deldic.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 deldic.c deldic.c:68:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deldic.c:68:10: note: place parentheses around the assignment to silence this warning if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ^ ( ) deldic.c:68:10: note: use '==' to turn this assignment into an equality comparison if (err = addel_arg(yomi, kanji, hinsi, yptr, sizeof(yptr))) ^ == 1 warning generated. rm -f dict.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 dict.c rm -f functbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 functbl.c rm -f fuzoku.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 fuzoku.c rm -f fzkyomi.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 fzkyomi.c rm -f getkanji.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 getkanji.c rm -f getrank.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 getrank.c rm -f global.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 global.c rm -f hzstrlen.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 hzstrlen.c rm -f init.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 init.c rm -f istrcmp.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 istrcmp.c rm -f memcpy.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 memcpy.c rm -f memory.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 memory.c rm -f mk2claus.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mk2claus.c rm -f mkbunset.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mkbunset.c mkbunset.c:68:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (right = Connadr[hinsi]) { ~~~~~~^~~~~~~~~~~~~~~~ mkbunset.c:68:13: note: place parentheses around the assignment to silence this warning if (right = Connadr[hinsi]) { ^ ( ) mkbunset.c:68:13: note: use '==' to turn this assignment into an equality comparison if (right = Connadr[hinsi]) { ^ == mkbunset.c:80:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (count = setconj(hinsi, jrec, crec)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbunset.c:80:18: note: place parentheses around the assignment to silence this warning else if (count = setconj(hinsi, jrec, crec)) { ^ ( ) mkbunset.c:80:18: note: use '==' to turn this assignment into an equality comparison else if (count = setconj(hinsi, jrec, crec)) { ^ == mkbunset.c:116:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (child = rec -> clsort) { ~~~~~~^~~~~~~~~~~~~~~ mkbunset.c:116:16: note: place parentheses around the assignment to silence this warning while (child = rec -> clsort) { ^ ( ) mkbunset.c:116:16: note: use '==' to turn this assignment into an equality comparison while (child = rec -> clsort) { ^ == mkbunset.c:148:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (child = ptr -> clsort) { ~~~~~~^~~~~~~~~~~~~~~ mkbunset.c:148:15: note: place parentheses around the assignment to silence this warning while (child = ptr -> clsort) { ^ ( ) mkbunset.c:148:15: note: use '==' to turn this assignment into an equality comparison while (child = ptr -> clsort) { ^ == 4 warnings generated. rm -f mkjiritu.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mkjiritu.c mkjiritu.c:85:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (stb = getstb(jrec -> hinsi)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkjiritu.c:85:11: note: place parentheses around the assignment to silence this warning if (stb = getstb(jrec -> hinsi)) ^ ( ) mkjiritu.c:85:11: note: use '==' to turn this assignment into an equality comparison if (stb = getstb(jrec -> hinsi)) ^ == mkjiritu.c:102:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tagp = srchdict(tagp)) setjrec(tagp, mode); ~~~~~^~~~~~~~~~~~~~~~ mkjiritu.c:102:15: note: place parentheses around the assignment to silence this warning while (tagp = srchdict(tagp)) setjrec(tagp, mode); ^ ( ) mkjiritu.c:102:15: note: use '==' to turn this assignment into an equality comparison while (tagp = srchdict(tagp)) setjrec(tagp, mode); ^ == mkjiritu.c:120:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (child = jrec -> jsort) { ~~~~~~^~~~~~~~~~~~~~~ mkjiritu.c:120:16: note: place parentheses around the assignment to silence this warning while (child = jrec -> jsort) { ^ ( ) mkjiritu.c:120:16: note: use '==' to turn this assignment into an equality comparison while (child = jrec -> jsort) { ^ == mkjiritu.c:153:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (child = ptr -> jsort) { ~~~~~~^~~~~~~~~~~~~~ mkjiritu.c:153:15: note: place parentheses around the assignment to silence this warning while (child = ptr -> jsort) { ^ ( ) mkjiritu.c:153:15: note: use '==' to turn this assignment into an equality comparison while (child = ptr -> jsort) { ^ == 4 warnings generated. rm -f mkkouho.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mkkouho.c mkkouho.c:427:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cond = SelNumCond(cond)) { ~~~~~^~~~~~~~~~~~~~~~~~ mkkouho.c:427:11: note: place parentheses around the assignment to silence this warning if (cond = SelNumCond(cond)) { ^ ( ) mkkouho.c:427:11: note: use '==' to turn this assignment into an equality comparison if (cond = SelNumCond(cond)) { ^ == mkkouho.c:428:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (must = (cond & SelNumMust)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~ mkkouho.c:428:12: note: place parentheses around the assignment to silence this warning if (must = (cond & SelNumMust)) { ^ ( ) mkkouho.c:428:12: note: use '==' to turn this assignment into an equality comparison if (must = (cond & SelNumMust)) { ^ == 2 warnings generated. rm -f mknumber.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mknumber.c mknumber.c:411:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (j = ((tmp >> 4) & 3)) { ~~^~~~~~~~~~~~~~~~~~ mknumber.c:411:9: note: place parentheses around the assignment to silence this warning if (j = ((tmp >> 4) & 3)) { ^ ( ) mknumber.c:411:9: note: use '==' to turn this assignment into an equality comparison if (j = ((tmp >> 4) & 3)) { ^ == mknumber.c:415:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (j = ((tmp >> 6) & 3)) { ~~^~~~~~~~~~~~~~~~~~ mknumber.c:415:9: note: place parentheses around the assignment to silence this warning if (j = ((tmp >> 6) & 3)) { ^ ( ) mknumber.c:415:9: note: use '==' to turn this assignment into an equality comparison if (j = ((tmp >> 6) & 3)) { ^ == 2 warnings generated. rm -f mvmemd.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mvmemd.c rm -f mvmemi.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 mvmemi.c rm -f peepdic.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 peepdic.c peepdic.c:422:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p2 = get_idxptr(peepidx)) { ~~~^~~~~~~~~~~~~~~~~~~~~ peepdic.c:422:9: note: place parentheses around the assignment to silence this warning if (p2 = get_idxptr(peepidx)) { ^ ( ) peepdic.c:422:9: note: use '==' to turn this assignment into an equality comparison if (p2 = get_idxptr(peepidx)) { ^ == 1 warning generated. rm -f ph2knj.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 ph2knj.c rm -f ph_khtbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 ph_khtbl.c rm -f priority.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 priority.c rm -f prtytbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 prtytbl.c rm -f s2ctbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 s2ctbl.c rm -f sdepend.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sdepend.c sdepend.c:110:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(fd, p, len) != len) { ^ sdepend.c:121:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write(fd, p, len) != len) { ^ sdepend.c:133:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (*buf && strncmp(passwd, buf, PasswdLen)) ? FALSE : TRUE; ^~~ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ sdepend.c:138:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buf + PasswdPos, passwd, PasswdLen); ^~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ sdepend.c:311:22: warning: incompatible function pointer types assigning to 'IFunc' (aka 'int (*)()') from 'int (DictFile *, TypeDicSeg)' (aka 'int (struct dictfile *, short)') [-Wincompatible-function-pointer-types] dfp -> dict.getdic = getdic; ^ ~~~~~~ sdepend.c:313:22: warning: incompatible function pointer types assigning to 'IFunc' (aka 'int (*)()') from 'int (DictFile *, TypeDicSeg)' (aka 'int (struct dictfile *, short)') [-Wincompatible-function-pointer-types] dfp -> dict.putdic = putdic; ^ ~~~~~~ sdepend.c:314:22: warning: incompatible function pointer types assigning to 'IFunc' (aka 'int (*)()') from 'int (DictFile *, TypeDicSeg)' (aka 'int (struct dictfile *, short)') [-Wincompatible-function-pointer-types] dfp -> dict.rszdic = rszdic; ^ ~~~~~~ sdepend.c:667:28: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (ret != SJ3_NormalEnd) unlink(path); ^ sdepend.c:747:28: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (ret != SJ3_NormalEnd) unlink(path); ^ sdepend.c:783:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(buf + HeaderLength, comment, CommentLength); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:99:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ 10 warnings generated. rm -f selclrec.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 selclrec.c rm -f selsuuji.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 selsuuji.c rm -f setconj.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 setconj.c setconj.c:125:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cnj = Conjadr(hinsi)) { ~~~~~^~~~~~~~~~~~~~~~ setconj.c:125:11: note: place parentheses around the assignment to silence this warning if (cnj = Conjadr(hinsi)) { ^ ( ) setconj.c:125:11: note: use '==' to turn this assignment into an equality comparison if (cnj = Conjadr(hinsi)) { ^ == setconj.c:148:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (right = cnvrow(jrec, (TypeCnct)CnjRight(cnj))) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setconj.c:148:14: note: place parentheses around the assignment to silence this warning if (right = cnvrow(jrec, (TypeCnct)CnjRight(cnj))) { ^ ( ) setconj.c:148:14: note: use '==' to turn this assignment into an equality comparison if (right = cnvrow(jrec, (TypeCnct)CnjRight(cnj))) { ^ == 2 warnings generated. rm -f setjrec.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 setjrec.c rm -f setkouho.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 setkouho.c rm -f setubi.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 setubi.c rm -f sj2code.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sj2code.c rm -f skiphblk.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 skiphblk.c rm -f skipkstr.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 skipkstr.c rm -f srchdict.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 srchdict.c rm -f srchhead.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 srchhead.c rm -f srchidx.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 srchidx.c rm -f srchnum.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 srchnum.c srchnum.c:58:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tagp = srchdict(tagp)) setnumrec(tagp, jrec, gram); ~~~~~^~~~~~~~~~~~~~~~ srchnum.c:58:15: note: place parentheses around the assignment to silence this warning while (tagp = srchdict(tagp)) setnumrec(tagp, jrec, gram); ^ ( ) srchnum.c:58:15: note: use '==' to turn this assignment into an equality comparison while (tagp = srchdict(tagp)) setnumrec(tagp, jrec, gram); ^ == srchnum.c:108:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (rec = argjrec(len1, (JREC *)NULL)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srchnum.c:108:10: note: place parentheses around the assignment to silence this warning if (rec = argjrec(len1, (JREC *)NULL)) { ^ ( ) srchnum.c:108:10: note: use '==' to turn this assignment into an equality comparison if (rec = argjrec(len1, (JREC *)NULL)) { ^ == srchnum.c:204:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (j = ((tmp >> 6) & 3)) { ~~^~~~~~~~~~~~~~~~~~ srchnum.c:204:9: note: place parentheses around the assignment to silence this warning if (j = ((tmp >> 6) & 3)) { ^ ( ) srchnum.c:204:9: note: use '==' to turn this assignment into an equality comparison if (j = ((tmp >> 6) & 3)) { ^ == 3 warnings generated. rm -f sstrcmp.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sstrcmp.c rm -f sstrlen.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sstrlen.c rm -f sstrncmp.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sstrncmp.c rm -f stbtbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 stbtbl.c rm -f stttbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 stttbl.c rm -f study.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 study.c rm -f suujitbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 suujitbl.c rm -f terminat.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 terminat.c rm -f termtbl.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 termtbl.c rm -f wakachi.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 wakachi.c wakachi.c:124:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (clrec = argclrec((Int)jrec -> jlen)) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakachi.c:124:13: note: place parentheses around the assignment to silence this warning if (clrec = argclrec((Int)jrec -> jlen)) { ^ ( ) wakachi.c:124:13: note: use '==' to turn this assignment into an equality comparison if (clrec = argclrec((Int)jrec -> jlen)) { ^ == 1 warning generated. rm -f libkanakan.a ar cq libkanakan.a adddic.o addelcmn.o alloc.o charsize.o chrtbl.o cl2knj.o clstudy.o cmpstr.o conjunc.o connect.o cvtclknj.o cvtdict.o cvtkanji.o deldic.o dict.o functbl.o fuzoku.o fzkyomi.o getkanji.o getrank.o global.o hzstrlen.o init.o istrcmp.o memcpy.o memory.o mk2claus.o mkbunset.o mkjiritu.o mkkouho.o mknumber.o mvmemd.o mvmemi.o peepdic.o ph2knj.o ph_khtbl.o priority.o prtytbl.o s2ctbl.o sdepend.o selclrec.o selsuuji.o setconj.o setjrec.o setkouho.o setubi.o sj2code.o skiphblk.o skipkstr.o srchdict.o srchhead.o srchidx.o srchnum.o sstrcmp.o sstrlen.o sstrncmp.o stbtbl.o stttbl.o study.o suujitbl.o terminat.o termtbl.o wakachi.o ranlib libkanakan.a making all in ./server... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c comuni.c -o comuni.o comuni.c:181:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(socket_name); ^ comuni.c:200:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_unix); ^ comuni.c:208:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_unix); ^ comuni.c:333:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = getservbyname(port_name, "tcp")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comuni.c:333:9: note: place parentheses around the assignment to silence this warning if (sp = getservbyname(port_name, "tcp")) ^ ( ) comuni.c:333:9: note: use '==' to turn this assignment into an equality comparison if (sp = getservbyname(port_name, "tcp")) ^ == comuni.c:341:7: warning: implicit declaration of function 'inet_aton' is invalid in C99 [-Wimplicit-function-declaration] if (!inet_aton(server_name, &sin.sin_addr)) { ^ comuni.c:372:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_inet); ^ comuni.c:378:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_inet); ^ comuni.c:403:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((fd = accept(fd_unix, (struct sockaddr *)&sunix, &i)) == ERROR) ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ comuni.c:460:53: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((fd = accept(fd_inet, (struct sockaddr *)&sin, &i)) == ERROR) ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ comuni.c:479:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (accept(fd_unix, (struct sockaddr *)&sunix, &i) < 0) break; ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ comuni.c:482:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_unix); ^ comuni.c:483:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(socket_name); ^ comuni.c:506:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (accept(fd_inet, (struct sockaddr *)&sin, &i) < 0) break; ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ comuni.c:515:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd_inet); ^ comuni.c:519:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] close_socket() ^ comuni.c:596:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (client_tmp = (Client *)malloc(sizeof(Client))) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comuni.c:596:18: note: place parentheses around the assignment to silence this warning if (client_tmp = (Client *)malloc(sizeof(Client))) { ^ ( ) comuni.c:596:18: note: use '==' to turn this assignment into an equality comparison if (client_tmp = (Client *)malloc(sizeof(Client))) { ^ == comuni.c:627:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ comuni.c:643:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = cp->stdy) closestdy(sp); ~~~^~~~~~~~~~ comuni.c:643:9: note: place parentheses around the assignment to silence this warning if (sp = cp->stdy) closestdy(sp); ^ ( ) comuni.c:643:9: note: use '==' to turn this assignment into an equality comparison if (sp = cp->stdy) closestdy(sp); ^ == comuni.c:644:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (wp = cp->work) free_workarea(wp); ~~~^~~~~~~~~~ comuni.c:644:9: note: place parentheses around the assignment to silence this warning if (wp = cp->work) free_workarea(wp); ^ ( ) comuni.c:644:9: note: use '==' to turn this assignment into an equality comparison if (wp = cp->work) free_workarea(wp); ^ == comuni.c:668:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ comuni.c:766:12: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if ((i = write(client_fd, p, len)) == ERROR) { ^ comuni.c:821:12: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((i = read(client_fd, getbuf, sizeof(getbuf))) > 0) break; ^ 22 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c error.c -o error.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c execute.c -o execute.o execute.c:91:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (index = strtok(NULL, "/")); ~~~~~~^~~~~~~~~~~~~~~~~~~ execute.c:91:17: note: place parentheses around the assignment to silence this warning } while (index = strtok(NULL, "/")); ^ ( ) execute.c:91:17: note: use '==' to turn this assignment into an equality comparison } while (index = strtok(NULL, "/")); ^ == execute.c:164:14: warning: passing 'char[128]' 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] get_nstring(hostname, sizeof(hostname)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:165:14: warning: passing 'char[128]' 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] get_nstring(username, sizeof(username)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:166:14: warning: passing 'char[128]' 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] get_nstring(progname, sizeof(progname)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:234:14: warning: passing 'char[1024]' 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] get_nstring(filename, sizeof(filename)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:235:14: warning: passing 'char[16]' 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] get_nstring(password, sizeof(password)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:250:36: warning: expression result unused [-Wunused-value] for (tmp = dictlist; tmp; tmp->next) ~~~ ^~~~ execute.c:338:14: warning: passing 'char[1024]' 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] get_nstring(filename, sizeof(filename)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:339:14: warning: passing 'char[16]' 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] get_nstring(password, sizeof(password)); ^~~~~~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:445:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf2, sizeof(buf2), buf1, ^ execute.c:462:8: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, p, cur_cli->def_char, &defuse); ^ execute.c:484:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:524:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf2, sizeof(buf2), buf1, ^ execute.c:527:27: warning: passing 'unsigned char[1024]' 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] i = cl2knj(buf2, strlen(buf2), kbuf); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:537:7: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, ^ execute.c:541:15: warning: passing 'unsigned char[1024]' 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] j = strlen(buf2); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:597:7: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, cur_cli->def_char, &defuse); ^ execute.c:650:7: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, cur_cli->def_char, &defuse); ^ execute.c:696:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf2, sizeof(buf2), buf1, ^ execute.c:708:9: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_euctosjis(skbuf, buf_size, ^ execute.c:744:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf2, sizeof(buf2), buf1, ^ execute.c:747:16: warning: passing 'unsigned char[1024]' 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] len = strlen(buf2); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:758:7: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, cur_cli->def_char, &defuse); ^ execute.c:797:9: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, ^ execute.c:873:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf3, sizeof(buf3), buf1, ^ execute.c:934:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf3, sizeof(buf3), buf1, ^ execute.c:996:7: warning: implicit declaration of function 'sj3_str_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_str_sjistoeuc(buf3, sizeof(buf3), buf1, ^ execute.c:1055:8: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, ^ execute.c:1058:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1075:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1087:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1137:8: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, cur_cli->def_char, ^ execute.c:1140:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1157:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1169:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1219:8: warning: implicit declaration of function 'sj3_str_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] l = sj3_str_euctosjis(q, buf_size, ptr, ^ execute.c:1222:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1239:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1251:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr += strlen(ptr) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ execute.c:1284:20: warning: passing 'char[1024]' 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] err = get_nstring(path, sizeof(path)); ^~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1297:2: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration] chown(path, cur_client->uid, -1); ^ execute.c:1312:20: warning: passing 'char[1024]' 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] err = get_nstring(path, sizeof(path)); ^~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1325:2: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration] chown(path, cur_client->uid, -1); ^ execute.c:1337:18: warning: passing 'char[1024]' 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] i = get_nstring(path, sizeof(path)); ^~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1342:10: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] put_int(access(path, mode)); ^ execute.c:1352:18: warning: passing 'char[1024]' 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] i = get_nstring(path, sizeof(path)); ^~~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1387:14: warning: passing 'char[128]' 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] put_string(cli -> host); ^~~~~~~~~~~ ./sj3serv.h:48:26: note: passing argument to parameter here Uchar *put_string(Uchar *); ^ execute.c:1388:14: warning: passing 'char[128]' 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] put_string(cli -> user); ^~~~~~~~~~~ ./sj3serv.h:48:26: note: passing argument to parameter here Uchar *put_string(Uchar *); ^ execute.c:1389:14: warning: passing 'char[128]' 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] put_string(cli -> prog); ^~~~~~~~~~~ ./sj3serv.h:48:26: note: passing argument to parameter here Uchar *put_string(Uchar *); ^ execute.c:1417:12: warning: passing 'char *' 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] put_ndata(Version, strlen(Version)); ^~~~~~~ ./sj3serv.h:49:25: note: passing argument to parameter here Uchar *put_ndata(Uchar *, int); ^ execute.c:1418:13: warning: passing 'char *' 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] put_string(version_number); ^~~~~~~~~~~~~~ ./sj3serv.h:48:26: note: passing argument to parameter here Uchar *put_string(Uchar *); ^ execute.c:1419:12: warning: passing 'char *' 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] put_ndata(TimeStamp, strlen(TimeStamp)); ^~~~~~~~~ ./sj3serv.h:49:25: note: passing argument to parameter here Uchar *put_ndata(Uchar *, int); ^ execute.c:1420:13: warning: passing 'char *' 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] put_string(time_stamp); ^~~~~~~~~~ ./sj3serv.h:48:26: note: passing argument to parameter here Uchar *put_string(Uchar *); ^ execute.c:1435:21: warning: passing 'char[17]' 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] err = get_nstring(buf, sizeof(buf)); ^~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1445:19: warning: incompatible pointer types passing 'DICT *' (aka 'struct dict *') to parameter of type 'DictFile *' (aka 'struct dictfile *') [-Wincompatible-pointer-types] if (set_dictpass(dl -> dict, buf)) longjmp(error_ret, serv_errno); ^~~~~~~~~~ ../include/sj_kanakan.h:218:28: note: passing argument to parameter here int set_dictpass(DictFile *, char *); ^ execute.c:1458:21: warning: passing 'char[129]' 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] err = get_nstring(buf, sizeof(buf)); ^~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1468:19: warning: incompatible pointer types passing 'DICT *' (aka 'struct dict *') to parameter of type 'DictFile *' (aka 'struct dictfile *') [-Wincompatible-pointer-types] if (set_dictcmnt(dl -> dict, buf)) longjmp(error_ret, serv_errno); ^~~~~~~~~~ ../include/sj_kanakan.h:220:28: note: passing argument to parameter here int set_dictcmnt(DictFile *, char *); ^ execute.c:1478:21: warning: passing 'char[17]' 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] err = get_nstring(buf, sizeof(buf)); ^~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1494:21: warning: passing 'char[129]' 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] err = get_nstring(buf, sizeof(buf)); ^~~ ./sj3serv.h:54:24: note: passing argument to parameter here int get_nstring(Uchar *, int); ^ execute.c:1527:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = setjmp(error_ret)) { ~~^~~~~~~~~~~~~~~~~~~ execute.c:1527:8: note: place parentheses around the assignment to silence this warning if (i = setjmp(error_ret)) { ^ ( ) execute.c:1527:8: note: use '==' to turn this assignment into an equality comparison if (i = setjmp(error_ret)) { ^ == 60 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c main.c -o main.o main.c:109:2: warning: implicit declaration of function 'close_socket' is invalid in C99 [-Wimplicit-function-declaration] close_socket(); ^ main.c:137:2: warning: implicit declaration of function 'close_socket' is invalid in C99 [-Wimplicit-function-declaration] close_socket(); ^ main.c:164:4: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] wait(0); ^ main.c:261:2: warning: implicit declaration of function 'close_socket' is invalid in C99 [-Wimplicit-function-declaration] close_socket(); ^ 4 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c setup.c -o setup.o setup.c:161:24: warning: passing 'char[3]' 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] else if (!serv_cmpstr("on", p)) ^~~~ setup.c:116:21: note: passing argument to parameter 'src' here serv_cmpstr(u_char *src, u_char *dst) ^ setup.c:163:24: warning: passing 'char[4]' 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] else if (!serv_cmpstr("off", p)) ^~~~~ setup.c:116:21: note: passing argument to parameter 'src' here serv_cmpstr(u_char *src, u_char *dst) ^ setup.c:373:23: warning: passing 'u_char[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (read_line(fp, buf, sizeof(buf)) != EOF) { ^~~ setup.c:345:27: note: passing argument to parameter 'buf' here read_line(FILE *fp, char *buf, int len) ^ setup.c:374:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (opt = option ; p = (u_char *)opt -> optname ; opt++) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ setup.c:374:25: note: place parentheses around the assignment to silence this warning for (opt = option ; p = (u_char *)opt -> optname ; opt++) ^ ( ) setup.c:374:25: note: use '==' to turn this assignment into an equality comparison for (opt = option ; p = (u_char *)opt -> optname ; opt++) ^ == setup.c:492:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (opendict(filename, p -> str2)) ^~~~~~~~~ ../include/sj_kanakan.h:206:34: note: passing argument to parameter here DictFile *opendict(char *, char *); ^ setup.c:518:21: 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] strlcpy(filename, p -> str1, sizeof(filename)); ^~~~~~~~~ /usr/include/string.h:99:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ setup.c:522:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (dict = (DICT *)opendict(filename, p -> str2)) { ^~~~~~~~~ ../include/sj_kanakan.h:206:34: note: passing argument to parameter here DictFile *opendict(char *, char *); ^ setup.c:522:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (dict = (DICT *)opendict(filename, p -> str2)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setup.c:522:17: note: place parentheses around the assignment to silence this warning else if (dict = (DICT *)opendict(filename, p -> str2)) { ^ ( ) setup.c:522:17: note: use '==' to turn this assignment into an equality comparison else if (dict = (DICT *)opendict(filename, p -> str2)) { ^ == setup.c:569:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!str_match(p -> str1, user)) continue; ^~~~~~~~~ setup.c:541:17: note: passing argument to parameter 's' here str_match(char *s, char *d) ^ setup.c:572:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!str_match(p -> str2, host)) continue; ^~~~~~~~~ setup.c:541:17: note: passing argument to parameter 's' here str_match(char *s, char *d) ^ 10 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c time_stamp.c -o time_stamp.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c version.c -o version.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DSJ3OWNER=\"_sj3\" -c ../sj3lib/string.c -o string.o rm -f sj3serv cc -o sj3serv -L/usr/local/lib comuni.o error.o execute.o main.o setup.o time_stamp.o version.o string.o ../kanakan/libkanakan.a ../sjcompat/libsjcompat.a -Wl,-rpath,/usr/local/lib making all in ./sj3rkcv... rm -f rk_conv.o cc -c -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I../sj3lib -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY rk_conv.c rk_conv.c:184:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->r_key, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:184:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->r_key, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:191:19: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if ((klen = euctosjis(mbstr, rkeylen, mtmp, sizeof(mtmp))) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ rk_conv.c:212:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->r_str, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:212:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->r_str, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:219:19: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if ((slen = euctosjis(mbstr, rstrlen, mtmp, sizeof(mtmp))) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ rk_conv.c:236:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->k_yomi, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:236:33: warning: incompatible pointer types passing 'u_short *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->k_yomi, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:243:11: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if (euctosjis(mtmp2, sizeof(mtmp2), mtmp, sizeof(mtmp)) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ rk_conv.c:346:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->r_key, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:346:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->r_key, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:353:19: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if ((klen = euctosjis(mbstr, rkeylen, mtmp, sizeof(mtmp))) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ rk_conv.c:374:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->r_str, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:374:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->r_str, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:381:19: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if ((slen = sjistoeuc(mbstr, rstrlen, mtmp, sizeof(mtmp))) < 0) { ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ rk_conv.c:398:19: warning: passing 'char *' 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] if (wcstombs((char *)mptr, tabl_w16->k_yomi, BUFSIZ) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:398:33: warning: incompatible pointer types passing 'u_short *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mptr, tabl_w16->k_yomi, BUFSIZ) == -1) { ^~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:405:11: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sjistoeuc(mtmp2, sizeof(mtmp2), mtmp, sizeof(mtmp)) < 0) { ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ rk_conv.c:612:10: warning: implicit declaration of function 'sj3_sjis2euc' is invalid in C99 [-Wimplicit-function-declaration] cc = sjis2euc(cc); ^ ../sj3h/kctype.h:42:25: note: expanded from macro 'sjis2euc' #define sjis2euc sj3_sjis2euc ^ rk_conv.c:973:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] *kstr++ = SetMojilen(rlen - i) + *kp++; ~~~~~~~~~~~~~~~~^~~~ ../sj3h/rk.h:67:25: note: expanded from macro 'SetMojilen' #define SetMojilen(c) ((c << 16) & 0x00ff0000) ^ ~~ rk_conv.c:973:31: note: place parentheses around the '-' expression to silence this warning *kstr++ = SetMojilen(rlen - i) + *kp++; ~~~~~^~~ ../sj3h/rk.h:67:25: note: expanded from macro 'SetMojilen' #define SetMojilen(c) ((c << 16) & 0x00ff0000) ^ rk_conv.c:1057:21: warning: passing 'char *' 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] if (mbstowcs(wstr, (char *)romaji, len) == -1) { ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ rk_conv.c:1066:15: warning: passing 'char *' 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] if (wcstombs((char *)mtmp, outtmp, sizeof(outtmp)) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1066:29: warning: incompatible pointer types passing 'wchar16_t[64]' (aka 'unsigned short[64]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mtmp, outtmp, sizeof(outtmp)) == -1) { ^~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1070:15: warning: passing 'char *' 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] if (wcstombs((char *)romaji, wstr, len) == -1) { ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1070:31: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)romaji, wstr, len) == -1) { ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1075:9: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] len = euctosjis(kana, MAXLLEN*2, mtmp, sizeof(mtmp)); ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ rk_conv.c:1102:21: warning: passing 'char *' 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] if (mbstowcs(wstr, (char *)romaji, len) == -1) { ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ rk_conv.c:1111:15: warning: passing 'char *' 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] if (wcstombs((char *)mtmp, outtmp, sizeof(outtmp)) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1111:29: warning: incompatible pointer types passing 'wchar16_t[64]' (aka 'unsigned short[64]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mtmp, outtmp, sizeof(outtmp)) == -1) { ^~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1115:15: warning: passing 'char *' 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] if (wcstombs((char *)romaji, wstr, len) == -1) { ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1115:31: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)romaji, wstr, len) == -1) { ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ rk_conv.c:1122:9: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] len = sjistoeuc(kana, MAXLLEN*2, mtmp, sizeof(mtmp)); ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ 32 warnings generated. rm -f sj3_rkcv.o cc -c -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I../sj3lib -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY sj3_rkcv.c sj3_rkcv.c:302: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] inlen = strlen(in) + 1; ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:310:7: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sjistoeuc(mstr, inlen, in, inlen) < 0) { ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ sj3_rkcv.c:327:23: warning: passing 'char *' 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] if (mbstowcs(winstr, (char *)mstr, inlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sj3_rkcv.c:366:15: warning: passing 'char *' 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] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:366:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:373:11: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] inlen = euctosjis(out, outlen, mstr, outlen); ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sj3_rkcv.c:375:35: 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] (void) memcpy(out, mstr, strlen(mstr) + 1); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:395: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] inlen = strlen(in) + 1; ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:405:7: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if (euctosjis(mstr, inlen, in, inlen) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sj3_rkcv.c:420:23: warning: passing 'char *' 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] if (mbstowcs(winstr, (char *)mstr, inlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sj3_rkcv.c:459:15: warning: passing 'char *' 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] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:459:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:466:35: 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] (void) memcpy(out, mstr, strlen(mstr) + 1); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:468:11: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] inlen = sjistoeuc(out, outlen, mstr, outlen); ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ sj3_rkcv.c:571: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] inlen = strlen(in) + 1; ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:582:10: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] (void) euctosjis(mstr, inlen, in, inlen); ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sj3_rkcv.c:596:23: warning: passing 'char *' 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] if (mbstowcs(winstr, (char *)mstr, inlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sj3_rkcv.c:633:15: warning: passing 'char *' 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] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:633:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:639:7: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] if (euctosjis(out, outlen, mstr, outlen) < 0) { ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sj3_rkcv.c:661: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] inlen = strlen(in) + 1; ^~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sj3_rkcv.c:672:10: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] (void) euctosjis(mstr, inlen, in, inlen); ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sj3_rkcv.c:686:23: warning: passing 'char *' 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] if (mbstowcs(winstr, (char *)mstr, inlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ./sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sj3_rkcv.c:725:15: warning: passing 'char *' 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] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:725:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] if (wcstombs((char *)mstr, woutstr, outlen) == -1) { ^~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ./sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sj3_rkcv.c:731:7: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] if (sjistoeuc(out, outlen, mstr, outlen) < 0) { ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ 26 warnings generated. rm -f wc16_str.o cc -c -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3h -I../sj3lib -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY wc16_str.c wc16_str.c:225:8: warning: implicit declaration of function 'sj3_sjis2euc' is invalid in C99 [-Wimplicit-function-declaration] ch = sjis2euc(code); ^ wc16_str.c:56:25: note: expanded from macro 'sjis2euc' #define sjis2euc sj3_sjis2euc ^ wc16_str.c:269:10: warning: implicit declaration of function 'sj3_euc2sjis' is invalid in C99 [-Wimplicit-function-declaration] return euc2sjis(ch); ^ wc16_str.c:57:25: note: expanded from macro 'euc2sjis' #define euc2sjis sj3_euc2sjis ^ wc16_str.c:284:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = ((code >> 16) & 0xff)) { ~~^~~~~~~~~~~~~~~~~~~~~~~ wc16_str.c:284:9: note: place parentheses around the assignment to silence this warning if (c = ((code >> 16) & 0xff)) { ^ ( ) wc16_str.c:284:9: note: use '==' to turn this assignment into an equality comparison if (c = ((code >> 16) & 0xff)) { ^ == wc16_str.c:294:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (c = ((code >> 8) & 0xff)) { ~~^~~~~~~~~~~~~~~~~~~~~~ wc16_str.c:294:16: note: place parentheses around the assignment to silence this warning } else if (c = ((code >> 8) & 0xff)) { ^ ( ) wc16_str.c:294:16: note: use '==' to turn this assignment into an equality comparison } else if (c = ((code >> 8) & 0xff)) { ^ == wc16_str.c:301:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (c = (code & 0xff)) { ~~^~~~~~~~~~~~~~~ wc16_str.c:301:16: note: place parentheses around the assignment to silence this warning } else if (c = (code & 0xff)) { ^ ( ) wc16_str.c:301:16: note: use '==' to turn this assignment into an equality comparison } else if (c = (code & 0xff)) { ^ == wc16_str.c:326:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = ((code >> 8) & 0xff)) { ~~^~~~~~~~~~~~~~~~~~~~~~ wc16_str.c:326:9: note: place parentheses around the assignment to silence this warning if (c = ((code >> 8) & 0xff)) { ^ ( ) wc16_str.c:326:9: note: use '==' to turn this assignment into an equality comparison if (c = ((code >> 8) & 0xff)) { ^ == wc16_str.c:333:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (c = (code & 0xff)) { ~~^~~~~~~~~~~~~~~ wc16_str.c:333:16: note: place parentheses around the assignment to silence this warning } else if (c = (code & 0xff)) { ^ ( ) wc16_str.c:333:16: note: use '==' to turn this assignment into an equality comparison } else if (c = (code & 0xff)) { ^ == wc16_str.c:416:30: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'wchar16_t *' (aka 'unsigned short *') [-Wincompatible-pointer-types] return sj3_wcs2eucs16(mb, ws, n); ^~ wc16_str.c:276:46: note: passing argument to parameter 'ws' here sj3_wcs2eucs16(unsigned char *mb, wchar16_t *ws, int n) ^ wc16_str.c:418:31: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'wchar16_t *' (aka 'unsigned short *') [-Wincompatible-pointer-types] return sj3_wcs2sjiss16(mb, ws, n); ^~ wc16_str.c:318:47: note: passing argument to parameter 'ws' here sj3_wcs2sjiss16(unsigned char *mb, wchar16_t *ws, int n) ^ 9 warnings generated. rm -f libsj3rkcv.a ar cq libsj3rkcv.a rk_conv.o sj3_rkcv.o wc16_str.o ranlib libsj3rkcv.a making all in ./sj3lib... rm -f level1.o unshared/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 level1.c:320:1: warning: non-void function does not return a value [-Wreturn-type] } ^ level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = getservbyname(sj3_port_name, "tcp")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning if (sp = getservbyname(sj3_port_name, "tcp")) ^ ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison 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] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 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] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 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] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison 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] put_string(dictname, dictlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] if (sj3_error_number = get_int()) return 0; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return 0; ^ ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(stdyname, stdylen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison 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] srclen = strlen(src) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison 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] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison 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] douon -> dlen = strlen(douon -> ddata); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen1 = strlen(yomi1) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] yomilen2 = strlen(yomi2) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] get_nstring(ret -> hostname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 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] get_nstring(ret -> username, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 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] get_nstring(ret -> progname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == 70 warnings generated. rm -f level1.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 level1.c:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = getservbyname(sj3_port_name, "tcp")) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level1.c:400:9: note: place parentheses around the assignment to silence this warning if (sp = getservbyname(sj3_port_name, "tcp")) ^ ( ) level1.c:400:9: note: use '==' to turn this assignment into an equality comparison 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] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 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] put_string(host, hostlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(user, userlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(prog, proglen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (put_over(buflen, 3, put_string, host, hostlen, put_string, user, ^~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] userlen, put_string, prog, proglen, NULL, NULL, 0) == ERROR) ^~~~ level1.c:168:33: note: passing argument to parameter 'str3' here 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] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:528:11: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:528:11: note: use '==' to turn this assignment into an equality comparison if (tmp = get_int()) { ^ == level1.c:548:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = get_int()) { ~~~~^~~~~~~~~~~ level1.c:548:10: note: place parentheses around the assignment to silence this warning if (tmp = get_int()) { ^ ( ) level1.c:548:10: note: use '==' to turn this assignment into an equality comparison 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] put_string(dictname, dictlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, dictname, dictlen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] if (sj3_error_number = get_int()) return 0; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:604:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return 0; ^ ( ) level1.c:604:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:617:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:617:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(stdyname, stdylen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] put_string(password, passlen); ^~~~~~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, stdyname, stdylen, put_string, ^~~~~~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] password, passlen, NULL, NULL, 0, NULL, NULL, 0) == ERROR) ^~~~~~~~ level1.c:167:33: note: passing argument to parameter 'str2' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:646:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:646:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:657:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:657:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:671:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:671:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:686:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:686:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:697:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:697:23: note: use '==' to turn this assignment into an equality comparison 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] srclen = strlen(src) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:733:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:733:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:733:23: note: use '==' to turn this assignment into an equality comparison 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] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:741:11: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:741:11: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:750:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = get_byte()) { ~~^~~~~~~~~~~~ level1.c:750:12: note: place parentheses around the assignment to silence this warning while (c = get_byte()) { ^ ( ) level1.c:750:12: note: use '==' to turn this assignment into an equality comparison while (c = get_byte()) { ^ == level1.c:800:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:800:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:800:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:820:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:820:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:840:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:840:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:873:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:873:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:902:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:902:23: note: use '==' to turn this assignment into an equality comparison 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] douon -> dlen = strlen(douon -> ddata); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:936:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:936:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:936:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen1 = strlen(yomi1) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] yomilen2 = strlen(yomi2) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:967:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:967:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:967:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1001:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1001:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1001:23: note: use '==' to turn this assignment into an equality comparison 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] yomilen = strlen(yomi) + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] kanjilen = strlen(kanji) + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ level1.c:1032:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1032:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1032:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1052:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1052:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1073:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1073:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1094:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1094:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1129:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1129:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 4, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1160:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1160:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 1, put_string, path, pathlen, NULL, NULL, 0, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1187:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1187:23: note: use '==' to turn this assignment into an equality comparison 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] put_string(path, pathlen); ^~~~ level1.c:158:19: note: passing argument to parameter 'p' here 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] if (put_over(buflen, 2, put_string, path, pathlen, put_ndata, ^~~~ level1.c:166:33: note: passing argument to parameter 'str1' here 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] get_nstring(ret -> hostname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 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] get_nstring(ret -> username, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here 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] get_nstring(ret -> progname, SJ3_NAME_LENGTH); ^~~~~~~~~~~~~~~ level1.c:263:21: note: passing argument to parameter 'p' here get_nstring(u_char *p, int n) ^ level1.c:1268:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1268:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1268:23: note: use '==' to turn this assignment into an equality comparison 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] if (sj3_error_number = get_int()) return ERROR; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ level1.c:1279:23: note: place parentheses around the assignment to silence this warning if (sj3_error_number = get_int()) return ERROR; ^ ( ) level1.c:1279:23: note: use '==' to turn this assignment into an equality comparison if (sj3_error_number = get_int()) return ERROR; ^ == 69 warnings generated. rm -f sj.o unshared/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 sj.c:98:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_dirs(path) ~~~~~~ ^ 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] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> srclen = strlen(yomi); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> srclen = strlen(yp); ^~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sj3_douoncnt(u_char *yomi) ^ 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] dou[j].ddata, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 35 warnings generated. rm -f sj.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 sj.c:98:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_dirs(path) ~~~~~~ ^ 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] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> srclen = strlen(yomi); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((len = strlen(yomi)) > SJ3_IKKATU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] len = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] bun -> destlen = strlen(src); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] bun -> srclen = strlen(yp); ^~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] len = sj3_str_sjistoeuc(knj, knjorg, kp, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here int sj3_str_sjistoeuc(unsigned char *, int, unsigned char *, unsigned char *, int *); ^ sj.c:529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sj3_douoncnt(u_char *yomi) ^ 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] if ((i = strlen(yomi)) > SJ3_BUNSETU_YOMI) return 0; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] dou[j].ddata, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi1, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf2, sizeof(buf2), yomi2, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(buf1, sizeof(buf1), yomi, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] l = sj3_str_euctosjis(kbuf, sizeof(kbuf), kanji, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:247:77: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] slen = strlen(buf) + 1; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] l = sj3_str_sjistoeuc(kbuf, sizeof(kbuf), buf, client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] client.default_char, &defuse); ^~~~~~~~~~~~~~~~~~~ ./sj3lib.h:246:77: note: passing argument to parameter here 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] slen += strlen(&(buf[slen])) + 1; ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 35 warnings generated. rm -f string.o unshared/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 rm -f string.o cc -c -O2 -pipe -Wno-return-type -fcommon -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 rm -f 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 rm -f libsj3lib.a + cd unshared + ar cq ../libsj3lib.a level1.o sj.o string.o ranlib libsj3lib.a making all in ./sj3... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c sj3ver.c -o sj3ver.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c version.c -o version.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c sj3.c -o sj3.o sj3.c:152:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char **argv) ^ sj3.c:503:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] master = open (line, 2); ^ sj3.c:648:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = ttyname (2)) ~~~^~~~~~~~~~~~~ sj3.c:648:9: note: place parentheses around the assignment to silence this warning if (cp = ttyname (2)) ^ ( ) sj3.c:648:9: note: use '==' to turn this assignment into an equality comparison if (cp = ttyname (2)) ^ == sj3.c:657:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ttygrp = getgrnam ("tty")) ~~~~~~~^~~~~~~~~~~~~~~~~~ sj3.c:657:13: note: place parentheses around the assignment to silence this warning if (ttygrp = getgrnam ("tty")) ^ ( ) sj3.c:657:13: note: use '==' to turn this assignment into an equality comparison if (ttygrp = getgrnam ("tty")) ^ == sj3.c:776:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = *ep++) { ~~~^~~~~~~ sj3.c:776:12: note: place parentheses around the assignment to silence this warning while (dp = *ep++) { ^ ( ) sj3.c:776:12: note: use '==' to turn this assignment into an equality comparison while (dp = *ep++) { ^ == sj3.c:939:10: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] slave = open (line, 2); ^ sj3.c:978:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *path++) { ~~^~~~~~~~~ sj3.c:978:11: note: place parentheses around the assignment to silence this warning while (c = *path++) { ^ ( ) sj3.c:978:11: note: use '==' to turn this assignment into an equality comparison while (c = *path++) { ^ == 7 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c funckey.c -o funckey.o funckey.c:75:10: warning: incompatible pointer to integer conversion initializing 'char' with an expression of type 'void *' [-Wint-conversion] { NULL, NULL } ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ funckey.c:140:8: warning: passing 'char[8]' 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] ckeyp->key_seq, SEQLEN); ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ funckey.c:192:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match (word[1].word_str, comstr[i])) { ^ funckey.c:297:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match (word[1].word_str, comstr[i])) { ^ funckey.c:305:7: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match (word[2].word_str, comstr[i])) { ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c term.c -o term.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c sjgetchar.c -o sjgetchar.o sjgetchar.c:276:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((n = read (master, outbuf, BUFSIZ)) > 0) { ^ sjgetchar.c:346:17: warning: passing 'char *' 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] val = wcstombs((char *) buff, wb, (size_t) n * 3); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjgetchar.c:346:32: warning: incompatible pointer types passing 'wchar16_t[128]' (aka 'unsigned short[128]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] val = wcstombs((char *) buff, wb, (size_t) n * 3); ^~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjgetchar.c:354:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] val = write(master, buff, val); ^ sjgetchar.c:401:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((count = read(STDIN, buff, n)) <= 0) ^ sjgetchar.c:455:40: warning: passing 'char *' 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] wnum = mbstowcs((wchar16_t *) wcbuff, (char *) buff, count); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sjgetchar.c:480:17: warning: passing 'char *' 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] num = wcstombs((char *) buff, s, (size_t ) (BUFFLENGTH * 3)); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjgetchar.c:480:32: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] num = wcstombs((char *) buff, s, (size_t ) (BUFFLENGTH * 3)); ^ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ 8 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c conv.c -o conv.o conv.c:169:14: warning: implicit declaration of function 'parse_command' is invalid in C99 [-Wimplicit-function-declaration] keyvalue = parse_command (ibuf, &buf_count); ^ 1 warning generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c stat_conv.c -o stat_conv.o stat_conv.c:293:6: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match (word[1].word_str, WCOn)) ^ stat_conv.c:447:6: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ stat_conv.c:524:6: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c henkan.c -o henkan.o henkan.c:322:40: warning: implicit declaration of function 'sj3_jis2euc' is invalid in C99 [-Wimplicit-function-declaration] code = jis2euc(code); ^ ../sj3h/kctype.h:47:25: note: expanded from macro 'jis2euc' #define jis2euc sj3_jis2euc ^ henkan.c:325:40: warning: implicit declaration of function 'sj3_sjis2euc' is invalid in C99 [-Wimplicit-function-declaration] code = sjis2euc(code); ^ ../sj3h/kctype.h:42:25: note: expanded from macro 'sjis2euc' #define sjis2euc sj3_sjis2euc ^ henkan.c:653:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c romaji.c -o romaji.o romaji.c:64:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ romaji.c:84:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ romaji.c:155:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ romaji.c:477:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ romaji.c:483:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c display.c -o display.o display.c:71:8: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] val = tgetent (bp, term_name); ^ display.c:79:20: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] if ((val = tgetnum("co")) < 0) { ^ display.c:89:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = getenv("ROWS")) { ~~~~^~~~~~~~~~~~~~~~ display.c:89:17: note: place parentheses around the assignment to silence this warning if (tmp = getenv("ROWS")) { ^ ( ) display.c:89:17: note: use '==' to turn this assignment into an equality comparison if (tmp = getenv("ROWS")) { ^ == display.c:93:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = getenv("COLUMNS")) { ~~~~^~~~~~~~~~~~~~~~~~~ display.c:93:17: note: place parentheses around the assignment to silence this warning if (tmp = getenv("COLUMNS")) { ^ ( ) display.c:93:17: note: use '==' to turn this assignment into an equality comparison if (tmp = getenv("COLUMNS")) { ^ == display.c:127:21: warning: implicit declaration of function 'tgetflag' is invalid in C99 [-Wimplicit-function-declaration] if ((status_line = tgetflag("hs")) && tgetflag("es")) { ^ display.c:178:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(I2, 1, erroutc); ^ display.c:185:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(DS, 1, outc); ^ display.c:255:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(US, 1, outc); ^ display.c:261:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(UE, 1, outc); ^ display.c:267:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(SO, 1, outc); ^ display.c:273:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(SE, 1, outc); ^ display.c:281:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(BEL, 1, outc); ^ display.c:290:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(CM, col - 1, row - 1), 1, outc); ^ display.c:290:8: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(CM, col - 1, row - 1), 1, outc); ^ display.c:302:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs (SC, 1, outc); ^ display.c:303:9: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tputs (tgoto (CS, row2, row1 - 1), 1, outc); ^ display.c:336:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(RP, 1, outc); ^ display.c:398:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = CRI ()) { ~~^~~~~~~~ display.c:398:13: note: place parentheses around the assignment to silence this warning while (c = CRI ()) { ^ ( ) display.c:398:13: note: use '==' to turn this assignment into an equality comparison while (c = CRI ()) { ^ == display.c:469:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(CE, 1, outc); ^ display.c:480:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs (tgoto (TS, 0, 0), 1, outc); ^ display.c:480:10: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tputs (tgoto (TS, 0, 0), 1, outc); ^ display.c:493:3: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs (FS, 1, outc); ^ 22 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c code.c -o code.o code.c:75:13: warning: implicit declaration of function 'sj3_jis2euc' is invalid in C99 [-Wimplicit-function-declaration] ccode = jis2euc(ccode & 0x7f7f); ^ ../sj3h/kctype.h:47:25: note: expanded from macro 'jis2euc' #define jis2euc sj3_jis2euc ^ code.c:164:25: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ code.c:171:24: warning: implicit declaration of function 'sj3_sjis2jis' is invalid in C99 [-Wimplicit-function-declaration] return(sjis2jis(code)); ^ ../sj3h/kctype.h:45:25: note: expanded from macro 'sjis2jis' #define sjis2jis sj3_sjis2jis ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c etc.c -o etc.o etc.c:231:19: warning: passing 'char *' 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] (void) wcstombs((char *)mtmp, WCMHelp, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:231:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)mtmp, WCMHelp, BUFFLENGTH); ^~~~~~~ ../sj3h/wchar16.h:169:18: note: expanded from macro 'WCMHelp' #define WCMHelp WcMessages[12] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:233:25: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:238:33: warning: passing 'char *' 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] (void) wcstombs((char *)mtmp, WCMHelp, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:238:47: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)mtmp, WCMHelp, BUFFLENGTH); ^~~~~~~ ../sj3h/wchar16.h:169:18: note: expanded from macro 'WCMHelp' #define WCMHelp WcMessages[12] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:240:39: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:258:31: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:270:17: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if (*RCfile == (char)NULL) { ^~~~~~~~~~ etc.c:272:18: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] if (*RCfile == (char)NULL) ^~~~~~~~~~ etc.c:274:20: warning: passing 'char *' 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] (void) wcstombs((char *)SUCCorFAIL, WCNOTHsjrc, BUFFLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:274:40: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)SUCCorFAIL, WCNOTHsjrc, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:215:26: note: expanded from macro 'WCNOTHsjrc' #define WCNOTHsjrc WcMessages[47] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:275:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf((char *)tmp, sizeof(tmp), (char *)SUCCorFAIL); ^ ~~~~~~~~~~ etc.c:275:39: note: treat the string as an argument to avoid this snprintf((char *)tmp, sizeof(tmp), (char *)SUCCorFAIL); ^ "%s", etc.c:276:26: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:280:20: warning: passing 'char *' 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] (void) wcstombs((char *)SUCCorFAIL, WCSUCCsjrc, BUFFLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:280:40: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)SUCCorFAIL, WCSUCCsjrc, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:213:20: note: expanded from macro 'WCSUCCsjrc' #define WCSUCCsjrc WcMessages[45] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:282:26: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:287:20: warning: passing 'char *' 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] (void) wcstombs((char *)SUCCorFAIL, WCSUCCsjrc, BUFFLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:287:40: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)SUCCorFAIL, WCSUCCsjrc, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:213:20: note: expanded from macro 'WCSUCCsjrc' #define WCSUCCsjrc WcMessages[45] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:289:20: warning: passing 'char *' 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] (void) wcstombs((char *)SUCCorFAIL, WCFAILsjrc, BUFFLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:289:40: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)SUCCorFAIL, WCFAILsjrc, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:214:20: note: expanded from macro 'WCFAILsjrc' #define WCFAILsjrc WcMessages[46] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:292:25: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:309:18: warning: passing 'char *' 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] (void) wcstombs((char *)mtmp, WCWeight_mes, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:309:32: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)mtmp, WCWeight_mes, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:218:26: note: expanded from macro 'WCWeight_mes' #define WCWeight_mes WcMessages[48] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:311:24: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:341:33: warning: passing 'char *' 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] (void) wcstombs((char *)dtmp, WCDiscon, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:341:47: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)dtmp, WCDiscon, BUFFLENGTH); ^~~~~~~~ ../sj3h/wchar16.h:225:19: note: expanded from macro 'WCDiscon' #define WCDiscon WcMessages[52] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:343:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ etc.c:344:39: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:350:21: warning: passing 'char *' 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] (void) wcstombs((char *)dtmp, WCRserv_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:350:35: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)dtmp, WCRserv_OK, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:224:20: note: expanded from macro 'WCRserv_OK' #define WCRserv_OK WcMessages[51] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:352:27: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_dcflag(flag) ^ etc.c:392:19: warning: passing 'char *' 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] (void) wcstombs((char *)rtmp, WCRserv, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:392:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)rtmp, WCRserv, BUFFLENGTH); ^~~~~~~ ../sj3h/wchar16.h:223:18: note: expanded from macro 'WCRserv' #define WCRserv WcMessages[50] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:394:25: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ etc.c:419:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ etc.c:431:20: warning: passing 'char *' 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] (void) wcstombs((char *)rtmp, WCRserv_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:431:34: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)rtmp, WCRserv_OK, BUFFLENGTH); ^~~~~~~~~~ ../sj3h/wchar16.h:224:20: note: expanded from macro 'WCRserv_OK' #define WCRserv_OK WcMessages[51] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ etc.c:433:26: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ 39 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c toroku.c -o toroku.o toroku.c:61:8: warning: implicit declaration of function 'getkstr' is invalid in C99 [-Wimplicit-function-declaration] val = getkstr (kanji, KLEN, WCGtoroku); ^ toroku.c:135:19: warning: passing 'char *' 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] (void) wcstombs((char *)ytmp, WCMyomi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:135:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ytmp, WCMyomi, YOMILEN+1); ^~~~~~~ ../sj3h/wchar16.h:185:18: note: expanded from macro 'WCMyomi' #define WCMyomi WcMessages[22] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:136:19: warning: passing 'char *' 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] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:136:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:138:25: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ toroku.c:142:25: warning: passing 'char *' 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] (void) wcstombs((char *)ytmp, WCMyomi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:142:39: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ytmp, WCMyomi, YOMILEN+1); ^~~~~~~ ../sj3h/wchar16.h:185:18: note: expanded from macro 'WCMyomi' #define WCMyomi WcMessages[22] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:143:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)snprintf ((char *)tmp, sizeof(tmp), (char *)ytmp); ^ ~~~~ toroku.c:143:51: note: treat the string as an argument to avoid this (void)snprintf ((char *)tmp, sizeof(tmp), (char *)ytmp); ^ "%s", toroku.c:144:38: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ toroku.c:179:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ toroku.c:183:10: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] (void)exec_romaji2(inc, NULL, wtmp, NULL, len, -1); ^ toroku.c:185:8: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] (void)exec_romaji2(0, NULL, wtmp, NULL, wslen(wtmp), -1); ^ toroku.c:225:19: warning: passing 'char *' 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] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:225:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:226:19: warning: passing 'char *' 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] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:226:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:227:19: warning: passing 'char *' 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] (void) wcstombs((char *)ttmp, WCSYOUKYO_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:227:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ttmp, WCSYOUKYO_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:187:22: note: expanded from macro 'WCSYOUKYO_OK' #define WCSYOUKYO_OK WcMessages[24] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:232:19: warning: passing 'char *' 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] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:232:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:233:19: warning: passing 'char *' 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] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:233:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:234:19: warning: passing 'char *' 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] (void) wcstombs((char *)htmp, hinshi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:234:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)htmp, hinshi, YOMILEN+1); ^~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:235:19: warning: passing 'char *' 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] (void) wcstombs((char *)ttmp, WCTOUROKU_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:235:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ttmp, WCTOUROKU_OK, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:186:22: note: expanded from macro 'WCTOUROKU_OK' #define WCTOUROKU_OK WcMessages[23] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:239:24: warning: passing 'char *' 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] (void) mbstowcs(wtmp, (char *)tmp, BUFFLENGTH + KLEN); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ toroku.c:269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getkstr (s, lim, guide) ^ toroku.c:339:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:349:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:358:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:368:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:387:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:390:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ toroku.c:465:33: warning: passing 'char *' 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] (void) wcstombs((char *)mtmp, tmp, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:465:47: warning: incompatible pointer types passing 'wchar16_t[128]' (aka 'unsigned short[128]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)mtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:466:33: warning: passing 'char *' 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] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:466:47: warning: incompatible pointer types passing 'wchar16_t[33]' (aka 'unsigned short[33]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ytmp, yomi, YOMILEN+1); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:467:33: warning: passing 'char *' 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] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:467:47: warning: incompatible pointer types passing 'wchar16_t[65]' (aka 'unsigned short[65]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ktmp, kanji, KLEN+1); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:468:33: warning: passing 'char *' 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] (void) wcstombs((char *)ttmp, WCSYOUKYO_SUCC, BUFFLENGTH); ^~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:468:47: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *)ttmp, WCSYOUKYO_SUCC, BUFFLENGTH); ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:204:24: note: expanded from macro 'WCSYOUKYO_SUCC' #define WCSYOUKYO_SUCC WcMessages[39] ^~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ toroku.c:470:39: warning: passing 'char *' 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] (void) mbstowcs(tmp2, (char *)mtmp2, BUFFLENGTH * 2); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ 44 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c edit.c -o edit.o edit.c:132:2: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:210:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:233:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:237:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:284:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:289:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:424:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:439:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:471:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (editlen = Insert(Htmp, Ztmp, Omode, Zcol)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:471:16: note: place parentheses around the assignment to silence this warning if (editlen = Insert(Htmp, Ztmp, Omode, Zcol)) { ^ ( ) edit.c:471:16: note: use '==' to turn this assignment into an equality comparison if (editlen = Insert(Htmp, Ztmp, Omode, Zcol)) { ^ == edit.c:487:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:502:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:518:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:521:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (editlen = Substitute(Htmp,Ztmp,Omode,&Zcol,num)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:521:16: note: place parentheses around the assignment to silence this warning if (editlen = Substitute(Htmp,Ztmp,Omode,&Zcol,num)) { ^ ( ) edit.c:521:16: note: use '==' to turn this assignment into an equality comparison if (editlen = Substitute(Htmp,Ztmp,Omode,&Zcol,num)) { ^ == edit.c:555:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:640:11: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] (void)exec_romaji2(0, roma, kana, otmp, ^ edit.c:645:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ edit.c:649:7: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] if (exec_romaji2(inc, roma, kana, otmp, wslen(kana), len)) ^ edit.c:689:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ edit.c:714:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len = Insert(Hs, Zs, omode, *cur)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:714:10: note: place parentheses around the assignment to silence this warning if (len = Insert(Hs, Zs, omode, *cur)) ^ ( ) edit.c:714:10: note: use '==' to turn this assignment into an equality comparison if (len = Insert(Hs, Zs, omode, *cur)) ^ == edit.c:748:4: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ edit.c:753:10: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] (void)exec_romaji2(inc, htmp, ztmp, otmp, len, rlen); ^ edit.c:759:8: warning: implicit declaration of function 'exec_romaji2' is invalid in C99 [-Wimplicit-function-declaration] (void)exec_romaji2(0, htmp, ztmp, otmp, strlen((char *)ztmp), strlen((char *)htmp)); ^ 22 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c eucmessage.c -o eucmessage.o eucmessage.c:441:28: warning: passing 'char *' 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] message_len[i] = jstrlen((char *)EucMessages[i]) + 1; ^~~~~~~~~~~~~~~~~~~~~~ ../sj3h/kctype.h:89:29: note: expanded from macro 'jstrlen' #define jstrlen(s) euclen(s, 65535) ^ ../sj3h/sj3.h:246:27: note: passing argument to parameter here int euclen(unsigned char *, int); ^ eucmessage.c:449:38: warning: passing 'char *' 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] ret = (int) mbstowcs(WcMessages[0], (char *)EucMessages[0], message_len[0]); ^~~~~~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ eucmessage.c:454:33: warning: passing 'char *' 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] ret = mbstowcs(WcMessages[i], (char *)EucMessages[i], message_len[i]); ^~~~~~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c douon.c -o douon.o douon.c:67:12: warning: incompatible pointer types passing 'char *' to parameter of type 'wchar16_t *' (aka 'unsigned short *') [-Wincompatible-pointer-types] Strncpy ((char *)d[0].ddata, s, len); ^~~~~~~~~~~~~~~~~~ ../sj3h/sj3.h:501:25: note: passing argument to parameter here void Strncpy(wchar16_t *, wchar16_t *, int); ^ douon.c:174:25: warning: passing 'char[128]' 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] (void) mbstowcs(wtmp, tmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ douon.c:189:41: warning: passing 'char[128]' 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] (void) wcstombs(tmp, wtmp, BUFFLENGTH); ^~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ douon.c:189:46: warning: incompatible pointer types passing 'wchar16_t[128]' (aka 'unsigned short[128]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs(tmp, wtmp, BUFFLENGTH); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ douon.c:191:48: warning: passing 'char[256]' 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] (void) mbstowcs(wtmp2, tmp2, BUFFLENGTH); ^~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ douon.c:247:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ douon.c:523:2: warning: implicit declaration of function 'SJ2_clstudy' is invalid in C99 [-Wimplicit-function-declaration] SJ2_clstudy (yomi1, yomi2, gdatap); ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c sjrc.c -o sjrc.o sjrc.c:183: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] if (getword(line, word) <= 0) ^~~~ ../sj3h/sj3.h:434:21: note: passing argument to parameter here int getword(u_char *, struct wordent *); ^ sjrc.c:188:8: warning: implicit declaration of function 'match' is invalid in C99 [-Wimplicit-function-declaration] if (match(p, functp->keyword)) { ^ sjrc.c:289:27: warning: passing 'char *' 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] (void) mbstowcs(wcbuf, (char *)p, MAXLINE*2); ^~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sjrc.c:292:12: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] (void) sjistoeuc(buf, MAXLINE*2, (u_char *)p, MAXLINE); ^ ../sj3h/kctype.h:48:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ sjrc.c:294:12: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] (void) euctosjis(buf, MAXLINE*2, (u_char *)p, MAXLINE); ^ ../sj3h/kctype.h:44:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ sjrc.c:296:13: warning: passing 'u_char[512]' (aka 'unsigned char[512]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy(buf, p, sizeof(buf)); ^~~ /usr/include/string.h:99:34: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ sjrc.c:296: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] strlcpy(buf, p, sizeof(buf)); ^ /usr/include/string.h:99:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ sjrc.c:298:27: warning: passing 'char *' 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] (void) mbstowcs(wcbuf, (char *)buf, MAXLINE*2); ^~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sjrc.c:300:39: warning: passing 'char[32]' 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] (void) mbstowcs(ttmp, term_name, MAXLINE); ^~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ sjrc.c:312:13: warning: implicit declaration of function 'sj3_sjis2euc' is invalid in C99 [-Wimplicit-function-declaration] *w++ = sjis2euc(cc); ^ ../sj3h/kctype.h:42:25: note: expanded from macro 'sjis2euc' #define sjis2euc sj3_sjis2euc ^ sjrc.c:802:19: warning: passing 'char[256]' 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] (void) wcstombs(host, word[j+1].word_str, LONGLENGTH); ^~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjrc.c:802:25: warning: incompatible pointer types passing 'wchar16_t[256]' (aka 'unsigned short[256]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs(host, word[j+1].word_str, LONGLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjrc.c:843:19: warning: passing 'char[256]' 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] (void) wcstombs(dict, word[j+1].word_str, LONGLENGTH); ^~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ sjrc.c:843:25: warning: incompatible pointer types passing 'wchar16_t[256]' (aka 'unsigned short[256]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs(dict, word[j+1].word_str, LONGLENGTH); ^~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ 14 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c kigou.c -o kigou.o kigou.c:181:5: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep (); ^ kigou.c:237:34: warning: implicit declaration of function 'sj3_jis2sjis' is invalid in C99 [-Wimplicit-function-declaration] prcode = jis2sjis(prcode); ^ ../sj3h/kctype.h:43:25: note: expanded from macro 'jis2sjis' #define jis2sjis sj3_jis2sjis ^ kigou.c:242:24: warning: passing 'char[20]' 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] (void) mbstowcs(wtmp, tmp, 20); ^~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ kigou.c:255:6: warning: implicit declaration of function 'sj3_jis2euc' is invalid in C99 [-Wimplicit-function-declaration] if (jis2euc(code) == 0) { ^ ../sj3h/kctype.h:47:25: note: expanded from macro 'jis2euc' #define jis2euc sj3_jis2euc ^ kigou.c:278:6: warning: implicit declaration of function 'sj3_jis2euc' is invalid in C99 [-Wimplicit-function-declaration] if (jis2euc(code) == 0) { ^ ../sj3h/kctype.h:47:25: note: expanded from macro 'jis2euc' #define jis2euc sj3_jis2euc ^ kigou.c:279:17: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ 6 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c common.c -o common.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c screen.c -o screen.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c libif.c -o libif.o libif.c:70:18: warning: passing 'char *' 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] (void) wcstombs((char *) yomi, yomiout, BUFFLENGTH*3); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:70:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *) yomi, yomiout, BUFFLENGTH*3); ^~~~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:78:28: warning: passing 'char *' 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] (void) mbstowcs(kanjiout, (char *)kanji, kanjilen); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ libif.c:153:18: warning: passing 'char *' 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] (void) wcstombs((char *) yomi, s, BUFFLENGTH*3); ^~~~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:153:33: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *) yomi, s, BUFFLENGTH*3); ^ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:163:42: warning: passing 'char *' 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] d[i].wlen = (int) mbstowcs(d[i].ddata, (char *)d_sjis[i].ddata, ^~~~~~~~~~~~~~~~~~~~~~~ ../sj3h/wchar16.h:107:49: note: expanded from macro 'mbstowcs' #define mbstowcs(mb, ws, n) sj3_mbstowcs16(mb, ws, n) ^~ ../sj3rkcv/sj3rkcv.h:118:48: note: passing argument to parameter here int sj3_mbstowcs16(wchar16_t *, unsigned char *, int); ^ libif.c:193:18: warning: passing 'char *' 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] (void) wcstombs((char *) y1, yomi1, BUFFLENGTH*2); ^~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:193:31: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *) y1, yomi1, BUFFLENGTH*2); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:194:18: warning: passing 'char *' 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] (void) wcstombs((char *) y2, yomi2, BUFFLENGTH*2); ^~~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:194:31: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void) wcstombs((char *) y2, yomi2, BUFFLENGTH*2); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:210:17: warning: passing 'char *' 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] (void)wcstombs((char *) y, yomi, (YOMILEN+1)*3); ^~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:210:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void)wcstombs((char *) y, yomi, (YOMILEN+1)*3); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:211:17: warning: passing 'char *' 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] (void)wcstombs((char *) k, kanji, (KLEN+1)*3); ^~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:211:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void)wcstombs((char *) k, kanji, (KLEN+1)*3); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:227:17: warning: passing 'char *' 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] (void)wcstombs((char *) y, yomi, (YOMILEN+1)*3); ^~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:227:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void)wcstombs((char *) y, yomi, (YOMILEN+1)*3); ^~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:228:17: warning: passing 'char *' 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] (void)wcstombs((char *) k, kanji, (KLEN+1)*3); ^~~~~~~~~~ ../sj3h/wchar16.h:111:45: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:35: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:228:29: warning: incompatible pointer types passing 'wchar16_t *' (aka 'unsigned short *') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] (void)wcstombs((char *) k, kanji, (KLEN+1)*3); ^~~~~ ../sj3h/wchar16.h:111:49: note: expanded from macro 'wcstombs' #define wcstombs(ws, mb, n) sj3_wcstombs16(ws, mb, n) ^~ ../sj3rkcv/sj3rkcv.h:119:52: note: passing argument to parameter here int sj3_wcstombs16(unsigned char *, unsigned char *, int); ^ libif.c:287:9: warning: implicit declaration of function 'sj3_set_timeout' is invalid in C99 [-Wimplicit-function-declaration] sj3_set_timeout(5); ^ libif.c:306:3: warning: implicit declaration of function 'set_dcflag' is invalid in C99 [-Wimplicit-function-declaration] set_dcflag(1); ^ 20 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../sj3lib -I../include -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DKANJI -DOKB -c nmttyslot.c -o nmttyslot.o nmttyslot.c:71:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((tf = open (ttys, 0)) < 0) ^ nmttyslot.c:74:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (tp = getttys (tf)) { ~~~^~~~~~~~~~~~~~ nmttyslot.c:74:12: note: place parentheses around the assignment to silence this warning while (tp = getttys (tf)) { ^ ( ) nmttyslot.c:74:12: note: use '==' to turn this assignment into an equality comparison while (tp = getttys (tf)) { ^ == 2 warnings generated. rm -f sj3 cc -o sj3 -L/usr/local/lib sj3ver.o version.o sj3.o funckey.o term.o sjgetchar.o conv.o stat_conv.o henkan.o romaji.o display.o code.o etc.o toroku.o edit.o eucmessage.o douon.o sjrc.o kigou.o common.o screen.o libif.o nmttyslot.o ../sj3lib/libsj3lib.a ../sj3rkcv/libsj3rkcv.a ../sjcompat/libsjcompat.a -ltermcap -Wl,-rpath,/usr/local/lib making all in ./sj3dic... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c codecnv.c -o codecnv.o codecnv.c:90:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *s++) { ~~^~~~~~ codecnv.c:90:12: note: place parentheses around the assignment to silence this warning while (i = *s++) { ^ ( ) codecnv.c:90:12: note: use '==' to turn this assignment into an equality comparison while (i = *s++) { ^ == codecnv.c:102:10: warning: implicit declaration of function 'sj3_euc2sjis' is invalid in C99 [-Wimplicit-function-declaration] i = euc2sjis((i << 8) + *s++); ^ ./sjctype.h:47:25: note: expanded from macro 'euc2sjis' #define euc2sjis sj3_euc2sjis ^ codecnv.c:132:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcpy((char *)buf, s, sizeof(buf)); ^ /usr/include/string.h:99:59: note: passing argument to parameter here size_t strlcpy(char * __restrict, const char * __restrict, size_t); ^ codecnv.c:134:3: warning: implicit declaration of function 'sj3_euctosjis' is invalid in C99 [-Wimplicit-function-declaration] euctosjis(buf, BUFSIZ, s, strlen(s)+1); ^ ./sjctype.h:45:25: note: expanded from macro 'euctosjis' #define euctosjis sj3_euctosjis ^ codecnv.c:134:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] euctosjis(buf, BUFSIZ, s, strlen(s)+1); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ codecnv.c:148:19: warning: passing 'char[1024]' 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] printout(stdout, buf); ^~~ codecnv.c:127:35: note: passing argument to parameter 's' here printout(FILE *fp, unsigned char *s) ^ codecnv.c:161:19: warning: passing 'char[1024]' 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] printout(stderr, buf); ^~~ codecnv.c:127:35: note: passing argument to parameter 's' here printout(FILE *fp, unsigned char *s) ^ 7 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c sj3err.c -o sj3err.o sj3err.c:51:27: warning: passing 'char[19]' 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] CASE(SJ3_InternalError, "\245\244\245\363\245\277\241\274\245\312\245\353\245\250\245\351\241\274"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:52:23: warning: passing 'char[9]' 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] CASE(SJ3_NormalEnd, "\300\265\276\357\275\252\316\273"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:53:24: warning: passing 'char[23]' 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] CASE(SJ3_ServerDown, "\245\265\241\274\245\320\241\274\244\254\315\356\244\301\244\306\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:54:24: warning: passing 'char[30]' 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] CASE(SJ3_OpenSocket, "socket \244\316 open \244\313\274\272\307\324\244\267\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:55:27: warning: passing 'char[33]' 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] CASE(SJ3_ConnectSocket, "socket \244\316 connect \244\313\274\272\307\324\244\267\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:56:27: warning: passing 'char[29]' 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] CASE(SJ3_GetHostByName, "gethostbyname \244\313\274\272\307\324\244\267\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:57:23: warning: passing 'char[23]' 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] CASE(SJ3_NotOpened, "\245\252\241\274\245\327\245\363\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:58:28: warning: passing 'char[19]' 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] CASE(SJ3_NotEnoughMemory, "\245\341\245\342\245\352\244\254\302\255\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:59:27: warning: passing 'char[29]' 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] CASE(SJ3_IllegalCommand, "\245\263\245\336\245\363\245\311\244\254\304\352\265\301\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:60:29: warning: passing 'char[21]' 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] CASE(SJ3_DifferentVersion, "\245\320\241\274\245\270\245\347\245\363\244\254\260\343\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:61:24: warning: passing 'char[21]' 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] CASE(SJ3_NoHostName, "\245\333\245\271\245\310\314\276\244\254\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:62:24: warning: passing 'char[21]' 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] CASE(SJ3_NoUserName, "\245\346\241\274\245\266\314\276\244\254\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:63:27: warning: passing 'char[23]' 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] CASE(SJ3_NotAllowedUser, "\300\334\302\263\244\362\265\366\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:64:29: warning: passing 'char[11]' 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] CASE(SJ3_AlreadyConnected, "\300\334\302\263\272\321\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:65:26: warning: passing 'char[19]' 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] CASE(SJ3_NotConnected, "\300\334\302\263\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:66:29: warning: passing 'char[23]' 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] CASE(SJ3_TooLongParameter, "\245\321\245\351\245\341\241\274\245\277\244\254\304\271\244\271\244\256\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:67:29: warning: passing 'char[21]' 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] CASE(SJ3_IllegalParameter, "\245\321\245\351\245\341\241\274\245\277\244\254\260\333\276\357\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:68:23: warning: passing 'char[27]' 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] CASE(SJ3_BadDictID, "\244\275\244\316\244\350\244\246\244\312\274\255\275\361\244\317\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:69:28: warning: passing 'char[23]' 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] CASE(SJ3_IllegalDictFile, "\274\255\275\361\245\325\245\241\245\244\245\353\244\254\260\333\276\357\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:70:28: warning: passing 'char[23]' 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] CASE(SJ3_IllegalStdyFile, "\263\330\275\254\245\325\245\241\245\244\245\353\244\254\260\333\276\357\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:71:28: warning: passing 'char[23]' 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] CASE(SJ3_IncorrectPasswd, "\245\321\245\271\245\357\241\274\245\311\244\254\260\333\244\312\244\352\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:72:26: warning: passing 'char[23]' 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] CASE(SJ3_FileNotExist, "\245\325\245\241\245\244\245\353\244\254\302\270\272\337\244\267\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:73:29: warning: passing 'char[29]' 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] CASE(SJ3_CannotAccessFile, "\245\325\245\241\245\244\245\353\244\313\245\242\245\257\245\273\245\271\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:74:27: warning: passing 'char[29]' 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] CASE(SJ3_CannotOpenFile, "\245\325\245\241\245\244\245\353\244\254\245\252\241\274\245\327\245\363\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:75:29: warning: passing 'char[25]' 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] CASE(SJ3_CannotCreateFile, "\245\325\245\241\245\244\245\353\244\254\272\356\300\256\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:76:27: warning: passing 'char[25]' 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] CASE(SJ3_FileReadError, "\245\352\241\274\245\311\245\250\245\351\241\274\244\254\244\242\244\352\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:77:27: warning: passing 'char[25]' 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] CASE(SJ3_FileWriteError, "\245\351\245\244\245\310\245\250\245\351\241\274\244\254\244\242\244\352\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:78:27: warning: passing 'char[25]' 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] CASE(SJ3_FileSeekError, "\245\267\241\274\245\257\245\250\245\351\241\274\244\254\244\242\244\352\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:79:30: warning: passing 'char[35]' 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] CASE(SJ3_StdyAlreadyOpened, "\263\330\275\254\245\325\245\241\245\244\245\353\244\317\245\252\241\274\245\327\245\363\244\265\244\354\244\306\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:80:30: warning: passing 'char[37]' 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] CASE(SJ3_StdyFileNotOpened, "\263\330\275\254\245\325\245\241\245\244\245\353\244\254\245\252\241\274\245\327\245\363\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:81:29: warning: passing 'char[29]' 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] CASE(SJ3_TooSmallStdyArea, "\312\270\300\341\304\271\263\330\275\254\316\316\260\350\244\254\276\256\244\265\244\271\244\256\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:82:27: warning: passing 'char[35]' 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] CASE(SJ3_LockedByOther, "\302\276\244\316\245\257\245\351\245\244\245\242\245\363\245\310\244\313\245\355\245\303\245\257\244\265\244\354\244\306\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:83:23: warning: passing 'char[21]' 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] CASE(SJ3_NotLocked, "\245\355\245\303\245\257\244\265\244\354\244\306\244\244\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:84:24: warning: passing 'char[27]' 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] CASE(SJ3_NoSuchDict, "\244\275\244\316\244\350\244\246\244\312\274\255\275\361\244\317\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:85:26: warning: passing 'char[25]' 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] CASE(SJ3_ReadOnlyDict, "\275\361\244\255\271\376\244\337\244\307\244\255\244\312\244\244\274\255\275\361\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:86:24: warning: passing 'char[25]' 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] CASE(SJ3_DictLocked, "\274\255\275\361\244\254\245\355\245\303\245\257\244\265\244\354\244\306\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:87:27: warning: passing 'char[25]' 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] CASE(SJ3_BadYomiString, "\265\366\244\265\244\354\244\312\244\244\306\311\244\337\312\270\273\372\316\363\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:88:27: warning: passing 'char[25]' 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] CASE(SJ3_BadKanjiString, "\265\366\244\265\244\354\244\312\244\244\264\301\273\372\312\270\273\372\316\363\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:89:26: warning: passing 'char[19]' 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] CASE(SJ3_BadHinsiCode, "\311\312\273\354\245\263\241\274\245\311\260\333\276\357\244\307\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:90:27: warning: passing 'char[23]' 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] CASE(SJ3_AddDictFailed, "\274\255\275\361\305\320\317\277\244\362\274\272\307\324\244\267\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:91:29: warning: passing 'char[21]' 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] CASE(SJ3_AlreadyExistWord, "\244\271\244\307\244\313\302\270\272\337\244\267\244\306\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:92:28: warning: passing 'char[31]' 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] CASE(SJ3_NoMoreDouonWord, "\244\263\244\354\260\312\276\345\306\261\262\273\270\354\244\362\305\320\317\277\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:93:27: warning: passing 'char[29]' 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] CASE(SJ3_NoMoreUserDict, "\244\263\244\354\260\312\276\345\274\255\275\361\244\313\305\320\317\277\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:94:29: warning: passing 'char[37]' 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] CASE(SJ3_NoMoreIndexBlock, "\244\263\244\354\260\312\276\345\245\244\245\363\245\307\245\303\245\257\245\271\244\313\305\320\317\277\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:95:27: warning: passing 'char[23]' 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] CASE(SJ3_DelDictFailed, "\274\255\275\361\272\357\275\374\244\362\274\272\307\324\244\267\244\336\244\267\244\277"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:96:24: warning: passing 'char[27]' 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] CASE(SJ3_NoSuchWord, "\244\275\244\316\244\350\244\246\244\312\275\317\270\354\244\317\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:97:28: warning: passing 'char[33]' 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] CASE(SJ3_DirAlreadyExist, "\244\275\244\316\245\307\245\243\245\354\245\257\245\310\245\352\244\254\302\270\272\337\244\267\244\306\244\244\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:98:28: warning: passing 'char[29]' 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] CASE(SJ3_CannotCreateDir, "\245\307\245\243\245\354\245\257\245\310\245\352\244\254\272\356\300\256\244\307\244\255\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:99:27: warning: passing 'char[31]' 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] CASE(SJ3_NoMoreDictData, "\244\263\244\354\260\312\276\345\274\255\275\361\245\307\241\274\245\277\244\254\244\242\244\352\244\336\244\273\244\363"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:100:27: warning: passing 'char[29]' 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] CASE(SJ3_UserConnected, "\300\334\302\263\244\267\244\306\244\244\244\353\245\346\241\274\245\266\244\254\244\242\244\352\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:101:27: warning: passing 'char[23]' 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] CASE(SJ3_TooLongPasswd, "\245\321\245\271\245\357\241\274\245\311\244\254\304\271\244\271\244\256\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:102:27: warning: passing 'char[21]' 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] CASE(SJ3_TooLongComment, "\245\263\245\341\245\363\245\310\244\254\304\271\244\271\244\256\244\336\244\271"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3err.c:50:46: note: expanded from macro 'CASE' #define CASE(X, str) case (X): printout(fp, str); break; ^~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ sj3err.c:109:15: warning: passing 'char[3]' 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] printout(fp, "\r\n"); ^~~~~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ 53 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c sj3dic.c -o sj3dic.o sj3dic.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^ sj3dic.c:105:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = sj3_open(serv_name, user_name)) sj3dic_open_error(err); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sj3dic.c:105:10: note: place parentheses around the assignment to silence this warning if (err = sj3_open(serv_name, user_name)) sj3dic_open_error(err); ^ ( ) sj3dic.c:105:10: note: use '==' to turn this assignment into an equality comparison if (err = sj3_open(serv_name, user_name)) sj3dic_open_error(err); ^ == sj3dic.c:119:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = sj3_close()) sj3dic_close_error(err); ~~~~^~~~~~~~~~~~~ sj3dic.c:119:10: note: place parentheses around the assignment to silence this warning if (err = sj3_close()) sj3dic_close_error(err); ^ ( ) sj3dic.c:119:10: note: use '==' to turn this assignment into an equality comparison if (err = sj3_close()) sj3dic_close_error(err); ^ == 3 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c dictdisp.c -o dictdisp.o dictdisp.c:65:8: warning: implicit declaration of function 'sj3_getdict_mb' is invalid in C99 [-Wimplicit-function-declaration] flg = sj3_getdict_mb(buf); ^ dictdisp.c:69:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strlen(p); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dictdisp.c:72:21: 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] printout_mb(fp, "\t"); ^~~~ ./sj3dic.h:29:41: note: passing argument to parameter here void printout_mb(FILE *, unsigned char *); ^ dictdisp.c:76:20: 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] printout_mb(fp, " "); ^~~ ./sj3dic.h:29:41: note: passing argument to parameter here void printout_mb(FILE *, unsigned char *); ^ dictdisp.c:79:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strlen(p); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dictdisp.c:82:21: 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] printout_mb(fp, "\t"); ^~~~ ./sj3dic.h:29:41: note: passing argument to parameter here void printout_mb(FILE *, unsigned char *); ^ dictdisp.c:86:20: 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] printout_mb(fp, " "); ^~~ ./sj3dic.h:29:41: note: passing argument to parameter here void printout_mb(FILE *, unsigned char *); ^ dictdisp.c:88:16: warning: passing 'char *' 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] printout(fp, hns2str(*p)); ^~~~~~~~~~~ ./sj3dic.h:30:38: note: passing argument to parameter here void printout(FILE *, unsigned char *); ^ dictdisp.c:89:19: warning: passing 'char[3]' 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] printout_mb(fp, ":\n"); ^~~~~ ./sj3dic.h:29:41: note: passing argument to parameter here void printout_mb(FILE *, unsigned char *); ^ dictdisp.c:91:9: warning: implicit declaration of function 'sj3_nextdict_mb' is invalid in C99 [-Wimplicit-function-declaration] flg = sj3_nextdict_mb(buf); ^ 10 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c dictmake.c -o dictmake.o dictmake.c:61:10: warning: implicit declaration of function 'sj3_sjistoeuc' is invalid in C99 [-Wimplicit-function-declaration] (void) sjistoeuc(buf, BUFSIZ, h, strlen(h)+1); ^ ./sjctype.h:49:25: note: expanded from macro 'sjistoeuc' #define sjistoeuc sj3_sjistoeuc ^ dictmake.c:66:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(grm = str2hns(hp))) { ^~ ./sj3dic.h:42:19: note: passing argument to parameter here int str2hns(char *); ^ dictmake.c:72:23: 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] err = sj3_touroku_mb(y, k, grm); ^ ../sj3lib/sj3lib.h:183:28: note: passing argument to parameter here int sj3_touroku_mb(u_char *, u_char *, int); ^ dictmake.c:72:26: 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] err = sj3_touroku_mb(y, k, grm); ^ ../sj3lib/sj3lib.h:183:38: note: passing argument to parameter here int sj3_touroku_mb(u_char *, u_char *, int); ^ dictmake.c:154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = (unsigned char *)strchr((char *)buf, '\n')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dictmake.c:154:9: note: place parentheses around the assignment to silence this warning if (p = (unsigned char *)strchr((char *)buf, '\n')) ^ ( ) dictmake.c:154:9: note: use '==' to turn this assignment into an equality comparison if (p = (unsigned char *)strchr((char *)buf, '\n')) ^ == dictmake.c:209:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] touroku(yom, knj, grm); ^~~ dictmake.c:54:15: note: passing argument to parameter 'y' here touroku(char *y, char *k, char *h) ^ dictmake.c:209:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] touroku(yom, knj, grm); ^~~ dictmake.c:54:24: note: passing argument to parameter 'k' here touroku(char *y, char *k, char *h) ^ dictmake.c:209:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] touroku(yom, knj, grm); ^~~ dictmake.c:54:33: note: passing argument to parameter 'h' here touroku(char *y, char *k, char *h) ^ 8 warnings generated. cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c hinsi.c -o hinsi.o cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c sjrc.c -o sjrc.o sjrc.c:214:11: warning: implicit declaration of function 'sj3_euc2sjis' is invalid in C99 [-Wimplicit-function-declaration] cc = euc2sjis(cc); ^ ./sjctype.h:47:25: note: expanded from macro 'euc2sjis' #define euc2sjis sj3_euc2sjis ^ 1 warning generated. rm -f sj3dic cc -o sj3dic -L/usr/local/lib codecnv.o sj3err.o sj3dic.o dictdisp.o dictmake.o hinsi.o sjrc.o ../sj3lib/libsj3lib.a ../sjcompat/libsjcompat.a -Wl,-rpath,/usr/local/lib making all in ./sj3stat... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../include -I../sj3lib -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -c sj3stat.c -o sj3stat.o sj3stat.c:70:6: warning: implicit declaration of function 'sj3_make_connection' is invalid in C99 [-Wimplicit-function-declaration] if (sj3_make_connection(&clnt, hname, uname, pname) == ERROR) { ^ sj3stat.c:83:2: warning: implicit declaration of function 'sj3_version' is invalid in C99 [-Wimplicit-function-declaration] sj3_version(&clnt, ver, sizeof(ver)); ^ sj3stat.c:84:6: warning: implicit declaration of function 'sj3_who' is invalid in C99 [-Wimplicit-function-declaration] n = sj3_who(&clnt, who, sizeof(who)/sizeof(who[0])); ^ sj3stat.c:88:22: warning: invalid conversion specifier ',' [-Wformat-invalid-specifier] fprintf (stdout, "%, "); ~^ sj3stat.c:103:9: warning: implicit declaration of function 'sj3_erase_connection' is invalid in C99 [-Wimplicit-function-declaration] (void) sj3_erase_connection(&clnt); ^ 5 warnings generated. rm -f sj3stat cc -o sj3stat -L/usr/local/lib sj3stat.o ../sj3lib/libsj3lib.a ../sjcompat/libsjcompat.a -Wl,-rpath,/usr/local/lib making all in ./demo... cc -O2 -pipe -Wno-return-type -fcommon -fstack-protector-strong -fno-strict-aliasing -I../sj3h -I../include -I../sj3lib -I../sj3rkcv -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DHAVE_VSNPRINTF -DHAVE_SNPRINTF -DHAVE_STRLCAT -DHAVE_STRLCPY -DORG -DSJ3CONFDIR=\"/usr/local/etc/sj3\" -c sample.c -o sample.o sample.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ sample.c:134:10: warning: implicit declaration of function 'getlogin' is invalid in C99 [-Wimplicit-function-declaration] uname = getlogin(); ^ sample.c:134:8: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] uname = getlogin(); ^ ~~~~~~~~~~ sample.c:137:23: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pwd = getpwuid(getuid())) != NULL) { ^ sample.c:150:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ret = sj3_rkinit(RKFILE)) { ~~~~^~~~~~~~~~~~~~~~~~~~ sample.c:150:10: note: place parentheses around the assignment to silence this warning if (ret = sj3_rkinit(RKFILE)) { ^ ( ) sample.c:150:10: note: use '==' to turn this assignment into an equality comparison if (ret = sj3_rkinit(RKFILE)) { ^ == sample.c:217:12: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcat(kanji, bun[ret - 1].srcstr, sizeof(kanji)); ^~~~~ /usr/include/string.h:98:34: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ sample.c:217:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlcat(kanji, bun[ret - 1].srcstr, sizeof(kanji)); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here size_t strlcat(char * __restrict, const char * __restrict, size_t); ^ sample.c:251:15: warning: implicit declaration of function 'sj3_rkconv_mb' is invalid in C99 [-Wimplicit-function-declaration] if ((len = sj3_rkconv_mb(rbuf, ybuf)) > 0) { ^ sample.c:257:19: warning: passing 'unsigned char[16]' 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] rlen = strlen(rbuf); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sample.c:285:15: warning: implicit declaration of function 'sj3_rkconv_mb' is invalid in C99 [-Wimplicit-function-declaration] if ((len = sj3_rkconv_mb(rbuf, ybuf)) > 0) { ^ sample.c:291:19: warning: passing 'unsigned char[16]' 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] rlen = strlen(rbuf); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sample.c:334:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(out_str, in_str, len); ^~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ sample.c:334:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(out_str, in_str, len); ^~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 13 warnings generated. rm -f sample cc -o sample -L/usr/local/lib sample.o ../sj3lib/libsj3lib.a ../sj3rkcv/libsj3rkcv.a ../sjcompat/libsjcompat.a -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== 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-server-2.0.1.20_10 ===> Generating temporary packing list ===> Creating groups. ===> Creating users installing in ./sjcompat... install in sjcompat done installing in ./dict... installing in dict/tool... /usr/bin/install -c -s sj3mkdic /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/bin/sj3mkdic install in dict/tool done installing in dict/dict... + mkdir -p /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/lib/sj3/dict /usr/bin/install -c -m 0444 sj3main.dic /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/lib/sj3/dict/sj3main.dic install in dict/dict done installing in ./doc... installing in doc/doc... + mkdir -p /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 + /usr/bin/install -c -m 0444 Nihongo.ps.Z /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 + /usr/bin/install -c -m 0444 hinsi.ms /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 + /usr/bin/install -c -m 0444 makedict.ms /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 + /usr/bin/install -c -m 0444 sj3lib.ms /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 + /usr/bin/install -c -m 0444 sj3serv.ms /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/doc/sj3 install in doc/doc done installing in doc/man... + /usr/bin/install -c -m 0444 sj3.1 /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/man/ja/man1 + /usr/bin/install -c -m 0444 sj3dic.1 /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/man/ja/man1 + /usr/bin/install -c -m 0444 sj3mkdic.1 /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/man/ja/man1 + /usr/bin/install -c -m 0444 sj3serv.1 /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/share/man/ja/man1 install in doc/man done installing in ./kanakan... install in kanakan done installing in ./server... /usr/bin/install -c -s sj3serv /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/sbin/sj3serv + mkdir -p /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3 /usr/bin/install -c -m 0444 serverrc /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/serverrc install in server done installing in ./sj3rkcv... install in sj3rkcv done installing in ./sj3lib... install in sj3lib done installing in ./sj3... /usr/bin/install -c -s sj3 /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/bin/sj3 /usr/bin/install -c -m 0444 Sjrc /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/sjrc /usr/bin/install -c -m 0444 Sjrk /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/sjrk /usr/bin/install -c -m 0444 Xterm.cvt /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/cvtkey.xterm /usr/bin/install -c -m 0444 News.cvt /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/cvtkey.news /usr/bin/install -c -m 0444 Nwp511.cvt /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/cvtkey.nwp511 /usr/bin/install -c -m 0444 Nwp517.cvt /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/etc/sj3/cvtkey.nwp517 install in sj3 done installing in ./sj3dic... /usr/bin/install -c -s sj3dic /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/bin/sj3dic install in sj3dic done installing in ./sj3stat... /usr/bin/install -c -s sj3stat /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/bin/sj3stat install in sj3stat done installing in ./demo... install in demo done installing man pages in ./sjcompat... install.man in sjcompat done installing man pages in ./dict... installing man pages in dict/tool... install.man in dict/tool done installing man pages in dict/dict... install.man in dict/dict done installing man pages in ./doc... installing man pages in doc/doc... install.man in doc/doc done installing man pages in doc/man... install.man in doc/man done installing man pages in ./kanakan... install.man in kanakan done installing man pages in ./server... install.man in server done installing man pages in ./sj3rkcv... install.man in sj3rkcv done installing man pages in ./sj3lib... install.man in sj3lib done installing man pages in ./sj3... install.man in sj3 done installing man pages in ./sj3dic... install.man in sj3dic done installing man pages in ./sj3stat... install.man in sj3stat done installing man pages in ./demo... install.man in demo done /bin/mkdir -p /wrkdirs/usr/ports/japanese/sj3-server/work/stage/usr/local/lib/sj3/dict/user ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T13:58:10+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=e427ab10bf' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-sj3-server-2.0.1.20_10 ===> Building ja-sj3-server-2.0.1.20_10 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-sj3-server-2.0.1.20_10 build of japanese/sj3-server | ja-sj3-server-2.0.1.20_10 ended at Mon Apr 1 14:58:50 BST 2024 build time: 00:00:41