=>> Building japanese/onew build started at Sun Mar 31 18:52:56 BST 2024 port directory: /usr/ports/japanese/onew package name: ja-onew-2.2.10_2 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 2147 May 6 2023 /usr/ports/japanese/onew/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: a16c62ae0f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 08 ---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/08/.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-onew-2.2.10_2: CANNA=on: Build Canna-backend library CANNA_FREEWNN=on: Build Canna+FreeWnn-backend library CANNA_WNN6=on: Build Canna+Wnn6-backend library CANNA_WNN7=on: Build Canna+Wnn7-backend library DOCS=on: Build and/or install documentation FREEWNN=on: Build FreeWnn-backend library WNN6=on: Build Wnn6-backend library WNN7=on: Build Wnn7-backend library ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/onew/work/.cache HOME=/wrkdirs/usr/ports/japanese/onew/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/onew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/onew/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/onew/work/.cache HOME=/wrkdirs/usr/ports/japanese/onew/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/onew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/onew/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 -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/onew" EXAMPLESDIR="share/examples/onew" DATADIR="share/onew" WWWDIR="www/onew" ETCDIR="etc/onew" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/onew DOCSDIR=/usr/local/share/doc/onew EXAMPLESDIR=/usr/local/share/examples/onew WWWDIR=/usr/local/www/onew ETCDIR=/usr/local/etc/onew --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-onew-2.2.10_2 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-onew-2.2.10_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-onew-2.2.10_2 =========================================================================== =================================================== ===== 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-onew-2.2.10_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-onew-2.2.10_2 for building => SHA256 Checksum OK for jvim2.0r+onew2.2.10.tar.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-onew-2.2.10_2 for building ===> Extracting for ja-onew-2.2.10_2 ===> Fetching all distfiles required by ja-onew-2.2.10_2 for building => SHA256 Checksum OK for jvim2.0r+onew2.2.10.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-onew-2.2.10_2 ===> Applying FreeBSD patches for ja-onew-2.2.10_2 from /usr/ports/japanese/onew/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - not found ===> Installing existing package /packages/All/ja-FreeWnn-lib-1.1.1.a021_15.pkg [pkg-builder.dan.net.uk] Installing ja-FreeWnn-lib-1.1.1.a021_15... [pkg-builder.dan.net.uk] Extracting ja-FreeWnn-lib-1.1.1.a021_15: .......... done ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found ===> Returning to build of ja-onew-2.2.10_2 ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found ===> ja-onew-2.2.10_2 depends on file: /usr/local/lib/libjd.a - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-onew-2.2.10_2 depends on shared library: libcanna.so - not found ===> Installing existing package /packages/All/ja-canna-lib-3.7p3_9.pkg [pkg-builder.dan.net.uk] Installing ja-canna-lib-3.7p3_9... [pkg-builder.dan.net.uk] Extracting ja-canna-lib-3.7p3_9: .......... done ===> ja-onew-2.2.10_2 depends on shared library: libcanna.so - found (/usr/local/lib/libcanna.so) ===> Returning to build of ja-onew-2.2.10_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-onew-2.2.10_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-onew-2.2.10_2 install -m 0644 /wrkdirs/usr/ports/japanese/onew/work/ONEW_CONF-for-canna /wrkdirs/usr/ports/japanese/onew/work/onew/ONEW_CONF cd /wrkdirs/usr/ports/japanese/onew/work/onew && /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/onew/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/onew/work/.cache HOME=/wrkdirs/usr/ports/japanese/onew/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/japanese/onew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/onew/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 -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -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" /usr/bin/make ./mkmakefile Makefile.go ############## include ONEW_CONF* into Makefile.go make -f Makefile.go cd stabs; make CFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CC="cc" cc -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -c _Canna.c -o _Canna.o cc -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -c _CannaRk.c -o _CannaRk.o cc -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -c _Wnn.c -o _Wnn.o cc -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -c _WnnRomkan.c -o _WnnRomkan.o cd interface; make CFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CC="cc" cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing oui.c cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing ouimessage.c cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing MESSAGE_COLS.c MESSAGE_COLS.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_MESSAGE_COLS(){ ^ MESSAGE_COLS.c:8:7: warning: implicit declaration of function 'Onew_maxcols' is invalid in C99 [-Wimplicit-function-declaration] co = Onew_maxcols(); ^ MESSAGE_COLS.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_maxcols() ^ MESSAGE_COLS.c:19:9: warning: implicit declaration of function 'Tgetnum' is invalid in C99 [-Wimplicit-function-declaration] cols = Tgetnum("co"); ^ 4 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing PEEKCHAR.c PEEKCHAR.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_PEEKCHAR(timeout) ^ PEEKCHAR.c:12:10: warning: implicit declaration of function 'Onew_inready' is invalid in C99 [-Wimplicit-function-declaration] if( 0 < Onew_inready(stdin,*timeout*1000) ){ ^ 2 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing GETCHAR.c GETCHAR.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_GETCHAR() ^ 1 warning generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing BEEP.c BEEP.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_BEEP(second) ^ BEEP.c:9:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(second); ^ BEEP.c:10:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 3 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing GOT_2BCHAR.c GOT_2BCHAR.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_GOT_2BCHAR(buf,hi,lo) ^ GOT_2BCHAR.c:10:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing DISP_ROMKANB.c DISP_ROMKANB.c:6:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_DISP_KANAHALVES(str) ^ DISP_ROMKANB.c:15:8: warning: implicit declaration of function 'Onew_toupper' is invalid in C99 [-Wimplicit-function-declaration] ch = Onew_toupper(ch); ^ DISP_ROMKANB.c:17:9: warning: implicit declaration of function 'ONEW_DISP_KANAHALF' is invalid in C99 [-Wimplicit-function-declaration] return ONEW_DISP_KANAHALF(ch); ^ 3 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing getchar.c getchar.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_getchar(freqsave_delay,autosave_delay,autosave_func) ^ getchar.c:23:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = setjmp(getch_env) ){ ~~~^~~~~~~~~~~~~~~~~~~ getchar.c:23:9: note: place parentheses around the assignment to silence this warning if( ch = setjmp(getch_env) ){ ^ ( ) getchar.c:23:9: note: use '==' to turn this assignment into an equality comparison if( ch = setjmp(getch_env) ){ ^ == getchar.c:33:6: warning: implicit declaration of function 'Onew_inready' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_inready(stdin,freqsave_delay) == 0 ){ ^ getchar.c:34:3: warning: implicit declaration of function 'Onew_KK_freqsave' is invalid in C99 [-Wimplicit-function-declaration] Onew_KK_freqsave(); ^ 4 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing termcap.c termcap.c:8:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static tcap_init(force){ ~~~~~~ ^ termcap.c:14:16: warning: implicit declaration of function 'getenv' is invalid in C99 [-Wimplicit-function-declaration] term = (char*)getenv("TERM"); ^ termcap.c:14:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] term = (char*)getenv("TERM"); ^~~~~~~~~~~~~~~~~~~~~ termcap.c:17:6: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if( tgetent(tcapbuf,term) == 0 ) ^ termcap.c:30:16: warning: implicit declaration of function 'tgetstr' is invalid in C99 [-Wimplicit-function-declaration] return (char*)tgetstr(cap,&p); ^ termcap.c:30:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return (char*)tgetstr(cap,&p); ^~~~~~~~~~~~~~~~~~~~~~ termcap.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_tgetnum(cap) ^ termcap.c:37:9: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] return tgetnum(cap); ^ termcap.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Tgetnum(cap) ^ termcap.c:45:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static PUTC(ch) ~~~~~~ ^ termcap.c:48:1: warning: non-void function does not return a value [-Wreturn-type] } ^ termcap.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_tputs(cap,fp) ^ termcap.c:61:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(TCAP(cap),1,PUTC); ^ termcap.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 14 warnings generated. ar rc libuif.a oui.o ouimessage.o MESSAGE_COLS.o PEEKCHAR.o GETCHAR.o BEEP.o GOT_2BCHAR.o DISP_ROMKANB.o getchar.o termcap.o cd dialogue; make CFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CC="cc" cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. getincode.c getincode.c:15:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static pushQ(ch) ~~~~~~ ^ getincode.c:18:1: warning: non-void function does not return a value [-Wreturn-type] } ^ getincode.c:19:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static popQ() ~~~~~~ ^ getincode.c:25:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static PEEKCHAR(msecp,msec) ~~~~~~ ^ getincode.c:33:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static GETCHAR(){ ~~~~~~ ^ getincode.c:46:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm(0); ^ getincode.c:49:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(1); ^ getincode.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static input_ready(){ ~~~~~~ ^ getincode.c:60:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OnewPeekchar(timeout){ ^ getincode.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OnewGetchar(){ ^ getincode.c:102:21: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if( rmsec < 0 || strchr("@BJ",nnch) == 0 ){ ^ getincode.c:102:21: note: include the header or explicitly provide a declaration for 'strchr' getincode.c:135:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_get_thruchar( real_thru ) ^ getincode.c:139:7: warning: implicit declaration of function 'ready_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] if( !ready_keyinQ() ) ^ getincode.c:140:3: warning: implicit declaration of function 'Onew_disp_kanahalf' is invalid in C99 [-Wimplicit-function-declaration] Onew_disp_kanahalf('^'); ^ getincode.c:145:4: warning: implicit declaration of function 'enq_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] enq_keyinQ(ONEW_I_SYNC_CHAR); ^ getincode.c:146:4: warning: implicit declaration of function 'Onew_asis_romkan_next' is invalid in C99 [-Wimplicit-function-declaration] Onew_asis_romkan_next(); ^ getincode.c:147:17: warning: implicit declaration of function 'romkan_cmode' is invalid in C99 [-Wimplicit-function-declaration] Onew_putmode(romkan_cmode(),ONEW_menu_thru1); ^ getincode.c:147:17: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] Onew_putmode(romkan_cmode(),ONEW_menu_thru1); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/japanese/onew/work/onew/onew.h:290:25: note: passing argument to parameter here void Onew_putmode(char *, char *); ^ getincode.c:149:7: warning: implicit declaration of function 'Onew_asis_romkan_next' is invalid in C99 [-Wimplicit-function-declaration] kc = Onew_asis_romkan_next(); ^ getincode.c:155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OnewThruGetchar() ^ 20 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. switcher.c switcher.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_mode_switches(){ ^ switcher.c:8:6: warning: implicit declaration of function 'Onew_inready' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_inready(stdin,400*1000) == 0 ) ^ switcher.c:13:15: warning: implicit declaration of function 'romkan_cmode' is invalid in C99 [-Wimplicit-function-declaration] Onew_putmode(romkan_cmode(),NULL); ^ switcher.c:13:15: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] Onew_putmode(romkan_cmode(),NULL); ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/japanese/onew/work/onew/onew.h:290:25: note: passing argument to parameter here void Onew_putmode(char *, char *); ^ switcher.c:14:1: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("JV:OM_mode_sw.com","('%c')",com); ^ switcher.c:19:4: warning: implicit declaration of function 'enq_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] enq_keyinQ(ONEW_HENKAN_START); ^ switcher.c:22:13: warning: implicit declaration of function 'katakana_toggle' is invalid in C99 [-Wimplicit-function-declaration] case 'k': katakana_toggle(); break; ^ switcher.c:26:4: warning: '/*' within block comment [-Wcomment] /* romkan_toggle(); */ ^ switcher.c:29:13: warning: implicit declaration of function 'OM_set_thruchar' is invalid in C99 [-Wimplicit-function-declaration] case '=': OM_set_thruchar(); break; ^ switcher.c:30:13: warning: implicit declaration of function 'sym_thru_toggle' is invalid in C99 [-Wimplicit-function-declaration] case '-': sym_thru_toggle(); break; ^ switcher.c:34:13: warning: implicit declaration of function 'switch_rkserv' is invalid in C99 [-Wimplicit-function-declaration] case 'r': switch_rkserv(); break; ^ switcher.c:35:13: warning: implicit declaration of function 'switch_kkserv' is invalid in C99 [-Wimplicit-function-declaration] case 's': switch_kkserv(); break; ^ switcher.c:41:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 13 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. thruchar.c thruchar.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_THRUSYMS(syms) ^ thruchar.c:12:2: warning: implicit declaration of function 'strMAPset' is invalid in C99 [-Wimplicit-function-declaration] strMAPset(syms,ONEW_THRUSYMA,"ONEW_THRUSYMS", ^ thruchar.c:14:1: warning: non-void function does not return a value [-Wreturn-type] } ^ thruchar.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_isTHRU(sym) ^ thruchar.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_set_thruchar(){ ^ thruchar.c:42:7: warning: implicit declaration of function 'OnewThruGetchar' is invalid in C99 [-Wimplicit-function-declaration] kc = OnewThruGetchar(); ^ thruchar.c:44:2: warning: implicit declaration of function 'Onew_disp_kanahalf' is invalid in C99 [-Wimplicit-function-declaration] Onew_disp_kanahalf(' '); ^ thruchar.c:46:3: warning: implicit declaration of function 'sym_thru_toggle' is invalid in C99 [-Wimplicit-function-declaration] sym_thru_toggle(); ^ thruchar.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 9 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. zenkaku1.c zenkaku1.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_zenkaku1(buf) ^ zenkaku1.c:17:2: warning: implicit declaration of function 'ONEWromkan_zenkaku' is invalid in C99 [-Wimplicit-function-declaration] ONEWromkan_zenkaku(ch,buf); ^ 2 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. kanakan.c kanakan.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:25:3: warning: implicit declaration of function 'romkan_toggle' is invalid in C99 [-Wimplicit-function-declaration] romkan_toggle(); rc=EXIT; ^ kanakan.c:28:5: warning: implicit declaration of function 'clr_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] clr_keyinQ(); rc=EXIT; ^ kanakan.c:33:11: warning: implicit declaration of function 'enq_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] default: enq_keyinQ(comch); rc=EXIT;break; ^ kanakan.c:44:15: warning: implicit declaration of function 'clr_keyinQ' is invalid in C99 [-Wimplicit-function-declaration] case ESC_CH: clr_keyinQ(); rc=EXIT;break; ^ kanakan.c:57:13: warning: implicit declaration of function 'Onew_list_sentaku' is invalid in C99 [-Wimplicit-function-declaration] sai = Onew_list_sentaku(0,0,kouhof,alts,kouhon,10,0); ^ kanakan.c:63:23: warning: implicit declaration of function 'oeiBunsetu_next' is invalid in C99 [-Wimplicit-function-declaration] case Cntl('F'): bi = oeiBunsetu_next(ctx,bi, 1);rc=LOOP;break; ^ kanakan.c:67:18: warning: implicit declaration of function 'oeiBunsetu_shrink' is invalid in C99 [-Wimplicit-function-declaration] case Cntl('I'): oeiBunsetu_shrink(ctx,bi); rc=LOOP;break; ^ kanakan.c:68:18: warning: implicit declaration of function 'oeiBunsetu_expand' is invalid in C99 [-Wimplicit-function-declaration] case Cntl('O'): oeiBunsetu_expand(ctx,bi); rc=LOOP;break; ^ kanakan.c:80:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_kanakan(kc){ ^ 10 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. selector.c selector.c:3:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern ONEW_THRU_MODE; ~~~~~~ ^ selector.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) ^ selector.c:32:5: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(tmp," %c%2s ",LABEL[i],kdata1); ^ selector.c:32:5: note: include the header or explicitly provide a declaration for 'sprintf' selector.c:35:26: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if(0 < i && maxcol < (strlen(buff)+strlen(tmp))){ ^ selector.c:35:26: note: include the header or explicitly provide a declaration for 'strlen' selector.c:39:4: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(buff,tmp); ^ selector.c:39:4: note: include the header or explicitly provide a declaration for 'strcat' selector.c:47:10: warning: implicit declaration of function 'OnewThruGetchar' is invalid in C99 [-Wimplicit-function-declaration] ncom = OnewThruGetchar(); ^ selector.c:49:22: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if( selch = (char*)strchr(LABEL,ncom) ){ ^ selector.c:49:22: note: include the header or explicitly provide a declaration for 'strchr' selector.c:49:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( selch = (char*)strchr(LABEL,ncom) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ selector.c:49:13: note: place parentheses around the assignment to silence this warning if( selch = (char*)strchr(LABEL,ncom) ){ ^ ( ) selector.c:49:13: note: use '==' to turn this assignment into an equality comparison if( selch = (char*)strchr(LABEL,ncom) ){ ^ == selector.c:51:15: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] selected = (int)selch-(int)LABEL + from; ^~~~~~~~~~ selector.c:51:26: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] selected = (int)selch-(int)LABEL + from; ^~~~~~~~~~ 10 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. jisyo.c jisyo.c:75:6: warning: implicit declaration of function 'oeiJisyoHinshi' is invalid in C99 [-Wimplicit-function-declaration] if( oeiJisyoHinshi(&hinshi) == 0 ) ^ jisyo.c:84:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(kanji,"(%s)[%s]",ONEW_DicYomi,ONEW_CurrentKanji); ^ jisyo.c:84:2: note: include the header or explicitly provide a declaration for 'sprintf' jisyo.c:87:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] ouiDISP_KANAKANB(1,kanji,hname,""); ^ /wrkdirs/usr/ports/japanese/onew/work/onew/onew.h:281:28: note: passing argument to parameter here int ouiDISP_KANAKANB(char *, char *, char *, char *); ^ jisyo.c:91:17: warning: implicit declaration of function 'getchar' is invalid in C99 [-Wimplicit-function-declaration] switch( com = getchar() ){ ^ 4 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. onewdic.c onewdic.c:144:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( wstr = nth_str(nth) ){ ~~~~~^~~~~~~~~~~~~~ onewdic.c:144:11: note: place parentheses around the assignment to silence this warning if( wstr = nth_str(nth) ){ ^ ( ) onewdic.c:144:11: note: use '==' to turn this assignment into an equality comparison if( wstr = nth_str(nth) ){ ^ == onewdic.c:152:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(label,"[%d/%d]",to-1,max); ^ onewdic.c:152:2: note: include the header or explicitly provide a declaration for 'sprintf' onewdic.c:167:3: warning: implicit declaration of function 'Onew_enqstr' is invalid in C99 [-Wimplicit-function-declaration] Onew_enqstr(nth_str(0)); ^ onewdic.c:172:9: warning: implicit declaration of function 'Onew_pushmode' is invalid in C99 [-Wimplicit-function-declaration] mode = Onew_pushmode(ONEW_mode_sentaku); ^ onewdic.c:173:6: warning: implicit declaration of function 'Onew_list_sentaku' is invalid in C99 [-Wimplicit-function-declaration] n = Onew_list_sentaku(word_label,word_error,get_nth_word,0, ^ onewdic.c:176:2: warning: implicit declaration of function 'Onew_popmode' is invalid in C99 [-Wimplicit-function-declaration] Onew_popmode(mode); ^ onewdic.c:179:3: warning: implicit declaration of function 'Onew_enqstr' is invalid in C99 [-Wimplicit-function-declaration] Onew_enqstr(nth_str(n)); ^ onewdic.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 8 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. jiscode.c jiscode.c:22:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ku_label(label,from,to,max) ~~~~~~ ^ jiscode.c:30:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(label,"[%02d%02d]",hi-0xA0,lo-0xA0); ^ jiscode.c:30:2: note: include the header or explicitly provide a declaration for 'sprintf' jiscode.c:31:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jiscode.c:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ku_error(com){ ~~~~~~ ^ jiscode.c:35:2: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] OnewGetchar(); ^ jiscode.c:36:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jiscode.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OM_get_jisspecial(code) ^ jiscode.c:49:6: warning: implicit declaration of function 'Onew_list_sentaku' is invalid in C99 [-Wimplicit-function-declaration] n = Onew_list_sentaku(ku_label,ku_error, ^ 8 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. keisen.c keisen.c:34:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static keisen_toggle_sw(ch) ~~~~~~ ^ 1 warning generated. ar rc libdialogue.a getincode.o switcher.o thruchar.o zenkaku1.o kanakan.o selector.o jisyo.o onewdic.o jiscode.o keisen.o cd sys; make CFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CC="cc" cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing select.c select.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_fd_input_ready( fd, wait_usec ) ^ select.c:18:22: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] nready = select(32, &mask,0,0, wait_usec ? &tv : 0); ^~~~~ /usr/include/sys/select.h:105:25: note: passing argument to parameter here int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); ^ select.c:21:4: warning: implicit declaration of function 'Onew_message' is invalid in C99 [-Wimplicit-function-declaration] Onew_message(" ERROR! select(%d,0x%x) TIMEOUT=%dusec", ^ select.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_readycc(fp) ^ 4 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing tty.c tty.c:24:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_notty() ^ tty.c:30:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ tty.c:33:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_ttyIcanon(on) ^ tty.c:83:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ tty.c:84:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 6 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing termio.c cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing regex.c regex.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_comp(s) ^ regex.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_exec(s) ^ 2 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing hpux.c ar rc libsys.a select.o tty.o termio.o regex.o hpux.o cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onewver.c cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onewlib.c onewlib.c:53:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static definedKanamode(); ~~~~~~ ^ onewlib.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static romkan_modesw(); ~~~~~~ ^ onewlib.c:55:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static thru_char1(); ~~~~~~ ^ onewlib.c:56:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static Onew_kakuteiInRomkan(); ~~~~~~ ^ onewlib.c:72:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static romkan_ready(){ ~~~~~~ ^ onewlib.c:73:2: warning: implicit declaration of function 'romkan_select' is invalid in C99 [-Wimplicit-function-declaration] romkan_select(); ^ onewlib.c:74:9: warning: implicit declaration of function 'oeiRomkanReady' is invalid in C99 [-Wimplicit-function-declaration] return oeiRomkanReady(0); ^ onewlib.c:76:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static kanakan_ready(){ ~~~~~~ ^ onewlib.c:77:2: warning: implicit declaration of function 'kanakan_select' is invalid in C99 [-Wimplicit-function-declaration] kanakan_select(); ^ onewlib.c:78:9: warning: implicit declaration of function 'oeiKanakanReady' is invalid in C99 [-Wimplicit-function-declaration] return oeiKanakanReady(); ^ onewlib.c:103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clr_keyinQ(){ return strQclr(rawc_inbuff); } ^ onewlib.c:103:23: warning: implicit declaration of function 'strQclr' is invalid in C99 [-Wimplicit-function-declaration] clr_keyinQ(){ return strQclr(rawc_inbuff); } ^ onewlib.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ins_keyinQ(c){ return strQins(rawc_inbuff,c); } ^ onewlib.c:104:23: warning: implicit declaration of function 'strQins' is invalid in C99 [-Wimplicit-function-declaration] ins_keyinQ(c){ return strQins(rawc_inbuff,c); } ^ onewlib.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } ^ onewlib.c:105:23: warning: implicit declaration of function 'strQenq' is invalid in C99 [-Wimplicit-function-declaration] enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } ^ onewlib.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deq_keyinQ(){ return strQdeq(rawc_inbuff); } ^ onewlib.c:106:23: warning: implicit declaration of function 'strQdeq' is invalid in C99 [-Wimplicit-function-declaration] deq_keyinQ(){ return strQdeq(rawc_inbuff); } ^ onewlib.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ready_keyinQ(){ return rawc_inbuff[0] != 0; } ^ onewlib.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_getch0(asis){ ^ onewlib.c:118:8: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] ch = OnewGetchar(); ^ onewlib.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_getch1(){ ^ onewlib.c:130:31: warning: implicit declaration of function 'romkan_toggle' is invalid in C99 [-Wimplicit-function-declaration] if( ch == ROMKAN_TOGGLE ){ romkan_toggle(); break; }else ^ onewlib.c:132:31: warning: implicit declaration of function 'sym_thru_toggle' is invalid in C99 [-Wimplicit-function-declaration] if( ch == THRUSYMS_TOGGLE ){ sym_thru_toggle(); }else ^ onewlib.c:134:6: warning: implicit declaration of function 'romkan_on' is invalid in C99 [-Wimplicit-function-declaration] if( romkan_on() ){ ^ onewlib.c:139:30: warning: implicit declaration of function 'katakana_toggle' is invalid in C99 [-Wimplicit-function-declaration] if( ch == KANA_TOGGLE ){ katakana_toggle(); continue; }else ^ onewlib.c:140:30: warning: implicit declaration of function 'zenkaku_toggle' is invalid in C99 [-Wimplicit-function-declaration] if( ch == ZENKAKU_TOGGLE){ zenkaku_toggle(); continue; }else ^ onewlib.c:142:24: warning: implicit declaration of function 'oeiRomkanClear' is invalid in C99 [-Wimplicit-function-declaration] if( ch == ESC_CH ) { oeiRomkanClear(); ch = ONEW_I_ESC; }else ^ onewlib.c:144:8: warning: implicit declaration of function 'Onew_isTHRU' is invalid in C99 [-Wimplicit-function-declaration] if( LET_IT_THRU(ch) && !IS_NOINS_HENKANKEY(ch) ){ ^ onewlib.c:69:47: note: expanded from macro 'LET_IT_THRU' #define LET_IT_THRU(ch) (ONEW_THRUSYMS_ON && Onew_isTHRU(ch)) ^ onewlib.c:149:5: warning: implicit declaration of function 'switch_rkserv' is invalid in C99 [-Wimplicit-function-declaration] switch_rkserv(); ^ onewlib.c:153:5: warning: implicit declaration of function 'OM_mode_switches' is invalid in C99 [-Wimplicit-function-declaration] OM_mode_switches(); ^ onewlib.c:158:6: warning: implicit declaration of function 'ins_zenkaku_char1' is invalid in C99 [-Wimplicit-function-declaration] ins_zenkaku_char1(0,0); ^ onewlib.c:185:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static definedKanamode(ch) ~~~~~~ ^ onewlib.c:191:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( func = KanamodeSw[ch] ) ~~~~~^~~~~~~~~~~~~~~~ onewlib.c:191:11: note: place parentheses around the assignment to silence this warning if( func = KanamodeSw[ch] ) ^ ( ) onewlib.c:191:11: note: use '==' to turn this assignment into an equality comparison if( func = KanamodeSw[ch] ) ^ == onewlib.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_defineKanamode(mode,ch,func) ^ onewlib.c:200:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:203:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static romkan_modesw(){ ~~~~~~ ^ onewlib.c:207:2: warning: implicit declaration of function 'romkan_mode_switch' is invalid in C99 [-Wimplicit-function-declaration] romkan_mode_switch(cmode); ^ onewlib.c:208:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:209:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static thru_char1(ch){ ~~~~~~ ^ onewlib.c:212:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ins_zenkaku_char1(ch,kakutei) ^ onewlib.c:218:3: warning: implicit declaration of function 'OM_zenkaku1' is invalid in C99 [-Wimplicit-function-declaration] OM_zenkaku1(buf); ^ onewlib.c:219:7: warning: implicit declaration of function 'ONEWromkan_zenkaku' is invalid in C99 [-Wimplicit-function-declaration] else ONEWromkan_zenkaku(ch,buf); ^ onewlib.c:225:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEWromkan_zenkaku(ch,dst) ^ onewlib.c:240:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ASCII_TO_JIS(asc,jis) ^ onewlib.c:248:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( a = asc; ac = *a; a++ ){ ~~~^~~~ onewlib.c:248:19: note: place parentheses around the assignment to silence this warning for( a = asc; ac = *a; a++ ){ ^ ( ) onewlib.c:248:19: note: use '==' to turn this assignment into an equality comparison for( a = asc; ac = *a; a++ ){ ^ == onewlib.c:256:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_HENKANKEYS(syms) ^ onewlib.c:261:2: warning: implicit declaration of function 'strMAPset' is invalid in C99 [-Wimplicit-function-declaration] strMAPset(syms,ONEW_HENKANKEYA,"ONEW_HENKANKEYS", ^ onewlib.c:263:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_deqchar(commandmode){ ^ onewlib.c:269:12: warning: implicit declaration of function 'strQdeq' is invalid in C99 [-Wimplicit-function-declaration] if( (ch = strQdeq(kana_inbuff)) != EOF ) ^ onewlib.c:272:11: warning: implicit declaration of function 'Onew_inready' is invalid in C99 [-Wimplicit-function-declaration] if( 0 < Onew_inready(stdin,-1) ) ^ onewlib.c:273:11: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] return OnewGetchar(); ^ onewlib.c:276:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_enqchar(ch){ ^ onewlib.c:277:2: warning: implicit declaration of function 'strQenq' is invalid in C99 [-Wimplicit-function-declaration] strQenq(kana_inbuff,ch); ^ onewlib.c:278:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:279:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_enqstr(str) char *str; { ^ onewlib.c:281:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(sp = str; ch = *sp; sp++) ~~~^~~~~ onewlib.c:281:19: note: place parentheses around the assignment to silence this warning for(sp = str; ch = *sp; sp++) ^ ( ) onewlib.c:281:19: note: use '==' to turn this assignment into an equality comparison for(sp = str; ch = *sp; sp++) ^ == onewlib.c:283:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_asis_romkan_next(){ ^ onewlib.c:289:7: warning: implicit declaration of function 'oeiRomkanNext' is invalid in C99 [-Wimplicit-function-declaration] kc = oeiRomkanNext(); ^ onewlib.c:295:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_init(){ ^ onewlib.c:299:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("ONEW_MSGHOLD") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:299:11: note: place parentheses around the assignment to silence this warning if( env = getenv("ONEW_MSGHOLD") ) ^ ( ) onewlib.c:299:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("ONEW_MSGHOLD") ) ^ == onewlib.c:300:19: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] ONEW_MSGHOLD = atoi(env); ^ onewlib.c:301:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("ONEW_MAXWORDS") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:301:11: note: place parentheses around the assignment to silence this warning if( env = getenv("ONEW_MAXWORDS") ) ^ ( ) onewlib.c:301:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("ONEW_MAXWORDS") ) ^ == onewlib.c:305:3: warning: implicit declaration of function 'Onew_THRUSYMS' is invalid in C99 [-Wimplicit-function-declaration] Onew_THRUSYMS(0); ^ onewlib.c:311:3: warning: implicit declaration of function 'keisen_init' is invalid in C99 [-Wimplicit-function-declaration] keisen_init(); ^ onewlib.c:316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kget_char1(){ ^ onewlib.c:320:8: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] kc = OnewGetchar(); ^ onewlib.c:321:3: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("kget_char1.1","(%x)",kc); ^ onewlib.c:326:3: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("kget_char1.2","(%x)",kc); ^ onewlib.c:331:8: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] kc = OnewGetchar(); ^ onewlib.c:332:3: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("kget_char1.3","(%x)",kc); ^ onewlib.c:337:7: warning: implicit declaration of function 'romkan_on' is invalid in C99 [-Wimplicit-function-declaration] if( romkan_on() ) ^ onewlib.c:338:9: warning: implicit declaration of function 'oeiRomkanGetc' is invalid in C99 [-Wimplicit-function-declaration] kc = oeiRomkanGetc(); ^ onewlib.c:339:13: warning: implicit declaration of function 'oeiRomkanNext' is invalid in C99 [-Wimplicit-function-declaration] else kc = oeiRomkanNext(); ^ onewlib.c:352:4: warning: implicit declaration of function 'Onew_getword' is invalid in C99 [-Wimplicit-function-declaration] Onew_getword(kc); ^ onewlib.c:358:12: warning: implicit declaration of function 'OM_get_jisspecial' is invalid in C99 [-Wimplicit-function-declaration] if( 0 < OM_get_jisspecial(code) ) ^ onewlib.c:368:9: warning: implicit declaration of function 'OM_kanakan' is invalid in C99 [-Wimplicit-function-declaration] kc = OM_kanakan(kc); ^ onewlib.c:374:29: warning: implicit declaration of function 'Onew_isTHRU' is invalid in C99 [-Wimplicit-function-declaration] if( ONEW_THRUSYMS_ON && Onew_isTHRU(kc) ) ^ onewlib.c:386:11: warning: implicit declaration of function 'OM_get_thruchar' is invalid in C99 [-Wimplicit-function-declaration] nkc = OM_get_thruchar(1); ^ onewlib.c:388:16: warning: implicit declaration of function 'OM_get_thruchar' is invalid in C99 [-Wimplicit-function-declaration] }else nkc = OM_get_thruchar(0); ^ onewlib.c:393:9: warning: implicit declaration of function 'oeiRomkanGotch' is invalid in C99 [-Wimplicit-function-declaration] kc = oeiRomkanGotch(kc); ^ onewlib.c:397:9: warning: implicit declaration of function 'odmAbort_touroku' is invalid in C99 [-Wimplicit-function-declaration] if( odmAbort_touroku() ) ^ onewlib.c:406:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ onewlib.c:425:2: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("kget_char1.4","(%x)",kc); ^ onewlib.c:428:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_romkan(){ ^ onewlib.c:440:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] romkan_on(){ ^ onewlib.c:443:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_imode(){ ^ onewlib.c:446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_imode_setv(imode) ^ onewlib.c:449:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] romkanmode_ch(){ ^ onewlib.c:458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_cmode(){ ^ onewlib.c:462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_imode_set(imode) ^ onewlib.c:464:9: warning: implicit declaration of function 'oeiRomkanModesw' is invalid in C99 [-Wimplicit-function-declaration] return oeiRomkanModesw(imode); ^ onewlib.c:467:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] romkan_mode_switch(mode){ ^ onewlib.c:478:3: warning: implicit declaration of function 'oeiRomkanModesw' is invalid in C99 [-Wimplicit-function-declaration] oeiRomkanModesw(0); ^ onewlib.c:480:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:481:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_cmode_set(mode){ ^ onewlib.c:485:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] romkan_toggle(){ ^ onewlib.c:487:3: warning: implicit declaration of function 'oeiRomkanModesw' is invalid in C99 [-Wimplicit-function-declaration] oeiRomkanModesw(0); ^ onewlib.c:489:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_toggle(){ ^ onewlib.c:493:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] zenkaku_toggle(){ ^ onewlib.c:495:3: warning: implicit declaration of function 'oeiRomkanModesw' is invalid in C99 [-Wimplicit-function-declaration] oeiRomkanModesw( ONEW_kanamode ^ NOTKANA ); ^ onewlib.c:497:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:499:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] in_kana_mode(){ ^ onewlib.c:510:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] katakana_toggle(){ ^ onewlib.c:513:3: warning: implicit declaration of function 'oeiRomkanModesw' is invalid in C99 [-Wimplicit-function-declaration] oeiRomkanModesw(ONEW_kanamode ^ KATAKANA); ^ onewlib.c:518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sym_thru_toggle(){ ^ onewlib.c:520:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:528:7: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] else strcpy(rkmode,"[---]"); ^ onewlib.c:528:7: note: include the header or explicitly provide a declaration for 'strcpy' onewlib.c:552:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_kanakan(com,str,start,leng) ^ onewlib.c:555:9: warning: implicit declaration of function 'Onew_kana_to_kanji' is invalid in C99 [-Wimplicit-function-declaration] return Onew_kana_to_kanji(com,str,start,leng); ^ onewlib.c:562:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_kana_to_kanji(startcom,str) ^ onewlib.c:569:7: warning: implicit declaration of function 'odmStart_touroku' is invalid in C99 [-Wimplicit-function-declaration] if( odmStart_touroku(str) ) ^ onewlib.c:574:28: warning: passing 'Uchar *' (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] strcpy(ONEW_CurrentKanji,str); ^~~ onewlib.c:576:3: warning: implicit declaration of function 'odmJisyo_touroku' is invalid in C99 [-Wimplicit-function-declaration] odmJisyo_touroku(); ^ onewlib.c:579:39: warning: implicit declaration of function 'Onew_non_ascii' is invalid in C99 [-Wimplicit-function-declaration] if( startcom != ONEW_HENKAN_START && Onew_non_ascii(str) == 0 ){ ^ onewlib.c:580:27: warning: implicit declaration of function 'Onew_isTHRU' is invalid in C99 [-Wimplicit-function-declaration] if( ONEW_THRUSYMS_ON && Onew_isTHRU(startcom) ) ^ onewlib.c:582:19: warning: passing 'Uchar *' (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] else strcpy(buf,str); ^~~ onewlib.c:588:9: warning: passing 'Uchar[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] strcpy(sstr,str); ^~~~ onewlib.c:588:14: warning: passing 'Uchar *' (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] strcpy(sstr,str); ^~~ onewlib.c:589:26: warning: passing 'Uchar[2048]' (aka 'unsigned char[2048]') 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] strcpy(ONEW_CurrentYomi,sstr); ^~~~ onewlib.c:592:12: warning: implicit declaration of function 'oeiKanakan' is invalid in C99 [-Wimplicit-function-declaration] endcom = oeiKanakan(startcom,str); ^ onewlib.c:594:4: warning: implicit declaration of function 'switch_kkserv' is invalid in C99 [-Wimplicit-function-declaration] switch_kkserv(); ^ onewlib.c:599:8: warning: implicit declaration of function 'odmJisyo_sousa' is invalid in C99 [-Wimplicit-function-declaration] if( odmJisyo_sousa() ){ ^ onewlib.c:609:9: warning: implicit declaration of function 'odmStart_touroku' is invalid in C99 [-Wimplicit-function-declaration] if( odmStart_touroku(ONEW_CurrentKanji) ){ ^ onewlib.c:615:5: warning: implicit declaration of function 'odmJisyo_touroku' is invalid in C99 [-Wimplicit-function-declaration] odmJisyo_touroku(); ^ onewlib.c:616:12: warning: passing 'Uchar[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] strcpy(sstr,ONEW_DicYomi); ^~~~ onewlib.c:616:17: warning: passing 'Uchar[256]' (aka 'unsigned char[256]') 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] strcpy(sstr,ONEW_DicYomi); ^~~~~~~~~~~~ onewlib.c:627:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_kakutei(kc) /* invoked in Kana-Kanji translation */ ^ onewlib.c:632:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static Onew_kakuteiInRomkan(kc) ~~~~~~ ^ onewlib.c:644:3: warning: implicit declaration of function 'odmJisyo_touroku' is invalid in C99 [-Wimplicit-function-declaration] odmJisyo_touroku(); ^ onewlib.c:649:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_dispKanakanBuf(so,left,cur,right) ^ onewlib.c:660:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] ouiDISP_KANAKANB(so,left,cur,right); ^~ /wrkdirs/usr/ports/japanese/onew/work/onew/onew.h:281:28: note: passing argument to parameter here int ouiDISP_KANAKANB(char *, char *, char *, char *); ^ onewlib.c:661:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:663:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_setupYomistr(com,str,yomibuf) ^ onewlib.c:670:12: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if( len = strlen(str) ){ ^ onewlib.c:670:12: note: include the header or explicitly provide a declaration for 'strlen' onewlib.c:670:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = strlen(str) ){ ~~~~^~~~~~~~~~~~~ onewlib.c:670:10: note: place parentheses around the assignment to silence this warning if( len = strlen(str) ){ ^ ( ) onewlib.c:670:10: note: use '==' to turn this assignment into an equality comparison if( len = strlen(str) ){ ^ == onewlib.c:672:7: warning: implicit declaration of function 'Onew_isTHRU' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_isTHRU(lastch) ) ^ onewlib.c:673:4: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(yomibuf," "); ^ onewlib.c:673:4: note: include the header or explicitly provide a declaration for 'strcat' onewlib.c:675:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:677:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_freqsave(){ ^ onewlib.c:678:2: warning: implicit declaration of function 'oeiKanakanFreqsave' is invalid in C99 [-Wimplicit-function-declaration] oeiKanakanFreqsave(); ^ onewlib.c:679:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:680:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_KK_freqsave(){ ^ onewlib.c:683:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_RK_thru(mode){ ^ onewlib.c:685:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:687:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_inready( fp, wait_usec ) ^ onewlib.c:696:9: warning: implicit declaration of function 'Onew_fp_input_ready' is invalid in C99 [-Wimplicit-function-declaration] return Onew_fp_input_ready(fp,wait_usec); ^ onewlib.c:702:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_modef(modes,xmodes,helps,xhelps) ^ onewlib.c:740:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kana_init(){ ^ onewlib.c:743:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kana_to_kanji(str,start,leng) ^ onewlib.c:745:44: warning: too many arguments in call to 'Onew_kana_to_kanji' return Onew_kana_to_kanji(0,str,start,leng); ~~~~~~~~~~~~~~~~~~ ^ onewlib.c:745:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'Uchar *' (aka 'unsigned char *') [-Wint-conversion] return Onew_kana_to_kanji(0,str,start,leng); ^~~ 160 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onewclient.c onewclient.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_pipe(pipe) ^ onewclient.c:41:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static dbg_printf(form,a,b,c,d,e,f,g){ ~~~~~~ ^ onewclient.c:43:2: warning: implicit declaration of function 'Onew_message' is invalid in C99 [-Wimplicit-function-declaration] Onew_message(form,a,b,c,d,e,f,g); ^ onewclient.c:44:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewclient.c:54:2: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] pipe(to_onew); ^ onewclient.c:57:13: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] onew_DBG = (int)getenv("DEBUG_onew"); ^~~~~~~~~~~~~~~~~~~~~~~~~ onewclient.c:58:8: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] pid = fork(); ^ onewclient.c:60:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(TO_ONEW); ^ onewclient.c:61:13: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] close(0); dup(to_onew[0]); close(to_onew[0]); ^ onewclient.c:65:4: warning: implicit declaration of function 'system' is invalid in C99 [-Wimplicit-function-declaration] system(command); ^ onewclient.c:66:8: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration] else execlp("onew","onew",0); ^ onewclient.c:67:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit(-1); ^ onewclient.c:67:3: note: include the header or explicitly provide a declaration for '_exit' onewclient.c:69:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(to_onew[0]); ^ onewclient.c:71:36: warning: too few arguments in call to 'dbg_printf' dbg_printf(">>KANAKANP>> %d\n",pid); ~~~~~~~~~~ ^ onewclient.c:71:13: warning: incompatible pointer to integer conversion passing 'char[17]' to parameter of type 'int' [-Wint-conversion] dbg_printf(">>KANAKANP>> %d\n",pid); ^~~~~~~~~~~~~~~~~~~ onewclient.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] end_onew(){ ^ onewclient.c:76:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(to_onew[1]); ^ onewclient.c:80:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewclient.c:88:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put_onew(ch) ^ onewclient.c:110:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] wc = write(TO_ONEW,buf,wc); ^ onewclient.c:114:3: warning: implicit declaration of function 'Onew_message' is invalid in C99 [-Wimplicit-function-declaration] Onew_message("Can't send to onew, DEAD?\n"); ^ onewclient.c:118:43: warning: too few arguments in call to 'dbg_printf' dbg_printf(">>KANAKANP>> %x (%d)\n",ch,wc); ~~~~~~~~~~ ^ onewclient.c:118:13: warning: incompatible pointer to integer conversion passing 'char[22]' to parameter of type 'int' [-Wint-conversion] dbg_printf(">>KANAKANP>> %x (%d)\n",ch,wc); ^~~~~~~~~~~~~~~~~~~~~~~~ onewclient.c:119:2: warning: implicit declaration of function 'Onew_dbglog' is invalid in C99 [-Wimplicit-function-declaration] Onew_dbglog("put> %x\n",ch); ^ onewclient.c:124:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_onew(line,wait_msec) unsigned char *line; { ^ onewclient.c:129:41: warning: too few arguments in call to 'dbg_printf' dbg_printf("< %02x %s\n",line[0],line+1); ^ onewclient.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_operator(ch,argp) ^ onewclient.c:167:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Attr = ch & ONEW_VATTR_MASK ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ onewclient.c:167:11: note: place parentheses around the assignment to silence this warning if( Attr = ch & ONEW_VATTR_MASK ){ ^ ( ) onewclient.c:167:11: note: use '==' to turn this assignment into an equality comparison if( Attr = ch & ONEW_VATTR_MASK ){ ^ == onewclient.c:185:4: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(buf,"\b \b"); ^ onewclient.c:185:4: note: include the header or explicitly provide a declaration for 'sprintf' onewclient.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putget_onew(inch,chis) ^ onewclient.c:221:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( outx = 2; chi = msg[outx]; outx++ ){ ~~~~^~~~~~~~~~~ onewclient.c:221:22: note: place parentheses around the assignment to silence this warning for( outx = 2; chi = msg[outx]; outx++ ){ ^ ( ) onewclient.c:221:22: note: use '==' to turn this assignment into an equality comparison for( outx = 2; chi = msg[outx]; outx++ ){ ^ == onewclient.c:234:5: warning: implicitly declaring library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)' [-Wimplicit-function-declaration] sscanf(&msg[2],"%d",&bytes); ^ onewclient.c:234:5: note: include the header or explicitly provide a declaration for 'sscanf' onewclient.c:234:12: 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] sscanf(&msg[2],"%d",&bytes); ^~~~~~~ onewclient.c:237: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] if(sscanf(&msg[2],"%d %d",&bytes,&chars) == 2) ^~~~~~~ onewclient.c:243:21: warning: implicit declaration of function 'Onew_message' is invalid in C99 [-Wimplicit-function-declaration] case SC_MESSAGE: Onew_message("%s",&msg[2]); break; ^ onewclient.c:257:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_symASCII(){ ^ onewclient.c:260:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 46 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onewcodes.c onewcodes.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_EUC_TO_JIS_FILE(fp,src) ^ onewcodes.c:84:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(ki,GOTO_NJIS); ^ onewcodes.c:84:2: note: include the header or explicitly provide a declaration for 'strcpy' onewcodes.c:86:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(sp = src; ch = *sp; sp++ ){ ~~~^~~~~ onewcodes.c:86:19: note: place parentheses around the assignment to silence this warning for(sp = src; ch = *sp; sp++ ){ ^ ( ) onewcodes.c:86:19: note: use '==' to turn this assignment into an equality comparison for(sp = src; ch = *sp; sp++ ){ ^ == onewcodes.c:94:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewcodes.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_fprintf(fp,form,a,b,c,d,e,f) ^ onewcodes.c:102:26: warning: passing 'Mssgbuff' (aka '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] ONEW_EUC_TO_JIS_FILE(fp,out); ^~~ onewcodes.c:104:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 7 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onewmisc.c onewmisc.c:26:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( body = getenv(name) ){ ~~~~~^~~~~~~~~~~~~~ onewmisc.c:26:13: note: place parentheses around the assignment to silence this warning if( body = getenv(name) ){ ^ ( ) onewmisc.c:26:13: note: use '==' to turn this assignment into an equality comparison if( body = getenv(name) ){ ^ == onewmisc.c:28:5: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(op,body); ^ onewmisc.c:28:5: note: include the header or explicitly provide a declaration for 'strcpy' onewmisc.c:29:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] op += strlen(op); ^ onewmisc.c:29:11: note: include the header or explicitly provide a declaration for 'strlen' onewmisc.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_searchPath(file,name,path) ^ onewmisc.c:58:18: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if( 0 <= (fd = open(file,0)) ) ^ onewmisc.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_fp_input_ready( fp, wait_usec ) ^ onewmisc.c:71:12: warning: implicit declaration of function 'Onew_readycc' is invalid in C99 [-Wimplicit-function-declaration] if( fp && Onew_readycc(fp) ) ^ onewmisc.c:77:9: warning: implicit declaration of function 'Onew_fd_input_ready' is invalid in C99 [-Wimplicit-function-declaration] return Onew_fd_input_ready(fileno(fp), wait_usec); ^ onewmisc.c:80:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_msleep(msec) ^ onewmisc.c:85:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(msec/1000); ^ onewmisc.c:86:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:95:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_messagefunc(func) ^ onewmisc.c:100:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_non_ascii(str) ^ onewmisc.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_toupper(ch){ ^ onewmisc.c:142:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static strQovf(len){ ~~~~~~ ^ onewmisc.c:157:25: warning: passing 'Uchar *' (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( strQovf(len=strlen(Q)) ) ^ onewmisc.c:169:25: warning: passing 'Uchar *' (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( strQovf(len=strlen(Q)) ) ^ onewmisc.c:171:14: warning: passing 'Uchar *' (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] strcpy(buff,Q); ^ onewmisc.c:173:9: warning: passing 'Uchar *' (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] strcpy(&Q[1],buff); ^~~~~ onewmisc.c:175:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strQdeq(Q) ^ onewmisc.c:179:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( c = Q[0] ){ ~~^~~~~~ onewmisc.c:179:8: note: place parentheses around the assignment to silence this warning if( c = Q[0] ){ ^ ( ) onewmisc.c:179:8: note: use '==' to turn this assignment into an equality comparison if( c = Q[0] ){ ^ == onewmisc.c:180:10: warning: passing 'Uchar *' (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] strcpy(Q,Q+1); ^ onewmisc.c:180:12: warning: passing 'Uchar *' (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] strcpy(Q,Q+1); ^~~ onewmisc.c:186:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strQclr(Q) ^ onewmisc.c:190:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strMAPset(syms,syma,envn,defv,flag) ^ onewmisc.c:203:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( syms = getenv(envn) ){ ~~~~~^~~~~~~~~~~~~~ onewmisc.c:203:12: note: place parentheses around the assignment to silence this warning if( syms = getenv(envn) ){ ^ ( ) onewmisc.c:203:12: note: use '==' to turn this assignment into an equality comparison if( syms = getenv(envn) ){ ^ == onewmisc.c:209:3: warning: implicit declaration of function 're_comp' is invalid in C99 [-Wimplicit-function-declaration] re_comp(syms); ^ onewmisc.c:217:7: warning: implicit declaration of function 're_exec' is invalid in C99 [-Wimplicit-function-declaration] if( re_exec(chs) == 1 ) ^ onewmisc.c:221:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 33 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -DONEW_ENGINE='"canna/canna"' -DONEW_RKTABS='"/tmp/onew_rktabs"' conf.c conf.c:47:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static select_engine(){ ~~~~~~ ^ conf.c:54:11: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] case 0: strcpy(rkname,"wnn"); ^ conf.c:54:11: note: include the header or explicitly provide a declaration for 'strcpy' conf.c:57:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 1; name = Engines[ei].name; ei++ ){ ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:57:20: note: place parentheses around the assignment to silence this warning for( ei = 1; name = Engines[ei].name; ei++ ){ ^ ( ) conf.c:57:20: note: use '==' to turn this assignment into an equality comparison for( ei = 1; name = Engines[ei].name; ei++ ){ ^ == conf.c:58:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if( strcmp(rkname,name) == 0 ) ^ conf.c:58:7: note: include the header or explicitly provide a declaration for 'strcmp' conf.c:64:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 1; name = Engines[ei].name; ei++ ){ ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:64:20: note: place parentheses around the assignment to silence this warning for( ei = 1; name = Engines[ei].name; ei++ ){ ^ ( ) conf.c:64:20: note: use '==' to turn this assignment into an equality comparison for( ei = 1; name = Engines[ei].name; ei++ ){ ^ == conf.c:74:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] romkan_select(){ ^ conf.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kanakan_select(){ ^ conf.c:100:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else for( ei = 1; name = Engines[ei].name; ei++ ) ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:100:25: note: place parentheses around the assignment to silence this warning else for( ei = 1; name = Engines[ei].name; ei++ ) ^ ( ) conf.c:100:25: note: use '==' to turn this assignment into an equality comparison else for( ei = 1; name = Engines[ei].name; ei++ ) ^ == conf.c:115:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else for( ei = 1; name = Engines[ei].name; ei++ ) ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:115:25: note: place parentheses around the assignment to silence this warning else for( ei = 1; name = Engines[ei].name; ei++ ) ^ ( ) conf.c:115:25: note: use '==' to turn this assignment into an equality comparison else for( ei = 1; name = Engines[ei].name; ei++ ) ^ == conf.c:134:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( romkan = next_romkan() ){ ~~~~~~~^~~~~~~~~~~~~~~ conf.c:134:13: note: place parentheses around the assignment to silence this warning if( romkan = next_romkan() ){ ^ ( ) conf.c:134:13: note: use '==' to turn this assignment into an equality comparison if( romkan = next_romkan() ){ ^ == conf.c:150:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( kanakan = next_kanakan() ){ ~~~~~~~~^~~~~~~~~~~~~~~~ conf.c:150:14: note: place parentheses around the assignment to silence this warning if( kanakan = next_kanakan() ){ ^ ( ) conf.c:150:14: note: use '==' to turn this assignment into an equality comparison if( kanakan = next_kanakan() ){ ^ == conf.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_put_kanakanmode(){ ^ conf.c:163:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_notify_kkinit(fmt,a,b,c,d,e,f,g) ^ conf.c:171:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(msg,ONEW_msg_connecting); ^ conf.c:171:2: note: include the header or explicitly provide a declaration for 'strcat' conf.c:173:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:175:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_showrktab() ^ conf.c:179:6: warning: implicit declaration of function 'Onew_rktab' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_rktab(path) ) ^ conf.c:186:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_extract_rktabs() ^ conf.c:202:7: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if( mkdir(rkdir,0700) != 0 ){ ^ conf.c:206:3: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] chmod(rkdir,0755); ^ conf.c:244:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_rktab(path) ^ conf.c:247:9: warning: implicit declaration of function 'oeiRomkanReady' is invalid in C99 [-Wimplicit-function-declaration] return oeiRomkanReady(path); ^ conf.c:250:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Onew_kkdic() ^ conf.c:254:9: warning: implicit declaration of function 'oeiKanakanReady' is invalid in C99 [-Wimplicit-function-declaration] return oeiKanakanReady(); ^ conf.c:257:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanReady(rkp)char *rkp; { return ONEWromkan_ready(rkp); } ^ conf.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanModesw(m) char *m; { return ONEWromkan_modesw(m); } ^ conf.c:261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanNext() { return ONEWromkan_next(); } ^ conf.c:262:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanGetc() { return ONEWromkan_getc(); } ^ conf.c:263:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } ^ conf.c:264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiRomkanClear() { return ONEWromkan_clear(); } ^ conf.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiKanakanReady() { return ONEWkanakan_ready(); } ^ conf.c:267:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } ^ conf.c:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiKanakanFreqsave() { return ONEWkanakan_freqsave(); } ^ conf.c:269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } ^ conf.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } ^ conf.c:271:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } ^ conf.c:272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiJisyoTouroku(a,h,y,k)char *h,*y,*k;{ return ONEWjisyo_touroku(a,h,y,k); } ^ conf.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oeiJisyoHinshi(h) char *h; { return ONEWjisyo_hinshi(h); } ^ 41 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onew_euc.c onew_euc.c:7:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@(control+@)ǥѴ(romkan)ϣ"; ^~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:10:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:romkan-ϣƣ ^K:/ ^L:/ Z: ^V:a ^G: SPACE:Ѵ RET:"; ^~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:13:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̵ѴϤޤcontrol-ϣ"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ onew_euc.c:16:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:ƩON¾:Ʃ ɲ/"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:19:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:ƩOFF ¾:Ʃ ɲ/"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:22:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "RETURN:꽪λ%c=%sƩ=[%s]"; ^~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ onew_euc.c:25:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸʸȤʸϤ^L)"; ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:28:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[] ^N(SPACE),^P: n,p: N,P:10 {Ƥ}"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ onew_euc.c:31:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[r]"; ^~~~~~~~ onew_euc.c:34:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[]"; ^~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:37:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸ{^F,^B:, ^O,^I:,̾} {^N,^P: ^G:} RET:"; ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:39:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_Cromhira = "[r]"; ^~~~~~~~ onew_euc.c:40:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_Cromkata = "[r]"; ^~~~~~~~ onew_euc.c:41:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_CromhiraNN = "[n]"; ^~~~~~~~ onew_euc.c:42:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_CromkataNN = "[n]"; ^~~~~~~~ onew_euc.c:44:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_romzen = "[ ]"; ^~~~~~~~ onew_euc.c:45:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_2Bchar = "[#1]"; ^~~~~~~~ onew_euc.c:46:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_kuten = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:47:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_kanakan = "[%s]"; ^~~~~~~~ onew_euc.c:48:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_ichiran = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:49:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_sentaku = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:51:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_modeswitch = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:53:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "a=ɲ k:{/} n:{n'/nn} -:{/=} r:{roma} s:{ʴ}"; ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:56:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʴѴФ %s(%s) ڤؤޤ"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:59:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ѵ %s(%s) ڤؤޤ"; ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:64:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_jisyo = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:65:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_menu_jisyo = "a:Ͽ d: ESC:ä"; ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:67:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_touroku_yomi = "[ɤ]"; ^~~~ ~~~~ onew_euc.c:68:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_touroku_kanji = "[֤]"; ^~~~~~~~ onew_euc.c:69:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_hinshi = "[ʻ]"; ^~~~ ~~~~ onew_euc.c:71:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʻƤ {SPACE: b: RETURN: ESC:Ȥ}"; ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:72:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuOK = "Ͽޤ(^_^)"; ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:73:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuERROR = "ϿǤޤǤ(;_;)?"; ^~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:74:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuABORT = "ϿȤޤ"; ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:75:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_massyou = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:76:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_menu_massyou = "äޤ {y: n:ʤ}"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ onew_euc.c:77:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_massyouOK = "ޤ(^_^)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:83:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ĶѿWnnrkǥȥƲ ;-<"; ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:86:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "³... :-)"; ^~~~~~~~~~~~~~~~ ~~~~~~~~ onew_euc.c:89:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "³Ǥޤ;-<"; ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:92:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޤ;-<"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:95:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "پ
¸Ǥޤ ;-<"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:98:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ϡޤݡȤƤޤ(^_^;)"; ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:101:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ǥޤ ;-<"; ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:104:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_NU[] = ""; ^~~~~~~~ onew_euc.c:105:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_NA[] = ""; ^~~~~~~~ onew_euc.c:106:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_A[] = ""; ^~~~~~~~ onew_euc.c:107:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_KK_WNN[] = ""; ^~~~~~~~ onew_euc.c:108:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_KK_CANNA[] = ""; ^~~~~~~~ onew_euc.c:112:1: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ɡǡʡˡܡݡ䡩\ ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing rktab.c rm -f libonewk.a ar rc libonewk.a onewver.o onewlib.o onewclient.o onewcodes.o onewmisc.o conf.o onew_euc.o rktab.o ar r libonewk.a interface/*.o ar r libonewk.a dialogue/*.o ar r libonewk.a sys/*.o ranlib libonewk.a cd engine; make CFLAGS="-O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing " CC="cc" ../mkmakefile ONEW_CONF ############## search ONEW_CONF ../mkmakefile Makefile.go ############## include ONEW_CONF* into Makefile.go make -f Makefile.go cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. -I/usr/local/include -DCANNA_RKPATH='".:$HOME:/usr/local/lib/canna/dic:/tmp/onew_rktabs/canna"' -DCANNA_RKTAB='"default.cbp"' Canna.c In file included from Canna.c:28: ./Canna_euc.h:3:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#JN", "̾" }, ^~~~~~~~ ./Canna_euc.h:4:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#CN", "̾" }, ^~~~~~~~ ./Canna_euc.h:5:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#KK", "ȿ̾" }, ^~~~ ~~~~ ./Canna_euc.h:6:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#T30", "̾" }, ^~~~~~~~~~~~~~~~ ./Canna_euc.h:7:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#T35", "̾" }, ^~~~~~~~~~~~~~~~ ./Canna_euc.h:8:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "#KJ", "ñ" }, ^~~~~~~~~~~~~~~~ Canna.c:39:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWkanakan_ready() ~~~~~~ ^ Canna.c:50:3: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] gethostname(chostb,sizeof(chostb)); ^ Canna.c:53:2: warning: implicit declaration of function 'onew_notify_kkinit' is invalid in C99 [-Wimplicit-function-declaration] onew_notify_kkinit("%s ** CANNAHOST(%s)",Onew_version(),chost); ^ Canna.c:53:43: warning: implicit declaration of function 'Onew_version' is invalid in C99 [-Wimplicit-function-declaration] onew_notify_kkinit("%s ** CANNAHOST(%s)",Onew_version(),chost); ^ Canna.c:80:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWkanakan_freqsave() ~~~~~~ ^ Canna.c:82:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:90: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] RkGetKanji(CID,kouho,len); ^~~~~ /usr/local/include/canna/RK.h:286:41: note: passing argument to parameter here int RkGetKanji pro((int, unsigned char *, int)); ^ Canna.c:97:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWkanakan(startch, yomi) ~~~~~~ ^ Canna.c:107:2: warning: implicit declaration of function 'Onew_setupYomistr' is invalid in C99 [-Wimplicit-function-declaration] Onew_setupYomistr(startch,yomi,yomibuf); ^ Canna.c:115:32: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] nbunsetsu = RkBgnBun(CID,yomi,strlen(yomi),xfers); ^ Canna.c:115:32: note: include the header or explicitly provide a declaration for 'strlen' Canna.c:122:4: warning: implicit declaration of function 'ONEW_BEEP' is invalid in C99 [-Wimplicit-function-declaration] ONEW_BEEP(1); ^ Canna.c:133:5: 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] OC_CurrentHinshi,sizeof(OC_CurrentHinshi)); ^~~~~~~~~~~~~~~~ /usr/local/include/canna/RK.h:285:42: note: passing argument to parameter here int RkGetHinshi pro((int, unsigned char *, int)); ^ Canna.c:135:4: warning: implicit declaration of function 'onew_put_kanakanmode' is invalid in C99 [-Wimplicit-function-declaration] onew_put_kanakanmode(); ^ Canna.c:137:12: warning: implicit declaration of function 'OnewGetchar' is invalid in C99 [-Wimplicit-function-declaration] comch = OnewGetchar(); ^ Canna.c:138:12: warning: implicit declaration of function 'Onew_kanakancom' is invalid in C99 [-Wimplicit-function-declaration] rcode = Onew_kanakancom(CID,comch,&bunsetsux,nbunsetsu, ^ Canna.c:163:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWbunsetu_next(cid,cur,inc) ~~~~~~ ^ Canna.c:173:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWbunsetu_expand(cid) ~~~~~~ ^ Canna.c:176:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:177:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWbunsetu_shrink(cid) ~~~~~~ ^ Canna.c:180:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:181:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWexternal_henkan() ~~~~~~ ^ Canna.c:183:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:203: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] RkGetKanji(CID,kanji,sizeof(kanji)); ^~~~~ /usr/local/include/canna/RK.h:286:41: note: passing argument to parameter here int RkGetKanji pro((int, unsigned char *, int)); ^ Canna.c:205:22: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if( bi < curbi ){ strcat(left, kanji); }else ^ Canna.c:205:22: note: include the header or explicitly provide a declaration for 'strcat' Canna.c:210:2: warning: implicit declaration of function 'Onew_dispKanakanBuf' is invalid in C99 [-Wimplicit-function-declaration] Onew_dispKanakanBuf(so,left,cur,right); ^ Canna.c:212:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWbunsetu_delete(){ ~~~~~~ ^ Canna.c:213:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Canna.c:215:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWjisyo_touroku(touroku,hinshi,yomi,kanji) ~~~~~~ ^ Canna.c:222:3: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(wordrec,"%s %s %s",yomi,hinshi,kanji); ^ Canna.c:222:3: note: include the header or explicitly provide a declaration for 'sprintf' Canna.c:223:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = RkDefineDic(CID,dicname,wordrec) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Canna.c:223:13: note: place parentheses around the assignment to silence this warning if( rcode = RkDefineDic(CID,dicname,wordrec) ){ ^ ( ) Canna.c:223:13: note: use '==' to turn this assignment into an equality comparison if( rcode = RkDefineDic(CID,dicname,wordrec) ){ ^ == Canna.c:225:4: warning: implicit declaration of function 'ONEW_BEEP' is invalid in C99 [-Wimplicit-function-declaration] ONEW_BEEP(2); ^ Canna.c:231:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Canna.c:231:13: note: place parentheses around the assignment to silence this warning if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ ^ ( ) Canna.c:231:13: note: use '==' to turn this assignment into an equality comparison if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ ^ == Canna.c:234:4: warning: implicit declaration of function 'ONEW_BEEP' is invalid in C99 [-Wimplicit-function-declaration] ONEW_BEEP(2); ^ Canna.c:242:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWjisyo_hinshi(hinship) ~~~~~~ ^ 40 warnings generated. cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing -I.. -I/usr/local/include -DCANNA_RKPATH='".:$HOME:/usr/local/lib/canna/dic:/tmp/onew_rktabs/canna"' -DCANNA_RKTAB='"default.cbp"' CannaRk.c CannaRk.c:39:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_modesw(); ~~~~~~ ^ CannaRk.c:41:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_ready(rrkfile) ~~~~~~ ^ CannaRk.c:61:13: warning: implicit declaration of function 'Onew_searchPath' is invalid in C99 [-Wimplicit-function-declaration] if((rkfd = Onew_searchPath(rkfile,rkname,rkpath)) < 0) ^ CannaRk.c:62:6: warning: implicit declaration of function 'Onew_extract_rktabs' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_extract_rktabs() ) ^ CannaRk.c:68:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(rkfd); ^ CannaRk.c:70:31: warning: implicit declaration of function 'RkOpenRoma' is invalid in C99 [-Wimplicit-function-declaration] if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ ^ CannaRk.c:70:14: warning: cast to 'struct RkRxDic *' from smaller integer type 'int' [-Wint-to-pointer-cast] if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CannaRk.c:70:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CannaRk.c:70:12: note: place parentheses around the assignment to silence this warning if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ ^ ( ) CannaRk.c:70:12: note: use '==' to turn this assignment into an equality comparison if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ ^ == CannaRk.c:74:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(rrkfile,rkfile); ^ CannaRk.c:74:4: note: include the header or explicitly provide a declaration for 'strcpy' CannaRk.c:87:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static romkan_clear(){ ~~~~~~ ^ CannaRk.c:92:1: warning: non-void function does not return a value [-Wreturn-type] } ^ CannaRk.c:93:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_clear(){ ~~~~~~ ^ CannaRk.c:95:1: warning: non-void function does not return a value [-Wreturn-type] } ^ CannaRk.c:97:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_getc(){ ~~~~~~ ^ CannaRk.c:102:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = outQ ){ ~~~^~~~~~ CannaRk.c:102:9: note: place parentheses around the assignment to silence this warning if( ch = outQ ){ ^ ( ) CannaRk.c:102:9: note: use '==' to turn this assignment into an equality comparison if( ch = outQ ){ ^ == CannaRk.c:106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = inQ ) ~~~^~~~~ CannaRk.c:106:9: note: place parentheses around the assignment to silence this warning if( ch = inQ ) ^ ( ) CannaRk.c:106:9: note: use '==' to turn this assignment into an equality comparison if( ch = inQ ) ^ == CannaRk.c:108:12: warning: implicit declaration of function 'ONEW_getch1' is invalid in C99 [-Wimplicit-function-declaration] else ch = ONEW_getch1(); ^ CannaRk.c:131:9: warning: passing '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] strcpy(src,pending); ^~~ CannaRk.c:131:13: warning: passing 'unsigned char[8]' 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] strcpy(src,pending); ^~~~~~~ CannaRk.c:137:39: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] klen = RkCvtZen(dst,sizeof(dst),src,strlen(src)); ^ CannaRk.c:137:39: note: include the header or explicitly provide a declaration for 'strlen' CannaRk.c:137:46: warning: passing 'unsigned char[256]' 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] klen = RkCvtZen(dst,sizeof(dst),src,strlen(src)); ^~~ CannaRk.c:140:10: warning: implicit declaration of function 'RkMapRoma' is invalid in C99 [-Wimplicit-function-declaration] rlen = RkMapRoma(RKTAB,dst,sizeof(dst),src,strlen(src), ^ CannaRk.c:140:53: warning: passing 'unsigned char[256]' 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 = RkMapRoma(RKTAB,dst,sizeof(dst),src,strlen(src), ^~~ CannaRk.c:156:23: warning: implicit declaration of function 'Onew_toupper' is invalid in C99 [-Wimplicit-function-declaration] ch = 0x80000000 | Onew_toupper(ch); ^ CannaRk.c:176:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_next(){ ~~~~~~ ^ CannaRk.c:179:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = inQ ) ~~~^~~~~ CannaRk.c:179:9: note: place parentheses around the assignment to silence this warning if( ch = inQ ) ^ ( ) CannaRk.c:179:9: note: use '==' to turn this assignment into an equality comparison if( ch = inQ ) ^ == CannaRk.c:181:12: warning: implicit declaration of function 'ONEW_getch1' is invalid in C99 [-Wimplicit-function-declaration] else ch = ONEW_getch1(); ^ CannaRk.c:184:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_gotch(ch) ~~~~~~ ^ CannaRk.c:190:3: warning: implicit declaration of function 'Onew_disp_kanahalves' is invalid in C99 [-Wimplicit-function-declaration] Onew_disp_kanahalves(pending); ^ CannaRk.c:196:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ONEWromkan_modesw(imode) ~~~~~~ ^ 30 warnings generated. ar rc libengine.a Canna.o CannaRk.o cp libonewk.a libonew.a (cd engine; ar r ../libonew.a Canna.o CannaRk.o) (cd stabs; ar r ../libonew.a *.o) ranlib libonew.a cc -c -O2 -pipe -I/wrkdirs/usr/ports/japanese/onew/work/onew -fstack-protector-strong -fno-strict-aliasing onew.c onew.c:43:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static clear_bufs(){ ~~~~~~ ^ onew.c:47:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:52:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static put_client(); ~~~~~~ ^ onew.c:58:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static cdump(name) ~~~~~~ ^ onew.c:77:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(ac,av) ^ onew.c:85:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if( strcmp(av[1],"-rktab") == 0 ){ ^ onew.c:85:7: note: include the header or explicitly provide a declaration for 'strcmp' onew.c:86:4: warning: implicit declaration of function 'Onew_showrktab' is invalid in C99 [-Wimplicit-function-declaration] Onew_showrktab(); ^ onew.c:87:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ onew.c:87:4: note: include the header or explicitly provide a declaration for 'exit' onew.c:94:4: warning: implicit declaration of function 'Onew_extract_rktabs' is invalid in C99 [-Wimplicit-function-declaration] Onew_extract_rktabs(); ^ onew.c:98:4: warning: implicit declaration of function 'Onew_kkdic' is invalid in C99 [-Wimplicit-function-declaration] Onew_kkdic(); ^ onew.c:103:7: warning: implicit declaration of function 'onew_on_via' is invalid in C99 [-Wimplicit-function-declaration] ac = onew_on_via(ac,av); ^ onew.c:105:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if( isatty(0) ){ ^ onew.c:106:3: warning: implicit declaration of function 'Onew_ttyIcanon' is invalid in C99 [-Wimplicit-function-declaration] Onew_ttyIcanon(0); ^ onew.c:109:3: warning: implicit declaration of function 'Onew_notty' is invalid in C99 [-Wimplicit-function-declaration] Onew_notty(); ^ onew.c:115:2: warning: implicit declaration of function 'ONEW_MESSAGE' is invalid in C99 [-Wimplicit-function-declaration] ONEW_MESSAGE(0,"[ROMKAN & KANAKAN FILTER] %s start.",Onew_version()); ^ onew.c:115:55: warning: implicit declaration of function 'Onew_version' is invalid in C99 [-Wimplicit-function-declaration] ONEW_MESSAGE(0,"[ROMKAN & KANAKAN FILTER] %s start.",Onew_version()); ^ onew.c:116:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( debug = getenv("DEBUG_onew") ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ onew.c:116:12: note: place parentheses around the assignment to silence this warning if( debug = getenv("DEBUG_onew") ) ^ ( ) onew.c:116:12: note: use '==' to turn this assignment into an equality comparison if( debug = getenv("DEBUG_onew") ) ^ == onew.c:117:16: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] ONEW_DEBUG = atoi(debug); ^ onew.c:124:9: warning: implicit declaration of function 'kgetc' is invalid in C99 [-Wimplicit-function-declaration] ch1 = kgetc(); ^ onew.c:142:5: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(logfp,"%c%c",ch1,ch2); ^ onew.c:157:3: warning: implicit declaration of function 'Onew_ttyIcanon' is invalid in C99 [-Wimplicit-function-declaration] Onew_ttyIcanon(1); ^ onew.c:162:2: warning: implicit declaration of function 'Onew_KK_freqsave' is invalid in C99 [-Wimplicit-function-declaration] Onew_KK_freqsave(); ^ onew.c:165:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static onew_xcom(){ ~~~~~~ ^ onew.c:168:2: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"ONEW-COMMAND> "); ^ onew.c:171:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_GETCHAR() ^ onew.c:177:8: warning: implicit declaration of function 'GetChar1' is invalid in C99 [-Wimplicit-function-declaration] ch = GetChar1(); ^ onew.c:178:3: warning: implicit declaration of function 'ouiTrace' is invalid in C99 [-Wimplicit-function-declaration] ouiTrace("onew_GETCHAR","(%x)",ch); ^ onew.c:181:4: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"ONEW_GETCHAR: %x\n",ch); ^ onew.c:191:4: warning: implicit declaration of function 'set_is_sock' is invalid in C99 [-Wimplicit-function-declaration] set_is_sock(); ^ onew.c:220:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ~~~~~~ ^ onew.c:229:4: warning: implicit declaration of function 'Onew_version' is invalid in C99 [-Wimplicit-function-declaration] Onew_version()); ^ onew.c:233:8: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] op += strlen(op); ^ onew.c:233:8: note: include the header or explicitly provide a declaration for 'strlen' onew.c:240:3: warning: implicit declaration of function 'ASCII_TO_JIS' is invalid in C99 [-Wimplicit-function-declaration] ASCII_TO_JIS(op,tmp); ^ onew.c:241:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(op,tmp); ^ onew.c:241:3: note: include the header or explicitly provide a declaration for 'strcpy' onew.c:248:56: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stderr,"%s: %-10s %8x %8x ",command,form,a,b,c,d,e,f); ~~~~~~~~~~~~~~~~~~~~ ^ onew.c:249:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch1 = out[ci]; ci++ ){ ~~~~^~~~~~~~~ onew.c:249:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch1 = out[ci]; ci++ ){ ^ ( ) onew.c:249:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch1 = out[ci]; ci++ ){ ^ == onew.c:258:2: warning: implicit declaration of function 'send_to_client' is invalid in C99 [-Wimplicit-function-declaration] send_to_client(out); ^ onew.c:259:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:260:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static got_server(ch){ ~~~~~~ ^ onew.c:267:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static charlen(str) ~~~~~~ ^ onew.c:272:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; ch = str[i]; i++ ){ ~~~^~~~~~~~ onew.c:272:17: note: place parentheses around the assignment to silence this warning for( i = 0; ch = str[i]; i++ ){ ^ ( ) onew.c:272:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; ch = str[i]; i++ ){ ^ == onew.c:281:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kgetc(){ ^ onew.c:286:3: warning: implicit declaration of function 'Onew_RK_init' is invalid in C99 [-Wimplicit-function-declaration] Onew_RK_init(); ^ onew.c:287:3: warning: implicit declaration of function 'Onew_RK_cmode_set' is invalid in C99 [-Wimplicit-function-declaration] Onew_RK_cmode_set('h'); ^ onew.c:289:9: warning: implicit declaration of function 'Onew_romkan' is invalid in C99 [-Wimplicit-function-declaration] inch = Onew_romkan(); ^ onew.c:292:6: warning: implicit declaration of function 'OnewPeekchar' is invalid in C99 [-Wimplicit-function-declaration] if( OnewPeekchar(200) == EOF ) ^ onew.c:308:8: warning: implicit declaration of function 'Onew_non_ascii' is invalid in C99 [-Wimplicit-function-declaration] if( Onew_non_ascii(onew_buf) ){ ^ onew.c:320:10: warning: implicit declaration of function 'ONEW_BEEP' is invalid in C99 [-Wimplicit-function-declaration] }else ONEW_BEEP(1); ^ onew.c:325:8: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"\r"); ^ onew.c:329:39: warning: too few arguments in call to 'put_client' strlen(onew_buf),charlen(onew_buf)); ^ onew.c:330:34: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s","");/* do delete */ ~~~~~~~~~~ ^ onew.c:330:32: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s","");/* do delete */ ^~ onew.c:346:5: warning: implicit declaration of function 'ONEW_MESSAGE' is invalid in C99 [-Wimplicit-function-declaration] ONEW_MESSAGE(1,"[%x] %s", ^ onew.c:349:1: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(2); ^ onew.c:368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_KANAKAN(ch){ ^ onew.c:374:39: warning: too few arguments in call to 'put_client' strlen(onew_buf),charlen(onew_buf)); ^ onew.c:376:9: warning: implicit declaration of function 'Onew_kanakan' is invalid in C99 [-Wimplicit-function-declaration] com = Onew_kanakan(ch,onew_buf,0,idbx); ^ onew.c:383:35: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","+U"); ~~~~~~~~~~ ^ onew.c:383:31: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:384:38: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s",onew_out); ~~~~~~~~~~ ^ onew.c:384:30: warning: incompatible pointer to integer conversion passing 'Mssgbuff' (aka 'char[1024]') to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s",onew_out); ^~~~~~~~ onew.c:385:35: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","-U"); ~~~~~~~~~~ ^ onew.c:385:31: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","-U"); ^~~~ onew.c:393:5: warning: implicit declaration of function 'Onew_kakutei' is invalid in C99 [-Wimplicit-function-declaration] Onew_kakutei(com); ^ onew.c:407:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static pending_newline; ~~~~~~ ^ onew.c:408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_KAKUTEI(key){ ^ onew.c:411:7: warning: implicit declaration of function 'Onew_non_ascii' is invalid in C99 [-Wimplicit-function-declaration] na = Onew_non_ascii(onew_buf) || Onew_non_ascii(onew_out); ^ onew.c:413:26: warning: too few arguments in call to 'put_client' put_client(S_CONFIRM,""); ~~~~~~~~~~ ^ onew.c:417:4: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stdout,"%s\n",onew_out); ^ onew.c:429:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_DISP_KANAHALF(ch){ ^ onew.c:432:30: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s",""); ~~~~~~~~~~ ^ onew.c:432:28: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s",""); ^~ onew.c:434:46: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%c%c",0x80|'#',0x80|ch); ~~~~~~~~~~ ^ onew.c:435:35: warning: too few arguments in call to 'put_client' put_client(S_DELETE,"%d %d",2,1); ~~~~~~~~~~ ^ onew.c:443:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:445:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_is_sock(){ ^ onew.c:451:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_DISP_KANAKANB(so,left,current,right) ^ onew.c:462:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","+U"); ~~~~~~~~~~ ^ onew.c:462:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:463:32: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s",left); ~~~~~~~~~~ ^ onew.c:463:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s",left); ^~~~ onew.c:464:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","-U"); ~~~~~~~~~~ ^ onew.c:464:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","-U"); ^~~~ onew.c:467:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","+R"); ~~~~~~~~~~ ^ onew.c:467:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","+R"); ^~~~ onew.c:468:35: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s",current); ~~~~~~~~~~ ^ onew.c:468:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s",current); ^~~~~~~ onew.c:469:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","-R"); ~~~~~~~~~~ ^ onew.c:469:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","-R"); ^~~~ onew.c:472:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","+U"); ~~~~~~~~~~ ^ onew.c:472:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:473:33: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%s",right); ~~~~~~~~~~ ^ onew.c:473:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] put_client(S_INPUT,"%s",right); ^~~~~ onew.c:474:33: warning: too few arguments in call to 'put_client' put_client(S_CHATTR,"%s","-U"); ~~~~~~~~~~ ^ onew.c:474:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] put_client(S_CHATTR,"%s","-U"); ^~~~ onew.c:476:42: warning: too few arguments in call to 'put_client' put_client(S_DELETE,"%d %d",bytes,chars); ~~~~~~~~~~ ^ onew.c:478:41: warning: too few arguments in call to 'put_client' left,"\033[7m",current,"\033[m",right); ^ onew.c:478:4: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] left,"\033[7m",current,"\033[m",right); ^~~~ onew.c:478:9: warning: incompatible pointer to integer conversion passing 'char[5]' to parameter of type 'int' [-Wint-conversion] left,"\033[7m",current,"\033[m",right); ^~~~~~~~~ onew.c:478:19: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] left,"\033[7m",current,"\033[m",right); ^~~~~~~ onew.c:478:27: warning: incompatible pointer to integer conversion passing 'char[4]' to parameter of type 'int' [-Wint-conversion] left,"\033[7m",current,"\033[m",right); ^~~~~~~~ onew.c:478:36: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] left,"\033[7m",current,"\033[m",right); ^~~~~ onew.c:481:3: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"\r%s%s%s%s%s", ^ onew.c:489:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_BEEP(nsec){ ^ onew.c:491:2: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"%c",7); ^ onew.c:493:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:503:46: warning: implicit declaration of function 'Onew_version' is invalid in C99 [-Wimplicit-function-declaration] put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ^ onew.c:503:60: warning: too few arguments in call to 'put_client' put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ~~~~~~~~~~ ^ onew.c:503:34: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ^~~~~ onew.c:503:40: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ^~~~~ onew.c:504:49: warning: too few arguments in call to 'put_client' else put_client(S_MESSAGE,"%s%s",cmode,chelp); ~~~~~~~~~~ ^ onew.c:504:38: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] else put_client(S_MESSAGE,"%s%s",cmode,chelp); ^~~~~ onew.c:504:44: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] else put_client(S_MESSAGE,"%s%s",cmode,chelp); ^~~~~ onew.c:508:4: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"\n"); ^ onew.c:514:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ONEW_MESSAGE(so,form,a,b,c,d) ^ onew.c:522:4: warning: implicit declaration of function 'Onew_fprintf' is invalid in C99 [-Wimplicit-function-declaration] Onew_fprintf(stderr,"Hit ESC to quit.\n"); ^ onew.c:532:33: warning: too few arguments in call to 'put_client' put_client(S_MESSAGE,":%s",msg); ~~~~~~~~~~ ^ onew.c:532:30: warning: incompatible pointer to integer conversion passing 'Mssgbuff' (aka 'char[1024]') to parameter of type 'int' [-Wint-conversion] put_client(S_MESSAGE,":%s",msg); ^~~ onew.c:535:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Tgetnum(id) ^ onew.c:548:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onew_on_via(ac,av){ return ac; } ^ onew.c:549:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetChar1(){ ^ onew.c:552:7: warning: implicit declaration of function 'Onew_getchar' is invalid in C99 [-Wimplicit-function-declaration] ch = Onew_getchar(0,0); ^ onew.c:555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] send_to_client(out){ ^ onew.c:556:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] printf("%s",out); ~~ ^~~ %d onew.c:558:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 130 warnings generated. cc -o onew onew.o sys/hpux.o libonew.a -L/usr/local/lib -lcanna ld: error: duplicate symbol: ONEW_THRUSYMS_ON >>> defined at onew.c >>> onew.o:(ONEW_THRUSYMS_ON) >>> defined at onewlib.c >>> onewlib.o:(.bss+0x520) in archive libonew.a ld: error: duplicate symbol: ONEW_CannarcDone >>> defined at Canna.c >>> Canna.o:(ONEW_CannarcDone) in archive libonew.a >>> defined at CannaRk.c >>> CannaRk.o:(.bss+0x8) in archive libonew.a ld: error: duplicate symbol: ONEW_kanamode >>> defined at onewlib.c >>> onewlib.o:(ONEW_kanamode) in archive libonew.a >>> defined at CannaRk.c >>> CannaRk.o:(.bss+0x4) in archive libonew.a cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/japanese/onew/work/onew2.2.10 *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/japanese/onew/work/onew2.2.10 *** Error code 1 Stop. make[1]: stopped in /usr/ports/japanese/onew *** Error code 1 Stop. make: stopped in /usr/ports/japanese/onew =>> Cleaning up wrkdir ===> Cleaning for ja-onew-2.2.10_2 build of japanese/onew | ja-onew-2.2.10_2 ended at Sun Mar 31 18:58:51 BST 2024 build time: 00:05:59 !!! build failure encountered !!!