>>> Building on exopi-3 under japanese/onew,canna,wnn4 BDEPENDS = [japanese/Wnn;japanese/canna] DIST = [japanese/onew,canna:jvim2.0r+onew2.2.10.tar.gz] FULLPKGNAME = ja-onew-wnn4-canna-2.2.10p5 RDEPENDS = [japanese/canna] (Junk lock obtained for exopi-3 at 1764614694.18) >>> Running depends in japanese/onew,canna,wnn4 at 1764614694.21 /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 ja-Wnn-4.2p17 was: /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 ja-Wnn-4.2p17 /usr/sbin/pkg_add -aI -Drepair cannalib-3.5b2p6 ja-Wnn-4.2p17 So, user _wnn already exists ! For a complete server, you need ja-Wnn-dict-4.2 as well --- +ja-Wnn-4.2p17 ------------------- You may wish to add /usr/local/man/ja to /etc/man.conf >>> Running show-prepare-results in japanese/onew,canna,wnn4 at 1764614700.55 ===> japanese/onew,canna,wnn4 ===> Building from scratch ja-onew-wnn4-canna-2.2.10p5 ===> ja-onew-wnn4-canna-2.2.10p5 depends on: ja-Wnn-* -> ja-Wnn-4.2p17 ===> ja-onew-wnn4-canna-2.2.10p5 depends on: cannalib-* -> cannalib-3.5b2p6 ===> Verifying specs: canna ===> found canna.1.0 cannalib-3.5b2p6 ja-Wnn-4.2p17 (Junk lock released for exopi-3 at 1764614702.14) Woken up security/p5-Authen-SASL distfiles size=569300 >>> Running build in japanese/onew,canna,wnn4 at 1764614702.22 ===> japanese/onew,canna,wnn4 ===> Checking files for ja-onew-wnn4-canna-2.2.10p5 `/exopi-cvs/ports/distfiles/jvim2.0r+onew2.2.10.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for ja-onew-wnn4-canna-2.2.10p5 ===> Patching for ja-onew-wnn4-canna-2.2.10p5 ===> Applying OpenBSD patch patch-conf_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: conf.c |--- conf.c.orig |+++ conf.c -------------------------- Patching file conf.c using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 120. Hunk #3 succeeded at 139. done ===> Applying OpenBSD patch patch-dialogue_getincode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dialogue/getincode.c.orig Wed May 19 15:56:30 2010 |+++ dialogue/getincode.c Wed May 19 15:56:36 2010 -------------------------- Patching file dialogue/getincode.c using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-dialogue_jiscode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dialogue/jiscode.c.orig Wed May 19 15:58:57 2010 |+++ dialogue/jiscode.c Wed May 19 15:59:03 2010 -------------------------- Patching file dialogue/jiscode.c using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-dialogue_jisyo_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: dialogue/jisyo.c |--- dialogue/jisyo.c.orig |+++ dialogue/jisyo.c -------------------------- Patching file dialogue/jisyo.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 61. done ===> Applying OpenBSD patch patch-dialogue_keisen_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: dialogue/keisen.c |--- dialogue/keisen.c.orig |+++ dialogue/keisen.c -------------------------- Patching file dialogue/keisen.c using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-dialogue_onewdic_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: dialogue/onewdic.c |--- dialogue/onewdic.c.orig |+++ dialogue/onewdic.c -------------------------- Patching file dialogue/onewdic.c using Plan A... Hunk #1 succeeded at 18. Hunk #2 succeeded at 43. Hunk #3 succeeded at 106. Hunk #4 succeeded at 119. Hunk #5 succeeded at 154. done ===> Applying OpenBSD patch patch-dialogue_selector_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- dialogue/selector.c.orig Wed May 19 15:56:41 2010 |+++ dialogue/selector.c Wed May 19 15:56:52 2010 -------------------------- Patching file dialogue/selector.c using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-engine_CannaRk_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/CannaRk.c |--- engine/CannaRk.c.orig |+++ engine/CannaRk.c -------------------------- Patching file engine/CannaRk.c using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-engine_Canna_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: engine/Canna.c |--- engine/Canna.c.orig |+++ engine/Canna.c -------------------------- Patching file engine/Canna.c using Plan A... Hunk #1 succeeded at 20. Hunk #2 succeeded at 35. Hunk #3 succeeded at 106. Hunk #4 succeeded at 185. done ===> Applying OpenBSD patch patch-engine_WnnRomkan_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- engine/WnnRomkan.c.orig Wed May 19 16:04:14 2010 |+++ engine/WnnRomkan.c Wed May 19 16:04:22 2010 -------------------------- Patching file engine/WnnRomkan.c using Plan A... Hunk #1 succeeded at 21. done ===> Applying OpenBSD patch patch-engine_Wnn_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- engine/Wnn.c.orig Wed May 19 16:04:00 2010 |+++ engine/Wnn.c Wed May 19 16:04:07 2010 -------------------------- Patching file engine/Wnn.c using Plan A... Hunk #1 succeeded at 26. done ===> Applying OpenBSD patch patch-interface_oui_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: interface/oui.c |--- interface/oui.c.orig |+++ interface/oui.c -------------------------- Patching file interface/oui.c using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-interface_ouimessage_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: interface/ouimessage.c |--- interface/ouimessage.c.orig |+++ interface/ouimessage.c -------------------------- Patching file interface/ouimessage.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 18. done ===> Applying OpenBSD patch patch-onew_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: onew.c |--- onew.c.orig |+++ onew.c -------------------------- Patching file onew.c using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 36. Hunk #3 succeeded at 493. done ===> Applying OpenBSD patch patch-onewclient_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: onewclient.c |--- onewclient.c.orig |+++ onewclient.c -------------------------- Patching file onewclient.c using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 45. done ===> Applying OpenBSD patch patch-onewcodes_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- onewcodes.c.orig Wed May 19 15:54:43 2010 |+++ onewcodes.c Wed May 19 15:55:07 2010 -------------------------- Patching file onewcodes.c using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-onewlib_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- onewlib.c.orig Sun Jul 2 09:55:41 1995 |+++ onewlib.c Wed May 19 15:54:13 2010 -------------------------- Patching file onewlib.c using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 102. Hunk #3 succeeded at 122. Hunk #4 succeeded at 183. Hunk #5 succeeded at 201. Hunk #6 succeeded at 316. done ===> Applying OpenBSD patch patch-onewmisc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: onewmisc.c |--- onewmisc.c.orig |+++ onewmisc.c -------------------------- Patching file onewmisc.c using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 101. Hunk #3 succeeded at 149. Hunk #4 succeeded at 160. done ===> Applying OpenBSD patch patch-sys_regex_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/regex.c.orig Fri Jun 30 06:56:01 1995 |+++ sys/regex.c Wed Mar 28 03:58:57 2001 -------------------------- Patching file sys/regex.c using Plan A... Hunk #1 succeeded at 35. done ===> Applying OpenBSD patch patch-sys_sys_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Use __freadahead() instead of accessing inside FILE object. | |Index: sys/sys.h |--- sys/sys.h.orig |+++ sys/sys.h -------------------------- Patching file sys/sys.h using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 74. done ===> Applying OpenBSD patch patch-sys_tty_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/tty.c.orig Sun Dec 8 16:06:46 2013 |+++ sys/tty.c Sun Dec 8 16:07:22 2013 -------------------------- Patching file sys/tty.c using Plan A... Hunk #1 succeeded at 76. done ln -s /exopi-cvs/ports/japanese/onew/files/ONEW_CONF-for-wnn4-canna /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/onew/ONEW_CONF ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ja-onew-wnn4-canna-2.2.10p5 ===> Configuring for ja-onew-wnn4-canna-2.2.10p5 ===> Building for ja-onew-wnn4-canna-2.2.10p5 ./mkmakefile Makefile.go ############## include ONEW_CONF* into Makefile.go make -f Makefile.go cd stabs; make CFLAGS="-O2 -pipe " CC="cc" cc -O2 -pipe -c _Canna.c cc -O2 -pipe -c _CannaRk.c cc -O2 -pipe -c _Wnn.c cc -O2 -pipe -c _WnnRomkan.c cd interface; make CFLAGS="-O2 -pipe " CC="cc" cc -c -O2 -pipe oui.c oui.c:12:31: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:29: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:27: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:25: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:23: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:21: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:12:19: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ 13 | char *fmt; 14 | char *prim; 15 | { char *logf; oui.c:18:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | if( logf = getenv("ONEW_UIFLOG") ) | ^ oui.c:18:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 18 | if( logf = getenv("ONEW_UIFLOG") ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ oui.c:18:12: note: place parentheses around the assignment to silence this warning 18 | if( logf = getenv("ONEW_UIFLOG") ) | ^ | ( ) oui.c:18:12: note: use '==' to turn this assignment into an equality comparison 18 | if( logf = getenv("ONEW_UIFLOG") ) | ^ | == oui.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | ouiTrace(prim,fmt,a,b,c,d,e,f,g) | ^ oui.c:30:36: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:34: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:32: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:30: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:28: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:26: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:24: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:20: warning: parameter 'fmt' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:15: warning: parameter 'prim' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ | int oui.c:30:49: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^~~~ oui.c:30:54: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^~~ oui.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:30:74: warning: non-void function does not return a value [-Wreturn-type] 30 | Onew_ouiTrace(prim,fmt,a,b,c,d,e,f,g){ ouiTrace(prim,fmt,a,b,c,d,e,f,g); } | ^ oui.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | ouiGETCHAR() | ^ | int oui.c:35:22: warning: too few arguments in call to 'ouiTrace' 35 | ouiTrace("GETCHAR",0); | ~~~~~~~~ ^ oui.c:36:7: warning: call to undeclared function 'ONEW_GETCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | ch = ONEW_GETCHAR(); | ^ oui.c:37:30: warning: too few arguments in call to 'ouiTrace' 37 | ouiTrace("GETCHAR","(%x)",ch); | ~~~~~~~~ ^ oui.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | ouiPEEKCHAR(msecp) | ^ | int oui.c:45:23: warning: too few arguments in call to 'ouiTrace' 45 | ouiTrace("PEEKCHAR",0); | ~~~~~~~~ ^ oui.c:46:7: warning: call to undeclared function 'ONEW_PEEKCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | ch = ONEW_PEEKCHAR(msecp); | ^ oui.c:48:32: warning: too few arguments in call to 'ouiTrace' 48 | ouiTrace("PEEKCHAR","(%x)",ch); | ~~~~~~~~ ^ oui.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | ouiPEEKCHAR(msecp) | ^ oui.c:51:22: warning: parameter 'lo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | ouiGOT_2BCHAR(buf,hi,lo) | ^ 52 | char *buf; 53 | { oui.c:51:19: warning: parameter 'hi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | ouiGOT_2BCHAR(buf,hi,lo) | ^ 52 | char *buf; 53 | { oui.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | ouiGOT_2BCHAR(buf,hi,lo) | ^ | int oui.c:54:25: warning: too few arguments in call to 'ouiTrace' 54 | ouiTrace("GOT_2BCHAR",0); | ~~~~~~~~ ^ oui.c:55:9: warning: call to undeclared function 'ONEW_GOT_2BCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | return ONEW_GOT_2BCHAR(buf,hi,lo); | ^ oui.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ouiGOT_2BCHAR(buf,hi,lo) | ^ oui.c:57:30: warning: parameter 'modeflags' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | ouiDISP_ROMKANMODE(mode,help,modeflags) | ^ 58 | char *mode,*help; 59 | { oui.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | ouiDISP_ROMKANMODE(mode,help,modeflags) | ^ | int oui.c:60:56: warning: too few arguments in call to 'ouiTrace' 60 | ouiTrace("DISP_ROMKANMODE","%-6s[%04x]",mode,modeflags); | ~~~~~~~~ ^ oui.c:60:42: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 60 | ouiTrace("DISP_ROMKANMODE","%-6s[%04x]",mode,modeflags); | ^~~~ oui.c:61:9: warning: call to undeclared function 'ONEW_DISP_ROMKANMODE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | return ONEW_DISP_ROMKANMODE(mode,help,modeflags); | ^ oui.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | ouiDISP_ROMKANMODE(mode,help,modeflags) | ^ oui.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | ouiDISP_KANAHALVES(str) | ^ | int oui.c:66:39: warning: too few arguments in call to 'ouiTrace' 66 | ouiTrace("DISP_KANAHALVES","(%s)",str); | ~~~~~~~~ ^ oui.c:66:36: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 66 | ouiTrace("DISP_KANAHALVES","(%s)",str); | ^~~ oui.c:67:9: warning: call to undeclared function 'ONEW_DISP_KANAHALVES'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | return ONEW_DISP_KANAHALVES(str); | ^ oui.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ouiDISP_KANAHALVES(str) | ^ oui.c:69:12: warning: parameter 'kkchar' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | ouiKANAKAN(kkchar) | ^ 70 | { oui.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | ouiKANAKAN(kkchar) | ^ | int oui.c:71:32: warning: too few arguments in call to 'ouiTrace' 71 | ouiTrace("KANAKAN","%x",kkchar); | ~~~~~~~~ ^ oui.c:72:9: warning: call to undeclared function 'ONEW_KANAKAN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | return ONEW_KANAKAN(kkchar); | ^ oui.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ouiKANAKAN(kkchar) | ^ oui.c:74:18: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | ouiDISP_KANAKANB(so,left,cur,right) | ^ 75 | char *left,*cur,*right; 76 | { oui.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | ouiDISP_KANAKANB(so,left,cur,right) | ^ | int oui.c:77:34: warning: too few arguments in call to 'ouiTrace' 77 | ouiTrace("DISP_KANAKANB","%d",so); | ~~~~~~~~ ^ oui.c:78:9: warning: call to undeclared function 'ONEW_DISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | return ONEW_DISP_KANAKANB(so,left,cur,right); | ^ oui.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ouiDISP_KANAKANB(so,left,cur,right) | ^ oui.c:80:12: warning: parameter 'kakutei_start_char' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | ouiKAKUTEI(kakutei_start_char) | ^ 81 | { oui.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | ouiKAKUTEI(kakutei_start_char) | ^ | int oui.c:82:44: warning: too few arguments in call to 'ouiTrace' 82 | ouiTrace("KAKUTEI","%x",kakutei_start_char); | ~~~~~~~~ ^ oui.c:83:9: warning: call to undeclared function 'ONEW_KAKUTEI'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | return ONEW_KAKUTEI(kakutei_start_char); | ^ oui.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | ouiKAKUTEI(kakutei_start_char) | ^ oui.c:89:9: warning: parameter 'waitsec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | ouiBEEP(waitsec) | ^ 90 | { oui.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | ouiBEEP(waitsec) | ^ | int oui.c:91:19: warning: too few arguments in call to 'ouiTrace' 91 | ouiTrace("BEEP",0); | ~~~~~~~~ ^ oui.c:92:9: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | return ONEW_BEEP(waitsec); | ^ oui.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | ouiBEEP(waitsec) | ^ oui.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | ouiMESSAGE_COLS() | ^ | int oui.c:97:9: warning: call to undeclared function 'ONEW_MESSAGE_COLS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | cols = ONEW_MESSAGE_COLS(); | ^ oui.c:98:35: warning: too few arguments in call to 'ouiTrace' 98 | ouiTrace("MESSAGE_COLS","%d",cols); | ~~~~~~~~ ^ oui.c:101:12: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | ouiMESSAGE(so,fmt,a,b,c,d,e,f,g) | ^ 102 | char *fmt; 103 | char *a,*b,*c,*d,*e,*f,*g; 104 | { char msg[512]; oui.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | ouiMESSAGE(so,fmt,a,b,c,d,e,f,g) | ^ | int oui.c:107:31: warning: too few arguments in call to 'ouiTrace' 107 | ouiTrace("MESSAGE","<%s>",msg); | ~~~~~~~~ ^ oui.c:107:28: warning: incompatible pointer to integer conversion passing 'char[512]' to parameter of type 'int' [-Wint-conversion] 107 | ouiTrace("MESSAGE","<%s>",msg); | ^~~ oui.c:108:9: warning: call to undeclared function 'ONEW_MESSAGE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | return ONEW_MESSAGE(so,fmt,a,b,c,d,e,f,g); | ^ oui.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | ouiMESSAGE(so,fmt,a,b,c,d,e,f,g) | ^ oui.c:115:20: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 115 | Onew_disp_kanahalf(ch) | ^ 116 | { char buf[128]; oui.c:115:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 115 | Onew_disp_kanahalf(ch) | ^ | int oui.c:120:2: warning: call to undeclared function 'Onew_disp_kanahalves'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | Onew_disp_kanahalves(buf); | ^ oui.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Onew_disp_kanahalf(ch) | ^ oui.c:121:1: warning: non-void function does not return a value [-Wreturn-type] 121 | } | ^ oui.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | Onew_disp_kanahalves(str) | ^ | int oui.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] oui.c:128:1: warning: non-void function does not return a value [-Wreturn-type] 128 | } | ^ 87 warnings generated. cc -c -O2 -pipe ouimessage.c ouimessage.c:33:14: warning: call to undeclared function 'Onew_modef'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | modeflags = Onew_modef(&mode,xmode,&help,xhelp); | ^ ouimessage.c:38:2: warning: call to undeclared function 'ouiDISP_ROMKANMODE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | ouiDISP_ROMKANMODE(mode,help,xmodef); | ^ ouimessage.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | Onew_putmode(mode,help) | ^ ouimessage.c:54:17: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | Onew_putmsg_sys(so,fmt,a,b,c,d,e,f,g) | ^ 55 | char *fmt,*a,*b,*c,*d,*e,*f,*g; 56 | { ouimessage.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | Onew_putmsg_sys(so,fmt,a,b,c,d,e,f,g) | ^ | int ouimessage.c:58:2: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | Onew_putmsg(so,fmt,a,b,c,d,e,f,g); | ^ ouimessage.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | Onew_putmsg_sys(so,fmt,a,b,c,d,e,f,g) | ^ ouimessage.c:59:1: warning: non-void function does not return a value [-Wreturn-type] 59 | } | ^ ouimessage.c:60:20: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | Onew_putmsg_retain(so,fmt,a,b,c,d,e,f,g) | ^ 61 | char *fmt,*a,*b,*c,*d,*e,*f,*g; 62 | { ouimessage.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | Onew_putmsg_retain(so,fmt,a,b,c,d,e,f,g) | ^ | int ouimessage.c:64:2: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | Onew_putmsg(so,fmt,a,b,c,d,e,f,g); | ^ ouimessage.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | Onew_putmsg_retain(so,fmt,a,b,c,d,e,f,g) | ^ ouimessage.c:65:1: warning: non-void function does not return a value [-Wreturn-type] 65 | } | ^ ouimessage.c:67:15: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | Onew_putmodef(mode,fmt,a,b,c,d,e,f,g) | ^ 68 | char *fmt,*a,*b,*c,*d,*e,*f,*g; 69 | { char help[1024]; ouimessage.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | Onew_putmodef(mode,fmt,a,b,c,d,e,f,g) | ^ | int ouimessage.c:72:15: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 72 | Onew_putmode(mode,help); | ^~~~ ouimessage.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | Onew_putmodef(mode,fmt,a,b,c,d,e,f,g) | ^ ouimessage.c:73:1: warning: non-void function does not return a value [-Wreturn-type] 73 | } | ^ ouimessage.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | Onew_pushmode(mode) | ^ | int ouimessage.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ouimessage.c:84:1: warning: non-void function does not return a value [-Wreturn-type] 84 | } | ^ ouimessage.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | Onew_popmode() | ^ | int ouimessage.c:89:1: warning: non-void function does not return a value [-Wreturn-type] 89 | } | ^ ouimessage.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | Onew_curmsg(msg) | ^ | int ouimessage.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ouimessage.c:95:1: warning: non-void function does not return a value [-Wreturn-type] 95 | } | ^ ouimessage.c:96:13: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | Onew_putmsg(so,F,a,b,c,d,e,f,g) | ^ 97 | char *F; 98 | char *a,*b,*c,*d,*e,*f,*g; 99 | { Mssgbuff tmsg,msg; ouimessage.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | Onew_putmsg(so,F,a,b,c,d,e,f,g) | ^ | int ouimessage.c:101:15: warning: call to undeclared function 'ouiMESSAGE_COLS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | int maxcol = ouiMESSAGE_COLS(); | ^ ouimessage.c:120:3: warning: call to undeclared function 'ouiMESSAGE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | ouiMESSAGE(so,"%s",msg); | ^ ouimessage.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | Onew_putmsg(so,F,a,b,c,d,e,f,g) | ^ ouimessage.c:123:1: warning: non-void function does not return a value [-Wreturn-type] 123 | } | ^ 32 warnings generated. cc -c -O2 -pipe MESSAGE_COLS.c MESSAGE_COLS.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | ONEW_MESSAGE_COLS(){ | ^ | int MESSAGE_COLS.c:8:7: warning: call to undeclared function 'Onew_maxcols'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 8 | co = Onew_maxcols(); | ^ MESSAGE_COLS.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | Onew_maxcols() | ^ | int MESSAGE_COLS.c:19:9: warning: call to undeclared function 'Tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | cols = Tgetnum("co"); | ^ 4 warnings generated. cc -c -O2 -pipe PEEKCHAR.c PEEKCHAR.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | ONEW_PEEKCHAR(timeout) | ^ | int PEEKCHAR.c:12:10: warning: call to undeclared function 'Onew_inready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | if( 0 < Onew_inready(stdin,*timeout*1000) ){ | ^ PEEKCHAR.c:5:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | ONEW_PEEKCHAR(timeout) | ^ 3 warnings generated. cc -c -O2 -pipe GETCHAR.c GETCHAR.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | ONEW_GETCHAR() | ^ | int 1 warning generated. cc -c -O2 -pipe BEEP.c BEEP.c:5:11: warning: parameter 'second' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | ONEW_BEEP(second) | ^ 6 | { BEEP.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | ONEW_BEEP(second) | ^ | int BEEP.c:9:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | sleep(second); | ^ BEEP.c:5:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | ONEW_BEEP(second) | ^ BEEP.c:10:1: warning: non-void function does not return a value [-Wreturn-type] 10 | } | ^ 5 warnings generated. cc -c -O2 -pipe GOT_2BCHAR.c GOT_2BCHAR.c:4:24: warning: parameter 'lo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ONEW_GOT_2BCHAR(buf,hi,lo) | ^ 5 | char *buf; 6 | { GOT_2BCHAR.c:4:21: warning: parameter 'hi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ONEW_GOT_2BCHAR(buf,hi,lo) | ^ 5 | char *buf; 6 | { GOT_2BCHAR.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ONEW_GOT_2BCHAR(buf,hi,lo) | ^ | int GOT_2BCHAR.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] GOT_2BCHAR.c:10:1: warning: non-void function does not return a value [-Wreturn-type] 10 | } | ^ 5 warnings generated. cc -c -O2 -pipe DISP_ROMKANB.c DISP_ROMKANB.c:6:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 6 | ONEW_DISP_KANAHALVES(str) | ^ | int DISP_ROMKANB.c:15:8: warning: call to undeclared function 'Onew_toupper'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | ch = Onew_toupper(ch); | ^ DISP_ROMKANB.c:17:9: warning: call to undeclared function 'ONEW_DISP_KANAHALF'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | return ONEW_DISP_KANAHALF(ch); | ^ DISP_ROMKANB.c:6:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | ONEW_DISP_KANAHALVES(str) | ^ 4 warnings generated. cc -c -O2 -pipe getchar.c getchar.c:13:29: warning: parameter 'autosave_delay' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | Onew_getchar(freqsave_delay,autosave_delay,autosave_func) | ^ 14 | int (*autosave_func)(); 15 | { int ch; getchar.c:13:14: warning: parameter 'freqsave_delay' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | Onew_getchar(freqsave_delay,autosave_delay,autosave_func) | ^ 14 | int (*autosave_func)(); 15 | { int ch; getchar.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | Onew_getchar(freqsave_delay,autosave_delay,autosave_func) | ^ | int getchar.c:17:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 17 | void (*signal())(); | ^ /usr/include/sys/signal.h:199:8: note: conflicting prototype is here 199 | void (*signal(int, void (*)(int)))(int); | ^ getchar.c:23:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 23 | if( ch = setjmp(getch_env) ){ | ~~~^~~~~~~~~~~~~~~~~~~ getchar.c:23:9: note: place parentheses around the assignment to silence this warning 23 | if( ch = setjmp(getch_env) ){ | ^ | ( ) getchar.c:23:9: note: use '==' to turn this assignment into an equality comparison 23 | if( ch = setjmp(getch_env) ){ | ^ | == getchar.c:33:6: warning: call to undeclared function 'Onew_inready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | if( Onew_inready(stdin,freqsave_delay) == 0 ){ | ^ getchar.c:34:3: warning: call to undeclared function 'Onew_KK_freqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | Onew_KK_freqsave(); | ^ getchar.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | Onew_getchar(freqsave_delay,autosave_delay,autosave_func) | ^ 8 warnings generated. cc -c -O2 -pipe termcap.c termcap.c:8:18: warning: parameter 'force' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 8 | static tcap_init(force){ | ^ termcap.c:8:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 8 | static tcap_init(force){ | ~~~~~~ ^ | int termcap.c:14:16: warning: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | term = (char*)getenv("TERM"); | ^ termcap.c:14:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 14 | term = (char*)getenv("TERM"); | ^~~~~~~~~~~~~~~~~~~~~ termcap.c:17:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | if( tgetent(tcapbuf,term) == 0 ) | ^ termcap.c:8:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | static tcap_init(force){ | ^ termcap.c:30:16: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | return (char*)tgetstr(cap,&p); | ^ termcap.c:30:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 30 | return (char*)tgetstr(cap,&p); | ^~~~~~~~~~~~~~~~~~~~~~ termcap.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | Onew_tgetstr(cap,tstr) | ^ termcap.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | Onew_tgetnum(cap) | ^ | int termcap.c:37:9: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | return tgetnum(cap); | ^ termcap.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | Onew_tgetnum(cap) | ^ termcap.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | Tgetnum(cap) | ^ | int termcap.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] termcap.c:45:13: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static PUTC(ch) | ^ 46 | { termcap.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static PUTC(ch) | ~~~~~~ ^ | int termcap.c:45:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] termcap.c:48:1: warning: non-void function does not return a value [-Wreturn-type] 48 | } | ^ termcap.c:49:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | static char *TCAP(cap) | ^ termcap.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | Onew_tputs(cap,fp) | ^ | int termcap.c:61:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | tputs(TCAP(cap),1,PUTC); | ^ termcap.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | Onew_tputs(cap,fp) | ^ termcap.c:62:1: warning: non-void function does not return a value [-Wreturn-type] 62 | } | ^ 23 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 " CC="cc" cc -c -O2 -pipe -I.. getincode.c getincode.c:16:14: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static pushQ(ch) | ^ 17 | { getincode.c:16:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | static pushQ(ch) | ~~~~~~ ^ | int getincode.c:16:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] getincode.c:19:1: warning: non-void function does not return a value [-Wreturn-type] 19 | } | ^ getincode.c:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static popQ() | ~~~~~~ ^ | int getincode.c:26:23: warning: parameter 'msec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | static PEEKCHAR(msecp,msec) | ^ 27 | int *msecp; 28 | { getincode.c:26:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | static PEEKCHAR(msecp,msec) | ~~~~~~ ^ | int getincode.c:32:9: warning: call to undeclared function 'ouiPEEKCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | return ouiPEEKCHAR(msecp); | ^ getincode.c:26:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | static PEEKCHAR(msecp,msec) | ^ getincode.c:34:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | static GETCHAR(){ | ~~~~~~ ^ | int getincode.c:44:8: warning: call to undeclared function 'ouiGETCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | ch = ouiGETCHAR(); | ^ getincode.c:47:3: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | alarm(0); | ^ getincode.c:50:3: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | sleep(1); | ^ getincode.c:55:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | static input_ready(){ | ~~~~~~ ^ | int getincode.c:61:14: warning: parameter 'timeout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | OnewPeekchar(timeout){ | ^ getincode.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | OnewPeekchar(timeout){ | ^ | int getincode.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] getincode.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | OnewGetchar(){ | ^ | int getincode.c:111:6: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | Onew_putmode(ONEW_mode_2Bchar,0); | ^ getincode.c:114:6: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | Onew_putmode(0,0); | ^ getincode.c:127:4: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | Onew_putmode(0,0); | ^ getincode.c:136:18: warning: parameter 'real_thru' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | OM_get_thruchar( real_thru ) | ^ 137 | { int omode; getincode.c:136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | OM_get_thruchar( real_thru ) | ^ | int getincode.c:140:7: warning: call to undeclared function 'ready_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | if( !ready_keyinQ() ) | ^ getincode.c:141:3: warning: call to undeclared function 'Onew_disp_kanahalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | Onew_disp_kanahalf('^'); | ^ getincode.c:144:10: warning: call to undeclared function 'Onew_RK_imode_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | omode = Onew_RK_imode_set(0); | ^ getincode.c:146:4: warning: call to undeclared function 'enq_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | enq_keyinQ(ONEW_I_SYNC_CHAR); | ^ getincode.c:147:4: warning: call to undeclared function 'Onew_asis_romkan_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | Onew_asis_romkan_next(); | ^ getincode.c:148:4: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | Onew_putmode(romkan_cmode(),ONEW_menu_thru1); | ^ getincode.c:148:17: warning: call to undeclared function 'romkan_cmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | Onew_putmode(romkan_cmode(),ONEW_menu_thru1); | ^ getincode.c:150:7: warning: call to undeclared function 'Onew_asis_romkan_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | kc = Onew_asis_romkan_next(); | ^ getincode.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | OM_get_thruchar( real_thru ) | ^ getincode.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | OnewThruGetchar() | ^ | int 33 warnings generated. cc -c -O2 -pipe -I.. switcher.c switcher.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | OM_mode_switches(){ | ^ | int switcher.c:8:6: warning: call to undeclared function 'Onew_inready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 8 | if( Onew_inready(stdin,400*1000) == 0 ) | ^ switcher.c:9:3: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | Onew_putmode(ONEW_mode_modeswitch,ONEW_menu_modeswitch); | ^ switcher.c:10:8: warning: call to undeclared function 'ONEW_getch0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | com = ONEW_getch0(ONEW_getch_asis); | ^ switcher.c:13:15: warning: call to undeclared function 'romkan_cmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | Onew_putmode(romkan_cmode(),NULL); | ^ switcher.c:14:1: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | ouiTrace("JV:OM_mode_sw.com","('%c')",com); | ^ switcher.c:19:4: warning: call to undeclared function 'enq_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | enq_keyinQ(ONEW_HENKAN_START); | ^ switcher.c:22:13: warning: call to undeclared function 'katakana_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | case 'k': katakana_toggle(); break; | ^ switcher.c:26:4: warning: '/*' within block comment [-Wcomment] 26 | /* romkan_toggle(); */ | ^ switcher.c:29:13: warning: call to undeclared function 'OM_set_thruchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | case '=': OM_set_thruchar(); break; | ^ switcher.c:30:13: warning: call to undeclared function 'sym_thru_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | case '-': sym_thru_toggle(); break; | ^ switcher.c:34:13: warning: call to undeclared function 'switch_rkserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | case 'r': switch_rkserv(); break; | ^ switcher.c:35:13: warning: call to undeclared function 'switch_kkserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | case 's': switch_kkserv(); break; | ^ switcher.c:41:1: warning: non-void function does not return a value [-Wreturn-type] 41 | } | ^ 14 warnings generated. cc -c -O2 -pipe -I.. thruchar.c thruchar.c:10:15: warning: parameter 'syms' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_THRUSYMS(syms) | ^ 11 | { thruchar.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_THRUSYMS(syms) | ^ | int thruchar.c:12:2: warning: call to undeclared function 'strMAPset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | strMAPset(syms,ONEW_THRUSYMA,"ONEW_THRUSYMS", | ^ thruchar.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | Onew_THRUSYMS(syms) | ^ thruchar.c:14:1: warning: non-void function does not return a value [-Wreturn-type] 14 | } | ^ thruchar.c:16:13: warning: parameter 'sym' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | Onew_isTHRU(sym) | ^ 17 | { thruchar.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | Onew_isTHRU(sym) | ^ | int thruchar.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] thruchar.c:25:18: warning: passing arguments to 'strMAPget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | return strMAPget(syms,ONEW_THRUSYMA); | ^ thruchar.c:21:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | static char *list_thrusyms(syms) | ^ thruchar.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | OM_set_thruchar(){ | ^ | int thruchar.c:36:3: warning: call to undeclared function 'Onew_putmsg_sys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | Onew_putmsg_sys(1, "%s", | ^ thruchar.c:42:7: warning: call to undeclared function 'OnewThruGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | kc = OnewThruGetchar(); | ^ thruchar.c:44:2: warning: call to undeclared function 'Onew_disp_kanahalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | Onew_disp_kanahalf(' '); | ^ thruchar.c:46:3: warning: call to undeclared function 'sym_thru_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | sym_thru_toggle(); | ^ thruchar.c:62:1: warning: non-void function does not return a value [-Wreturn-type] 62 | } | ^ 16 warnings generated. cc -c -O2 -pipe -I.. zenkaku1.c zenkaku1.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | OM_zenkaku1(buf) | ^ | int zenkaku1.c:14:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | Onew_putmode(ONEW_mode_romzen,ONEW_menu_zenkaku1); | ^ zenkaku1.c:15:7: warning: call to undeclared function 'ONEW_getch0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | ch = ONEW_getch0(1); | ^ zenkaku1.c:17:2: warning: call to undeclared function 'ONEWromkan_zenkaku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | ONEWromkan_zenkaku(ch,buf); | ^ zenkaku1.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | OM_zenkaku1(buf) | ^ 5 warnings generated. cc -c -O2 -pipe -I.. kanakan.c kanakan.c:15:68: warning: parameter 'alts' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ 16 | int *bunsetux; 17 | int (*kouhof)(); 18 | int *kouhox; 19 | { int rc = CONT; kanakan.c:15:61: warning: parameter 'kouhon' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ 16 | int *bunsetux; 17 | int (*kouhof)(); 18 | int *kouhox; 19 | { int rc = CONT; kanakan.c:15:37: warning: parameter 'bunsetun' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ 16 | int *bunsetux; 17 | int (*kouhof)(); 18 | int *kouhox; 19 | { int rc = CONT; kanakan.c:15:22: warning: parameter 'comch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ 16 | int *bunsetux; 17 | int (*kouhof)(); 18 | int *kouhox; 19 | { int rc = CONT; kanakan.c:15:18: warning: parameter 'ctx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ 16 | int *bunsetux; 17 | int (*kouhof)(); 18 | int *kouhox; 19 | { int rc = CONT; kanakan.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ | int kanakan.c:25:3: warning: call to undeclared function 'romkan_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | romkan_toggle(); rc=EXIT; | ^ kanakan.c:28:5: warning: call to undeclared function 'clr_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | clr_keyinQ(); rc=EXIT; | ^ kanakan.c:33:11: warning: call to undeclared function 'enq_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | default: enq_keyinQ(comch); rc=EXIT;break; | ^ kanakan.c:44:15: warning: call to undeclared function 'clr_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | case ESC_CH: clr_keyinQ(); rc=EXIT;break; | ^ kanakan.c:54:1: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | Onew_putmode(ONEW_mode_ichiran,""); | ^ kanakan.c:57:13: warning: call to undeclared function 'Onew_list_sentaku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | sai = Onew_list_sentaku(0,0,kouhof,alts,kouhon,10,0); | ^ kanakan.c:63:23: warning: call to undeclared function 'oeiBunsetu_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | case Cntl('F'): bi = oeiBunsetu_next(ctx,bi, 1);rc=LOOP;break; | ^ kanakan.c:67:18: warning: call to undeclared function 'oeiBunsetu_shrink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | case Cntl('I'): oeiBunsetu_shrink(ctx,bi); rc=LOOP;break; | ^ kanakan.c:68:18: warning: call to undeclared function 'oeiBunsetu_expand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | case Cntl('O'): oeiBunsetu_expand(ctx,bi); rc=LOOP;break; | ^ kanakan.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) | ^ kanakan.c:80:12: warning: parameter 'kc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | OM_kanakan(kc){ | ^ kanakan.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | OM_kanakan(kc){ | ^ | int kanakan.c:83:7: warning: call to undeclared function 'ouiKANAKAN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | kc = ouiKANAKAN(kc); | ^ kanakan.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | OM_kanakan(kc){ | ^ 20 warnings generated. cc -c -O2 -pipe -I.. selector.c selector.c:5:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | extern ONEW_THRU_MODE; | ~~~~~~ ^ | int selector.c:10:62: warning: parameter 'blk' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) | ^ 11 | int (*label_func)(); 12 | int (*error_func)(); 13 | char *(*get_kdata)(); 14 | int *fromp; 15 | { Linebuff buff,kdata1; selector.c:10:55: warning: parameter 'nkouho' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) | ^ 11 | int (*label_func)(); 12 | int (*error_func)(); 13 | char *(*get_kdata)(); 14 | int *fromp; 15 | { Linebuff buff,kdata1; selector.c:10:51: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) | ^ 11 | int (*label_func)(); 12 | int (*error_func)(); 13 | char *(*get_kdata)(); 14 | int *fromp; 15 | { Linebuff buff,kdata1; selector.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) | ^ | int selector.c:18:15: warning: call to undeclared function 'ouiMESSAGE_COLS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | int maxcol = ouiMESSAGE_COLS(); | ^ selector.c:31:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if( (*get_kdata)(arg,to,kdata1,sizeof(kdata1)) == 0 ) | ^ selector.c:44:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | (label_func)(label,from,to+1,nkouho); | ^ selector.c:47:3: warning: call to undeclared function 'Onew_putmsg_sys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | Onew_putmsg_sys(1,"%s %*s",label,-maxcol,buff); | ^ selector.c:49:10: warning: call to undeclared function 'OnewThruGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | ncom = OnewThruGetchar(); | ^ selector.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if( selch = (char*)strchr(LABEL,ncom) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ selector.c:51:13: note: place parentheses around the assignment to silence this warning 51 | if( selch = (char*)strchr(LABEL,ncom) ){ | ^ | ( ) selector.c:51:13: note: use '==' to turn this assignment into an equality comparison 51 | if( selch = (char*)strchr(LABEL,ncom) ){ | ^ | == selector.c:53:15: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 53 | selected = (int)selch-(int)LABEL + from; | ^~~~~~~~~~ selector.c:53:26: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 53 | selected = (int)selch-(int)LABEL + from; | ^~~~~~~~~~ selector.c:56:5: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | Onew_putmsg(1,"selected=[%x]%d?",ncom,selected); | ^ selector.c:57:5: warning: call to undeclared function 'ouiBEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | ouiBEEP(2); | ^ selector.c:73:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (*get_kdata)(arg,i,kdata1); | ^ selector.c:99:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | (*error_func)(ncom); | ^ selector.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) | ^ 18 warnings generated. cc -c -O2 -pipe -I.. jisyo.c jisyo.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | odmStart_touroku(yomi) | ^ | int jisyo.c:20:2: warning: call to undeclared function 'ouiDISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | ouiDISP_KANAKANB(0,"","",""); | ^ jisyo.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | odmStart_touroku(yomi) | ^ jisyo.c:25:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | odmAbort_touroku(){ | ^ | int jisyo.c:27:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | Onew_putmsg(1,ONEW_msg_tourokuABORT); | ^ jisyo.c:28:3: warning: call to undeclared function 'ouiBEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | ouiBEEP(2); | ^ jisyo.c:37:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 37 | odmJisyo_sousa(){ | ^ | int jisyo.c:41:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | Onew_putmode(ONEW_mode_jisyo,ONEW_menu_jisyo); | ^ jisyo.c:44:8: warning: call to undeclared function 'ONEW_getch0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | com = ONEW_getch0(1); | ^ jisyo.c:49:3: warning: call to undeclared function 'odmJisyo_massyou'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | odmJisyo_massyou(); | ^ jisyo.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | odmJisyo_massyou() | ^ | int jisyo.c:58:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | Onew_putmode(ONEW_mode_massyou,ONEW_menu_massyou); | ^ jisyo.c:59:6: warning: call to undeclared function 'ONEW_getch0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | if( ONEW_getch0(1) == 'y' ) | ^ jisyo.c:60:3: warning: call to undeclared function 'oeiJisyoTouroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | oeiJisyoTouroku(0,0,ONEW_CurrentYomi,ONEW_CurrentKanji); | ^ jisyo.c:62:1: warning: non-void function does not return a value [-Wreturn-type] 62 | } | ^ jisyo.c:71:6: warning: call to undeclared function 'oeiJisyoHinshi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if( oeiJisyoHinshi(&hinshi) == 0 ) | ^ jisyo.c:75:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | Onew_putmode(ONEW_mode_hinshi,""); | ^ jisyo.c:83:3: warning: call to undeclared function 'ouiDISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | ouiDISP_KANAKANB(1,kanji,hname,""); | ^ jisyo.c:85:1: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | Onew_putmsg(1,"[%d/%d] %s",i+1,max,ONEW_menu_touroku); | ^ jisyo.c:100:2: warning: call to undeclared function 'ouiDISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | ouiDISP_KANAKANB(0,ONEW_DicYomi,"",""); | ^ jisyo.c:101:2: warning: call to undeclared function 'oeiJisyoTouroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | oeiJisyoTouroku(1,hinshi[i].h_code,ONEW_DicYomi,ONEW_CurrentKanji); | ^ 21 warnings generated. cc -c -O2 -pipe -I.. onewdic.c In file included from onewdic.c:24: ../onew.h:63:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | extern char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ onewdic.c:36:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | char *strpbrk(); | ^ onewdic.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | Onew_addword(dic,word) | ^ | int onewdic.c:51:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if( np = strpbrk(word,"\n\r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ onewdic.c:51:9: note: place parentheses around the assignment to silence this warning 51 | if( np = strpbrk(word,"\n\r") ){ | ^ | ( ) onewdic.c:51:9: note: use '==' to turn this assignment into an equality comparison 51 | if( np = strpbrk(word,"\n\r") ){ | ^ | == onewdic.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | Onew_addword(dic,word) | ^ onewdic.c:85:21: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | static Word *nth_wp(nth,wppp) | ^ 86 | Word ***wppp; 87 | { Word *wp,**wpp; onewdic.c:85:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | static Word *nth_wp(nth,wppp) | ^ onewdic.c:103:22: warning: parameter 'inc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static word_sort(nth,inc) | ^ 104 | { Word *dwp,*pwp,*twp; onewdic.c:103:18: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static word_sort(nth,inc) | ^ 104 | { Word *dwp,*pwp,*twp; onewdic.c:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static word_sort(nth,inc) | ~~~~~~ ^ | int onewdic.c:103:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewdic.c:132:22: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | static char *nth_str(nth) | ^ 133 | { Word *wp; onewdic.c:132:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | static char *nth_str(nth) | ^ onewdic.c:140:37: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | static char *get_nth_word(_,nth,str,len) | ^ 141 | char *str; 142 | { char *wstr; onewdic.c:140:29: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | static char *get_nth_word(_,nth,str,len) | ^ 141 | char *str; 142 | { char *wstr; onewdic.c:140:27: warning: parameter '_' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | static char *get_nth_word(_,nth,str,len) | ^ 141 | char *str; 142 | { char *wstr; onewdic.c:144:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | if( wstr = nth_str(nth) ){ | ~~~~~^~~~~~~~~~~~~~ onewdic.c:144:11: note: place parentheses around the assignment to silence this warning 144 | if( wstr = nth_str(nth) ){ | ^ | ( ) onewdic.c:144:11: note: use '==' to turn this assignment into an equality comparison 144 | if( wstr = nth_str(nth) ){ | ^ | == onewdic.c:140:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | static char *get_nth_word(_,nth,str,len) | ^ onewdic.c:149:33: warning: parameter 'max' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | static word_label(label,from,to,max) | ^ 150 | char *label; 151 | { onewdic.c:149:30: warning: parameter 'to' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | static word_label(label,from,to,max) | ^ 150 | char *label; 151 | { onewdic.c:149:25: warning: parameter 'from' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | static word_label(label,from,to,max) | ^ 150 | char *label; 151 | { onewdic.c:149:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | static word_label(label,from,to,max) | ~~~~~~ ^ | int onewdic.c:149:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewdic.c:153:1: warning: non-void function does not return a value [-Wreturn-type] 153 | } | ^ onewdic.c:154:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | static word_error(){ | ~~~~~~ ^ | int onewdic.c:155:1: warning: non-void function does not return a value [-Wreturn-type] 155 | } | ^ onewdic.c:167:3: warning: call to undeclared function 'Onew_enqstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | Onew_enqstr(nth_str(0)); | ^ onewdic.c:172:9: warning: call to undeclared function 'Onew_pushmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | mode = Onew_pushmode(ONEW_mode_sentaku); | ^ onewdic.c:173:6: warning: call to undeclared function 'Onew_list_sentaku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | n = Onew_list_sentaku(word_label,word_error,get_nth_word,0, | ^ onewdic.c:176:2: warning: call to undeclared function 'Onew_popmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | Onew_popmode(mode); | ^ onewdic.c:179:3: warning: call to undeclared function 'Onew_enqstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | Onew_enqstr(nth_str(n)); | ^ onewdic.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | Onew_getword(key) | ^ onewdic.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | static | ~~~~~~ | int 186 | ONEWkanakan_ready(){ | ^ onewdic.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | static | ~~~~~~ | int 190 | ONEWkanakan_freqsave() | ^ onewdic.c:192:1: warning: non-void function does not return a value [-Wreturn-type] 192 | } | ^ onewdic.c:194:31: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | ONEWkanakan_kouho(ctx,i,kouho,size) | ^ 195 | char *kouho; 196 | { onewdic.c:194:23: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | ONEWkanakan_kouho(ctx,i,kouho,size) | ^ 195 | char *kouho; 196 | { onewdic.c:194:19: warning: parameter 'ctx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | ONEWkanakan_kouho(ctx,i,kouho,size) | ^ 195 | char *kouho; 196 | { onewdic.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | ONEWkanakan_kouho(ctx,i,kouho,size) | ^ onewdic.c:198:1: warning: non-void function does not return a value [-Wreturn-type] 198 | } | ^ onewdic.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | static | ~~~~~~ | int 200 | ONEWkanakan() | ^ onewdic.c:202:1: warning: non-void function does not return a value [-Wreturn-type] 202 | } | ^ onewdic.c:204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 203 | static | ~~~~~~ | int 204 | ONEWbunsetu_next() | ^ onewdic.c:206:1: warning: non-void function does not return a value [-Wreturn-type] 206 | } | ^ onewdic.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | static | ~~~~~~ | int 208 | ONEWbunsetu_expand() | ^ onewdic.c:210:1: warning: non-void function does not return a value [-Wreturn-type] 210 | } | ^ onewdic.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | static | ~~~~~~ | int 212 | ONEWbunsetu_shrink() | ^ onewdic.c:214:1: warning: non-void function does not return a value [-Wreturn-type] 214 | } | ^ onewdic.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static | ~~~~~~ | int 216 | ONEWjisyo_touroku() | ^ onewdic.c:218:1: warning: non-void function does not return a value [-Wreturn-type] 218 | } | ^ onewdic.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | static | ~~~~~~ | int 220 | ONEWjisyo_hinshi() | ^ onewdic.c:222:1: warning: non-void function does not return a value [-Wreturn-type] 222 | } | ^ 52 warnings generated. cc -c -O2 -pipe -I.. jiscode.c jiscode.c:10:31: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | static Uchar *nth_jiscode(arg,n,code) | ^ 11 | Uchar *code; 12 | { jiscode.c:10:27: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | static Uchar *nth_jiscode(arg,n,code) | ^ 11 | Uchar *code; 12 | { jiscode.c:10:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | static Uchar *nth_jiscode(arg,n,code) | ^ jiscode.c:23:31: warning: parameter 'max' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | static ku_label(label,from,to,max) | ^ 24 | char *label; 25 | { Uchar code[3]; jiscode.c:23:28: warning: parameter 'to' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | static ku_label(label,from,to,max) | ^ 24 | char *label; 25 | { Uchar code[3]; jiscode.c:23:23: warning: parameter 'from' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | static ku_label(label,from,to,max) | ^ 24 | char *label; 25 | { Uchar code[3]; jiscode.c:23:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | static ku_label(label,from,to,max) | ~~~~~~ ^ | int jiscode.c:23:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] jiscode.c:32:1: warning: non-void function does not return a value [-Wreturn-type] 32 | } | ^ jiscode.c:33:17: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | static ku_error(com){ | ^ jiscode.c:33:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | static ku_error(com){ | ~~~~~~ ^ | int jiscode.c:34:2: warning: call to undeclared function 'ouiBEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | ouiBEEP(0); | ^ jiscode.c:35:2: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | Onew_putmsg(1,"%s",ONEW_menu_jiscode); | ^ jiscode.c:36:2: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | OnewGetchar(); | ^ jiscode.c:33:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | static ku_error(com){ | ^ jiscode.c:37:1: warning: non-void function does not return a value [-Wreturn-type] 37 | } | ^ jiscode.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | OM_get_jisspecial(code) | ^ | int jiscode.c:46:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | Onew_putmode(ONEW_mode_kuten,""); | ^ jiscode.c:50:6: warning: call to undeclared function 'Onew_list_sentaku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | n = Onew_list_sentaku(ku_label,ku_error, | ^ jiscode.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | OM_get_jisspecial(code) | ^ 20 warnings generated. cc -c -O2 -pipe -I.. keisen.c keisen.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | static | ~~~~~~ | int 10 | keisen_toggle(type) | ^ keisen.c:13:6: warning: call to undeclared function 'in_kana_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | if( in_kana_mode() ){ | ^ keisen.c:16:4: warning: call to undeclared function 'Onew_RK_imode_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | Onew_RK_imode_set( ONEW_kanamode ^ KF_KEISEN_A); | ^ keisen.c:21:4: warning: call to undeclared function 'Onew_RK_imode_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | Onew_RK_imode_set( ONEW_kanamode ^ KF_KEISEN_B); | ^ keisen.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | keisen_toggle(type) | ^ keisen.c:34:25: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | static keisen_toggle_sw(ch) | ^ 35 | { keisen.c:34:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | static keisen_toggle_sw(ch) | ~~~~~~ ^ | int keisen.c:34:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] keisen.c:44:25: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | ONEW_KEISEN_ON = getenv("ONEW_KEISENMODE"); | ^ keisen.c:47:2: warning: call to undeclared function 'Onew_defineKanamode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | Onew_defineKanamode(ZENKAKU|KF_KEISEN_A,KEISEN_TOGGLE_A,keisen_toggle); | ^ 10 warnings 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 " CC="cc" cc -c -O2 -pipe select.c select.c:35:26: warning: parameter 'wait_usec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | Onew_fd_input_ready( fd, wait_usec ) | ^ 36 | { struct pollfd pfd; select.c:35:22: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | Onew_fd_input_ready( fd, wait_usec ) | ^ 36 | { struct pollfd pfd; select.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | Onew_fd_input_ready( fd, wait_usec ) | ^ | int select.c:43:3: warning: call to undeclared function 'Onew_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | Onew_message(" ERROR! poll(%d) TIMEOUT=%dusec",pfd,wait_usec); | ^ select.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | Onew_fd_input_ready( fd, wait_usec ) | ^ select.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | Onew_readycc(fp) | ^ | int select.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 warnings generated. cc -c -O2 -pipe tty.c tty.c:24:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | Onew_notty() | ^ | int tty.c:29:3: warning: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | ioctl(fd,TIOCNOTTY,0); | ^ tty.c:30:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | close(fd); | ^ tty.c:33:1: warning: non-void function does not return a value [-Wreturn-type] 33 | } | ^ tty.c:70:16: warning: parameter 'on' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | Onew_ttyIcanon(on) | ^ 71 | { int fd; tty.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | Onew_ttyIcanon(on) | ^ | int tty.c:89:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | close(fd); | ^ tty.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | Onew_ttyIcanon(on) | ^ tty.c:90:1: warning: non-void function does not return a value [-Wreturn-type] 90 | } | ^ 9 warnings generated. cc -c -O2 -pipe termio.c cc -c -O2 -pipe regex.c regex.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | re_comp(s) | ^ | int regex.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] regex.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | re_exec(s) | ^ | int regex.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 warnings generated. cc -c -O2 -pipe hpux.c ar rc libsys.a select.o tty.o termio.o regex.o hpux.o cc -c -O2 -pipe onewver.c cc -c -O2 -pipe onewlib.c onewlib.c:68:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | static romkan_ready(){ | ~~~~~~ ^ | int onewlib.c:69:2: warning: call to undeclared function 'romkan_select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | romkan_select(); | ^ onewlib.c:70:9: warning: call to undeclared function 'oeiRomkanReady'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | return oeiRomkanReady(0); | ^ onewlib.c:72:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | static kanakan_ready(){ | ~~~~~~ ^ | int onewlib.c:73:2: warning: call to undeclared function 'kanakan_select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | kanakan_select(); | ^ onewlib.c:74:9: warning: call to undeclared function 'oeiKanakanReady'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | return oeiKanakanReady(); | ^ onewlib.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | clr_keyinQ(){ return strQclr(rawc_inbuff); } | ^ | int onewlib.c:99:23: warning: call to undeclared function 'strQclr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | clr_keyinQ(){ return strQclr(rawc_inbuff); } | ^ onewlib.c:100:12: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | ins_keyinQ(c){ return strQins(rawc_inbuff,c); } | ^ onewlib.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | ins_keyinQ(c){ return strQins(rawc_inbuff,c); } | ^ | int onewlib.c:100:23: warning: call to undeclared function 'strQins'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | ins_keyinQ(c){ return strQins(rawc_inbuff,c); } | ^ onewlib.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | ins_keyinQ(c){ return strQins(rawc_inbuff,c); } | ^ onewlib.c:101:12: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } | ^ onewlib.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } | ^ | int onewlib.c:101:23: warning: call to undeclared function 'strQenq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } | ^ onewlib.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | enq_keyinQ(c){ return strQenq(rawc_inbuff,c); } | ^ onewlib.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | deq_keyinQ(){ return strQdeq(rawc_inbuff); } | ^ | int onewlib.c:102:23: warning: call to undeclared function 'strQdeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | deq_keyinQ(){ return strQdeq(rawc_inbuff); } | ^ onewlib.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ready_keyinQ(){ return rawc_inbuff[0] != 0; } | ^ | int onewlib.c:109:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static Onew_kakuteiInRomkan(int); | ~~~~~~ ^ | int onewlib.c:113:13: warning: parameter 'asis' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | ONEW_getch0(asis){ | ^ onewlib.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | ONEW_getch0(asis){ | ^ | int onewlib.c:118:4: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | Onew_putmode(romkan_cmode(),0); | ^ onewlib.c:119:8: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | ch = OnewGetchar(); | ^ onewlib.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | ONEW_getch0(asis){ | ^ onewlib.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | ONEW_getch1(){ | ^ | int onewlib.c:131:31: warning: call to undeclared function 'romkan_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if( ch == ROMKAN_TOGGLE ){ romkan_toggle(); break; }else | ^ onewlib.c:133:31: warning: call to undeclared function 'sym_thru_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | if( ch == THRUSYMS_TOGGLE ){ sym_thru_toggle(); }else | ^ onewlib.c:135:6: warning: call to undeclared function 'romkan_on'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if( romkan_on() ){ | ^ onewlib.c:140:30: warning: call to undeclared function 'katakana_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | if( ch == KANA_TOGGLE ){ katakana_toggle(); continue; }else | ^ onewlib.c:141:30: warning: call to undeclared function 'zenkaku_toggle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | if( ch == ZENKAKU_TOGGLE){ zenkaku_toggle(); continue; }else | ^ onewlib.c:143:24: warning: call to undeclared function 'oeiRomkanClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | if( ch == ESC_CH ) { oeiRomkanClear(); ch = ONEW_I_ESC; }else | ^ onewlib.c:144:7: warning: call to undeclared function 'in_kana_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | if( in_kana_mode() ){ | ^ onewlib.c:145:8: warning: call to undeclared function 'Onew_isTHRU'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | if( LET_IT_THRU(ch) && !IS_NOINS_HENKANKEY(ch) ){ | ^ onewlib.c:65:47: note: expanded from macro 'LET_IT_THRU' 65 | #define LET_IT_THRU(ch) (ONEW_THRUSYMS_ON && Onew_isTHRU(ch)) | ^ onewlib.c:150:5: warning: call to undeclared function 'switch_rkserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | switch_rkserv(); | ^ onewlib.c:154:5: warning: call to undeclared function 'OM_mode_switches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | OM_mode_switches(); | ^ onewlib.c:159:6: warning: call to undeclared function 'ins_zenkaku_char1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | ins_zenkaku_char1(0,0); | ^ onewlib.c:186:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | static int definedKanamode(ch) | ^ onewlib.c:187:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 187 | unsigned char ch; | ^ onewlib.c:105:41: note: previous declaration is here 105 | static int definedKanamode(unsigned char); | ^ onewlib.c:192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 192 | if( func = KanamodeSw[ch] ) | ~~~~~^~~~~~~~~~~~~~~~ onewlib.c:192:11: note: place parentheses around the assignment to silence this warning 192 | if( func = KanamodeSw[ch] ) | ^ | ( ) onewlib.c:192:11: note: use '==' to turn this assignment into an equality comparison 192 | if( func = KanamodeSw[ch] ) | ^ | == onewlib.c:193:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | return (*func)(ch); | ^ onewlib.c:196:26: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | Onew_defineKanamode(mode,ch,func) | ^ 197 | IFUNC func; 198 | { onewlib.c:196:21: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | Onew_defineKanamode(mode,ch,func) | ^ 197 | IFUNC func; 198 | { onewlib.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | Onew_defineKanamode(mode,ch,func) | ^ | int onewlib.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:201:1: warning: non-void function does not return a value [-Wreturn-type] 201 | } | ^ onewlib.c:208:2: warning: call to undeclared function 'romkan_mode_switch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | romkan_mode_switch(cmode); | ^ onewlib.c:210:24: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | static void thru_char1(ch){ | ^ onewlib.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static void thru_char1(ch){ | ^ onewlib.c:215:22: warning: parameter 'kakutei' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | ins_zenkaku_char1(ch,kakutei) | ^ 216 | { char buf[8],*bp; onewlib.c:215:19: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | ins_zenkaku_char1(ch,kakutei) | ^ 216 | { char buf[8],*bp; onewlib.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | ins_zenkaku_char1(ch,kakutei) | ^ | int onewlib.c:219:3: warning: call to undeclared function 'OM_zenkaku1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | OM_zenkaku1(buf); | ^ onewlib.c:220:7: warning: call to undeclared function 'ONEWromkan_zenkaku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | else ONEWromkan_zenkaku(ch,buf); | ^ onewlib.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | ins_zenkaku_char1(ch,kakutei) | ^ onewlib.c:226:1: warning: non-void function does not return a value [-Wreturn-type] 226 | } | ^ onewlib.c:228:20: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | ONEWromkan_zenkaku(ch,dst) | ^ 229 | char *dst; 230 | { char *tab,*jis; onewlib.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | ONEWromkan_zenkaku(ch,dst) | ^ | int onewlib.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:241:1: warning: non-void function does not return a value [-Wreturn-type] 241 | } | ^ onewlib.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | ASCII_TO_JIS(asc,jis) | ^ | int onewlib.c:249:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | for( a = asc; ac = *a; a++ ){ | ~~~^~~~ onewlib.c:249:19: note: place parentheses around the assignment to silence this warning 249 | for( a = asc; ac = *a; a++ ){ | ^ | ( ) onewlib.c:249:19: note: use '==' to turn this assignment into an equality comparison 249 | for( a = asc; ac = *a; a++ ){ | ^ | == onewlib.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | ASCII_TO_JIS(asc,jis) | ^ onewlib.c:257:1: warning: non-void function does not return a value [-Wreturn-type] 257 | } | ^ onewlib.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | Onew_HENKANKEYS(syms) | ^ | int onewlib.c:262:2: warning: call to undeclared function 'strMAPset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | strMAPset(syms,ONEW_HENKANKEYA,"ONEW_HENKANKEYS", | ^ onewlib.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | Onew_HENKANKEYS(syms) | ^ onewlib.c:264:1: warning: non-void function does not return a value [-Wreturn-type] 264 | } | ^ onewlib.c:267:14: warning: parameter 'commandmode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | Onew_deqchar(commandmode){ | ^ onewlib.c:267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | Onew_deqchar(commandmode){ | ^ | int onewlib.c:270:12: warning: call to undeclared function 'strQdeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | if( (ch = strQdeq(kana_inbuff)) != EOF ) | ^ onewlib.c:273:11: warning: call to undeclared function 'Onew_inready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | if( 0 < Onew_inready(stdin,-1) ) | ^ onewlib.c:274:11: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | return OnewGetchar(); | ^ onewlib.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | Onew_deqchar(commandmode){ | ^ onewlib.c:277:14: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | Onew_enqchar(ch){ | ^ onewlib.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | Onew_enqchar(ch){ | ^ | int onewlib.c:278:2: warning: call to undeclared function 'strQenq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | strQenq(kana_inbuff,ch); | ^ onewlib.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | Onew_enqchar(ch){ | ^ onewlib.c:279:1: warning: non-void function does not return a value [-Wreturn-type] 279 | } | ^ onewlib.c:280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | Onew_enqstr(str) char *str; { | ^ | int onewlib.c:282:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | for(sp = str; ch = *sp; sp++) | ~~~^~~~~ onewlib.c:282:19: note: place parentheses around the assignment to silence this warning 282 | for(sp = str; ch = *sp; sp++) | ^ | ( ) onewlib.c:282:19: note: use '==' to turn this assignment into an equality comparison 282 | for(sp = str; ch = *sp; sp++) | ^ | == onewlib.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | Onew_enqstr(str) char *str; { | ^ onewlib.c:284:1: warning: non-void function does not return a value [-Wreturn-type] 284 | } | ^ onewlib.c:286:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | Onew_asis_romkan_next(){ | ^ | int onewlib.c:290:7: warning: call to undeclared function 'oeiRomkanNext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | kc = oeiRomkanNext(); | ^ onewlib.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | Onew_RK_init(){ | ^ | int onewlib.c:300:19: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if( env = getenv("ONEW_MSGHOLD") ) | ^ onewlib.c:300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 300 | if( env = getenv("ONEW_MSGHOLD") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:300:11: note: place parentheses around the assignment to silence this warning 300 | if( env = getenv("ONEW_MSGHOLD") ) | ^ | ( ) onewlib.c:300:11: note: use '==' to turn this assignment into an equality comparison 300 | if( env = getenv("ONEW_MSGHOLD") ) | ^ | == onewlib.c:301:19: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | ONEW_MSGHOLD = atoi(env); | ^ onewlib.c:302:19: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if( env = getenv("ONEW_MAXWORDS") ) | ^ onewlib.c:302:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 302 | if( env = getenv("ONEW_MAXWORDS") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:302:11: note: place parentheses around the assignment to silence this warning 302 | if( env = getenv("ONEW_MAXWORDS") ) | ^ | ( ) onewlib.c:302:11: note: use '==' to turn this assignment into an equality comparison 302 | if( env = getenv("ONEW_MAXWORDS") ) | ^ | == onewlib.c:306:3: warning: call to undeclared function 'Onew_THRUSYMS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | Onew_THRUSYMS(0); | ^ onewlib.c:307:27: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | ONEW_NN_THRU = getenv("ONEW_NN_THRU") != 0; | ^ onewlib.c:308:27: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | ONEW_IN_ISO2022 = getenv("ONEW_NO_ISO2022") == 0; | ^ onewlib.c:309:27: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | ONEW_DEBUG = getenv("ONEW_DEBUG") != 0; | ^ onewlib.c:312:3: warning: call to undeclared function 'keisen_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | keisen_init(); | ^ onewlib.c:317:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 317 | kget_char1(){ | ^ | int onewlib.c:321:8: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | kc = OnewGetchar(); | ^ onewlib.c:322:3: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | ouiTrace("kget_char1.1","(%x)",kc); | ^ onewlib.c:327:3: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | ouiTrace("kget_char1.2","(%x)",kc); | ^ onewlib.c:332:8: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | kc = OnewGetchar(); | ^ onewlib.c:333:3: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | ouiTrace("kget_char1.3","(%x)",kc); | ^ onewlib.c:338:7: warning: call to undeclared function 'romkan_on'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | if( romkan_on() ) | ^ onewlib.c:339:9: warning: call to undeclared function 'oeiRomkanGetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | kc = oeiRomkanGetc(); | ^ onewlib.c:340:13: warning: call to undeclared function 'oeiRomkanNext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | else kc = oeiRomkanNext(); | ^ onewlib.c:353:4: warning: call to undeclared function 'Onew_getword'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | Onew_getword(kc); | ^ onewlib.c:359:12: warning: call to undeclared function 'OM_get_jisspecial'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | if( 0 < OM_get_jisspecial(code) ) | ^ onewlib.c:369:9: warning: call to undeclared function 'OM_kanakan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | kc = OM_kanakan(kc); | ^ onewlib.c:375:29: warning: call to undeclared function 'Onew_isTHRU'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | if( ONEW_THRUSYMS_ON && Onew_isTHRU(kc) ) | ^ onewlib.c:387:11: warning: call to undeclared function 'OM_get_thruchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | nkc = OM_get_thruchar(1); | ^ onewlib.c:389:16: warning: call to undeclared function 'OM_get_thruchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | }else nkc = OM_get_thruchar(0); | ^ onewlib.c:394:9: warning: call to undeclared function 'oeiRomkanGotch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | kc = oeiRomkanGotch(kc); | ^ onewlib.c:398:9: warning: call to undeclared function 'odmAbort_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | if( odmAbort_touroku() ) | ^ onewlib.c:402:8: warning: call to undeclared function 'in_kana_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | if( in_kana_mode() ) | ^ onewlib.c:407:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 407 | }else{ | ^ onewlib.c:419:5: warning: call to undeclared function 'ouiGOT_2BCHAR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | ouiGOT_2BCHAR(buff,kc>>8,kc&0xFF); | ^ onewlib.c:426:2: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | ouiTrace("kget_char1.4","(%x)",kc); | ^ onewlib.c:429:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 429 | Onew_romkan(){ | ^ | int onewlib.c:441:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | romkan_on(){ | ^ | int onewlib.c:444:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 444 | Onew_RK_imode(){ | ^ | int onewlib.c:447:20: warning: parameter 'imode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 447 | Onew_RK_imode_setv(imode) | ^ 448 | { onewlib.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 447 | Onew_RK_imode_setv(imode) | ^ | int onewlib.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:450:1: warning: non-void function does not return a value [-Wreturn-type] 450 | } | ^ onewlib.c:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 451 | romkanmode_ch(){ | ^ | int onewlib.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | Onew_RK_cmode(){ | ^ | int onewlib.c:463:19: warning: parameter 'imode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | Onew_RK_imode_set(imode) | ^ 464 | { onewlib.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | Onew_RK_imode_set(imode) | ^ | int onewlib.c:465:9: warning: call to undeclared function 'oeiRomkanModesw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | return oeiRomkanModesw(imode); | ^ onewlib.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | Onew_RK_imode_set(imode) | ^ onewlib.c:468:20: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 468 | romkan_mode_switch(mode){ | ^ onewlib.c:468:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 468 | romkan_mode_switch(mode){ | ^ | int onewlib.c:479:3: warning: call to undeclared function 'oeiRomkanModesw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | oeiRomkanModesw(0); | ^ onewlib.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | romkan_mode_switch(mode){ | ^ onewlib.c:481:1: warning: non-void function does not return a value [-Wreturn-type] 481 | } | ^ onewlib.c:482:19: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 482 | Onew_RK_cmode_set(mode){ | ^ onewlib.c:482:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 482 | Onew_RK_cmode_set(mode){ | ^ | int onewlib.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:486:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 486 | romkan_toggle(){ | ^ | int onewlib.c:488:3: warning: call to undeclared function 'oeiRomkanModesw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | oeiRomkanModesw(0); | ^ onewlib.c:490:1: warning: non-void function does not return a value [-Wreturn-type] 490 | } | ^ onewlib.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | Onew_RK_toggle(){ | ^ | int onewlib.c:494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 494 | zenkaku_toggle(){ | ^ | int onewlib.c:496:3: warning: call to undeclared function 'oeiRomkanModesw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | oeiRomkanModesw( ONEW_kanamode ^ NOTKANA ); | ^ onewlib.c:498:1: warning: non-void function does not return a value [-Wreturn-type] 498 | } | ^ onewlib.c:500:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 500 | in_kana_mode(){ | ^ | int onewlib.c:511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 511 | katakana_toggle(){ | ^ | int onewlib.c:514:3: warning: call to undeclared function 'oeiRomkanModesw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | oeiRomkanModesw(ONEW_kanamode ^ KATAKANA); | ^ onewlib.c:519:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 519 | sym_thru_toggle(){ | ^ | int onewlib.c:521:1: warning: non-void function does not return a value [-Wreturn-type] 521 | } | ^ onewlib.c:553:28: warning: parameter 'leng' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | Onew_kanakan(com,str,start,leng) | ^ 554 | char *str; 555 | { onewlib.c:553:22: warning: parameter 'start' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | Onew_kanakan(com,str,start,leng) | ^ 554 | char *str; 555 | { onewlib.c:553:14: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | Onew_kanakan(com,str,start,leng) | ^ 554 | char *str; 555 | { onewlib.c:553:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | Onew_kanakan(com,str,start,leng) | ^ | int onewlib.c:556:9: warning: call to undeclared function 'Onew_kana_to_kanji'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | return Onew_kana_to_kanji(com,str,start,leng); | ^ onewlib.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | Onew_kanakan(com,str,start,leng) | ^ onewlib.c:563:20: warning: parameter 'startcom' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 563 | Onew_kana_to_kanji(startcom,str) | ^ 564 | Uchar *str; 565 | { Mssgbuff buf; onewlib.c:563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 563 | Onew_kana_to_kanji(startcom,str) | ^ | int onewlib.c:570:7: warning: call to undeclared function 'odmStart_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | if( odmStart_touroku(str) ) | ^ onewlib.c:577:3: warning: call to undeclared function 'odmJisyo_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 577 | odmJisyo_touroku(); | ^ onewlib.c:580:39: warning: call to undeclared function 'Onew_non_ascii'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 580 | if( startcom != ONEW_HENKAN_START && Onew_non_ascii(str) == 0 ){ | ^ onewlib.c:581:27: warning: call to undeclared function 'Onew_isTHRU'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | if( ONEW_THRUSYMS_ON && Onew_isTHRU(startcom) ) | ^ onewlib.c:584:3: warning: call to undeclared function 'ouiDISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 584 | ouiDISP_KANAKANB(0,buf,"",""); | ^ onewlib.c:585:3: warning: call to undeclared function 'ouiKAKUTEI'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | ouiKAKUTEI(ONEW_I_KAKUTEI); | ^ onewlib.c:593:12: warning: call to undeclared function 'oeiKanakan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 593 | endcom = oeiKanakan(startcom,str); | ^ onewlib.c:595:4: warning: call to undeclared function 'switch_kkserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | switch_kkserv(); | ^ onewlib.c:600:8: warning: call to undeclared function 'odmJisyo_sousa'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | if( odmJisyo_sousa() ){ | ^ onewlib.c:610:9: warning: call to undeclared function 'odmStart_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 610 | if( odmStart_touroku(ONEW_CurrentKanji) ){ | ^ onewlib.c:616:5: warning: call to undeclared function 'odmJisyo_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | odmJisyo_touroku(); | ^ onewlib.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | Onew_kana_to_kanji(startcom,str) | ^ onewlib.c:628:14: warning: parameter 'kc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 628 | Onew_kakutei(kc) /* invoked in Kana-Kanji translation */ | ^ 629 | { onewlib.c:628:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 628 | Onew_kakutei(kc) /* invoked in Kana-Kanji translation */ | ^ | int onewlib.c:630:9: warning: call to undeclared function 'ouiKAKUTEI'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | return ouiKAKUTEI(kc); | ^ onewlib.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | Onew_kakutei(kc) /* invoked in Kana-Kanji translation */ | ^ onewlib.c:633:29: warning: parameter 'kc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 633 | static Onew_kakuteiInRomkan(kc) | ^ 634 | { onewlib.c:633:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 633 | static Onew_kakuteiInRomkan(kc) | ~~~~~~ ^ | int onewlib.c:633:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:645:3: warning: call to undeclared function 'odmJisyo_touroku'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | odmJisyo_touroku(); | ^ onewlib.c:647:9: warning: call to undeclared function 'ouiKAKUTEI'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 647 | return ouiKAKUTEI(kc); | ^ onewlib.c:650:21: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | Onew_dispKanakanBuf(so,left,cur,right) | ^ 651 | char *left,*cur,*right; 652 | { char xleft[1024],xright[1024]; onewlib.c:650:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | Onew_dispKanakanBuf(so,left,cur,right) | ^ | int onewlib.c:661:2: warning: call to undeclared function 'ouiDISP_KANAKANB'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | ouiDISP_KANAKANB(so,left,cur,right); | ^ onewlib.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | Onew_dispKanakanBuf(so,left,cur,right) | ^ onewlib.c:662:1: warning: non-void function does not return a value [-Wreturn-type] 662 | } | ^ onewlib.c:664:19: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 664 | Onew_setupYomistr(com,str,yomibuf) | ^ 665 | char *str,*yomibuf; 666 | { int len; onewlib.c:664:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 664 | Onew_setupYomistr(com,str,yomibuf) | ^ | int onewlib.c:671:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 671 | if( len = strlen(str) ){ | ~~~~^~~~~~~~~~~~~ onewlib.c:671:10: note: place parentheses around the assignment to silence this warning 671 | if( len = strlen(str) ){ | ^ | ( ) onewlib.c:671:10: note: use '==' to turn this assignment into an equality comparison 671 | if( len = strlen(str) ){ | ^ | == onewlib.c:673:7: warning: call to undeclared function 'Onew_isTHRU'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 673 | if( Onew_isTHRU(lastch) ) | ^ onewlib.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | Onew_setupYomistr(com,str,yomibuf) | ^ onewlib.c:676:1: warning: non-void function does not return a value [-Wreturn-type] 676 | } | ^ onewlib.c:678:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 678 | Onew_freqsave(){ | ^ | int onewlib.c:679:2: warning: call to undeclared function 'oeiKanakanFreqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 679 | oeiKanakanFreqsave(); | ^ onewlib.c:680:1: warning: non-void function does not return a value [-Wreturn-type] 680 | } | ^ onewlib.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | Onew_KK_freqsave(){ | ^ | int onewlib.c:684:14: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | Onew_RK_thru(mode){ | ^ onewlib.c:684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | Onew_RK_thru(mode){ | ^ | int onewlib.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:686:1: warning: non-void function does not return a value [-Wreturn-type] 686 | } | ^ onewlib.c:688:19: warning: parameter 'wait_usec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | Onew_inready( fp, wait_usec ) | ^ 689 | FILE *fp; 690 | { onewlib.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | Onew_inready( fp, wait_usec ) | ^ | int onewlib.c:697:9: warning: call to undeclared function 'Onew_fp_input_ready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | return Onew_fp_input_ready(fp,wait_usec); | ^ onewlib.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | Onew_inready( fp, wait_usec ) | ^ onewlib.c:703:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 703 | Onew_modef(modes,xmodes,helps,xhelps) | ^ | int onewlib.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewlib.c:741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 741 | kana_init(){ | ^ | int onewlib.c:744:25: warning: parameter 'leng' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | kana_to_kanji(str,start,leng) | ^ 745 | { onewlib.c:744:19: warning: parameter 'start' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | kana_to_kanji(str,start,leng) | ^ 745 | { onewlib.c:744:15: warning: parameter 'str' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | kana_to_kanji(str,start,leng) | ^ 745 | { onewlib.c:744:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | kana_to_kanji(str,start,leng) | ^ | int onewlib.c:746:44: warning: too many arguments in call to 'Onew_kana_to_kanji' 746 | return Onew_kana_to_kanji(0,str,start,leng); | ~~~~~~~~~~~~~~~~~~ ^ onewlib.c:746:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'Uchar *' (aka 'unsigned char *') [-Wint-conversion] 746 | return Onew_kana_to_kanji(0,str,start,leng); | ^~~ onewlib.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | kana_to_kanji(str,start,leng) | ^ 212 warnings generated. cc -c -O2 -pipe onewclient.c onewclient.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | onew_pipe(pipe) | ^ | int onewclient.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewclient.c:43:36: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:34: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:32: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:30: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:28: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:26: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:24: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:19: warning: parameter 'form' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:43:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ~~~~~~ ^ | int onewclient.c:45:2: warning: call to undeclared function 'Onew_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | Onew_message(form,a,b,c,d,e,f,g); | ^ onewclient.c:43:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | static dbg_printf(form,a,b,c,d,e,f,g){ | ^ onewclient.c:46:1: warning: non-void function does not return a value [-Wreturn-type] 46 | } | ^ onewclient.c:54:25: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | command = (char*)getenv("ONEW"); | ^ onewclient.c:59:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | onew_DBG = (int)getenv("DEBUG_onew"); | ^ onewclient.c:59:13: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 59 | onew_DBG = (int)getenv("DEBUG_onew"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ onewclient.c:67:4: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | system(command); | ^ onewclient.c:68:30: warning: missing sentinel in function call [-Wsentinel] 68 | else execlp("onew","onew",0); | ^ | , NULL /usr/include/unistd.h:335:6: note: function has been explicitly marked sentinel here 335 | int execlp(const char *, const char *, ...) | ^ 336 | __attribute__((__sentinel__)); | ~~~~~~~~~~~~ onewclient.c:73:36: warning: too few arguments in call to 'dbg_printf' 73 | dbg_printf(">>KANAKANP>> %d\n",pid); | ~~~~~~~~~~ ^ onewclient.c:73:13: warning: incompatible pointer to integer conversion passing 'char[17]' to parameter of type 'int' [-Wint-conversion] 73 | dbg_printf(">>KANAKANP>> %d\n",pid); | ^~~~~~~~~~~~~~~~~~~ onewclient.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | end_onew(){ | ^ | int onewclient.c:82:1: warning: non-void function does not return a value [-Wreturn-type] 82 | } | ^ onewclient.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | put_onew(ch) | ^ | int onewclient.c:95:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 95 | void (*signal())(); | ^ /usr/include/sys/signal.h:199:8: note: conflicting prototype is here 199 | void (*signal(int, void (*)(int)))(int); | ^ onewclient.c:116:3: warning: call to undeclared function 'Onew_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | Onew_message("Can't send to onew, DEAD?\n"); | ^ onewclient.c:120:43: warning: too few arguments in call to 'dbg_printf' 120 | dbg_printf(">>KANAKANP>> %x (%d)\n",ch,wc); | ~~~~~~~~~~ ^ onewclient.c:120:13: warning: incompatible pointer to integer conversion passing 'char[22]' to parameter of type 'int' [-Wint-conversion] 120 | dbg_printf(">>KANAKANP>> %x (%d)\n",ch,wc); | ^~~~~~~~~~~~~~~~~~~~~~~~ onewclient.c:121:2: warning: call to undeclared function 'Onew_dbglog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | Onew_dbglog("put> %x\n",ch); | ^ onewclient.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | put_onew(ch) | ^ onewclient.c:126:15: warning: parameter 'wait_msec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | get_onew(line,wait_msec) unsigned char *line; { | ^ onewclient.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | get_onew(line,wait_msec) unsigned char *line; { | ^ | int onewclient.c:131:41: warning: too few arguments in call to 'dbg_printf' 131 | dbg_printf("< %02x %s\n",line[0],line+1); | ^ onewclient.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | get_onew(line,wait_msec) unsigned char *line; { | ^ onewclient.c:165:15: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | onew_operator(ch,argp) | ^ 166 | int *argp; 167 | { int Attr; onewclient.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | onew_operator(ch,argp) | ^ | int onewclient.c:169:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 169 | if( Attr = ch & ONEW_VATTR_MASK ){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ onewclient.c:169:11: note: place parentheses around the assignment to silence this warning 169 | if( Attr = ch & ONEW_VATTR_MASK ){ | ^ | ( ) onewclient.c:169:11: note: use '==' to turn this assignment into an equality comparison 169 | if( Attr = ch & ONEW_VATTR_MASK ){ | ^ | == onewclient.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | onew_operator(ch,argp) | ^ onewclient.c:178:16: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 178 | onew_character(ch,buf) | ^ 179 | char *buf; 180 | { onewclient.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | onew_character(ch,buf) | ^ onewclient.c:195:13: warning: parameter 'inch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | putget_onew(inch,chis) | ^ 196 | int *chis; 197 | { unsigned char msg[128]; onewclient.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | putget_onew(inch,chis) | ^ | int onewclient.c:223:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 223 | for( outx = 2; chi = msg[outx]; outx++ ){ | ~~~~^~~~~~~~~~~ onewclient.c:223:22: note: place parentheses around the assignment to silence this warning 223 | for( outx = 2; chi = msg[outx]; outx++ ){ | ^ | ( ) onewclient.c:223:22: note: use '==' to turn this assignment into an equality comparison 223 | for( outx = 2; chi = msg[outx]; outx++ ){ | ^ | == onewclient.c:245:21: warning: call to undeclared function 'Onew_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | case SC_MESSAGE: Onew_message("%s",&msg[2]); break; | ^ onewclient.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | putget_onew(inch,chis) | ^ onewclient.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | onew_symASCII(){ | ^ | int onewclient.c:262:1: warning: non-void function does not return a value [-Wreturn-type] 262 | } | ^ 55 warnings generated. cc -c -O2 -pipe onewcodes.c onewcodes.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | ONEW_JIS_TO_SJIS1(HI,LO,SJCODE) | ^ onewcodes.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | ONEW_SJIS_TO_JIS1(HI,LO,JCODE) | ^ onewcodes.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ONEW_EUC_TO_SJIS(src,dst) | ^ onewcodes.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ONEW_SJIS_TO_EUC(src,dst) | ^ onewcodes.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | ONEW_EUC_TO_JIS_FILE(fp,src) | ^ | int onewcodes.c:87:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 87 | for(sp = src; ch = *sp; sp++ ){ | ~~~^~~~~ onewcodes.c:87:19: note: place parentheses around the assignment to silence this warning 87 | for(sp = src; ch = *sp; sp++ ){ | ^ | ( ) onewcodes.c:87:19: note: use '==' to turn this assignment into an equality comparison 87 | for(sp = src; ch = *sp; sp++ ){ | ^ | == onewcodes.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | ONEW_EUC_TO_JIS_FILE(fp,src) | ^ onewcodes.c:95:1: warning: non-void function does not return a value [-Wreturn-type] 95 | } | ^ onewcodes.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | Onew_fprintf(fp,form,a,b,c,d,e,f) | ^ | int onewcodes.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewcodes.c:105:1: warning: non-void function does not return a value [-Wreturn-type] 105 | } | ^ 11 warnings generated. cc -c -O2 -pipe onewmisc.c onewmisc.c:27:21: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if( body = getenv(name) ){ | ^ onewmisc.c:27:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 27 | if( body = getenv(name) ){ | ~~~~~^~~~~~~~~~~~~~ onewmisc.c:27:13: note: place parentheses around the assignment to silence this warning 27 | if( body = getenv(name) ){ | ^ | ( ) onewmisc.c:27:13: note: use '==' to turn this assignment into an equality comparison 27 | if( body = getenv(name) ){ | ^ | == onewmisc.c:11:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | char *Onew_env_substitute(istr,ostr) | ^ onewmisc.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | Onew_searchPath(file,name,path) | ^ | int onewmisc.c:59:18: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | if( 0 <= (fd = open(file,0)) ) | ^ onewmisc.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | Onew_searchPath(file,name,path) | ^ onewmisc.c:69:26: warning: parameter 'wait_usec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | Onew_fp_input_ready( fp, wait_usec ) | ^ 70 | FILE *fp; 71 | { onewmisc.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | Onew_fp_input_ready( fp, wait_usec ) | ^ | int onewmisc.c:72:12: warning: call to undeclared function 'Onew_readycc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | if( fp && Onew_readycc(fp) ) | ^ onewmisc.c:78:9: warning: call to undeclared function 'Onew_fd_input_ready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | return Onew_fd_input_ready(fileno(fp), wait_usec); | ^ onewmisc.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Onew_fp_input_ready( fp, wait_usec ) | ^ onewmisc.c:81:13: warning: parameter 'msec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | Onew_msleep(msec) | ^ 82 | { onewmisc.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | Onew_msleep(msec) | ^ | int onewmisc.c:86:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | sleep(msec/1000); | ^ onewmisc.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | Onew_msleep(msec) | ^ onewmisc.c:87:1: warning: non-void function does not return a value [-Wreturn-type] 87 | } | ^ onewmisc.c:90:30: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:28: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:26: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:24: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:22: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:20: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:18: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ 91 | char *fmt; 92 | { onewmisc.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ | int onewmisc.c:94:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | (*message)(fmt,a,b,c,d,e,f,g); | ^ onewmisc.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Onew_message(fmt,a,b,c,d,e,f,g) | ^ onewmisc.c:96:1: warning: non-void function does not return a value [-Wreturn-type] 96 | } | ^ onewmisc.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | onew_messagefunc(func) | ^ | int onewmisc.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewmisc.c:101:1: warning: non-void function does not return a value [-Wreturn-type] 101 | } | ^ onewmisc.c:105:29: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:27: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:25: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:23: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:21: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:19: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:105:17: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ 106 | char *fmt; 107 | { char *logfile; onewmisc.c:112:23: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | if((logfile = getenv("ONEW_DBGLOG")) == 0 | ^ onewmisc.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | Onew_dbglog(fmt,a,b,c,d,e,f,g) | ^ onewmisc.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | Onew_non_ascii(str) | ^ | int onewmisc.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewmisc.c:134:14: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | Onew_toupper(ch){ | ^ onewmisc.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | Onew_toupper(ch){ | ^ | int onewmisc.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewmisc.c:143:16: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | static strQovf(len){ | ^ onewmisc.c:143:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | static strQovf(len){ | ~~~~~~ ^ | int onewmisc.c:143:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewmisc.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | strQenq(Q,c) | ^ onewmisc.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | strQins(Q,c) | ^ onewmisc.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | strQdeq(Q) | ^ | int onewmisc.c:180:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( c = Q[0] ){ | ~~^~~~~~ onewmisc.c:180:8: note: place parentheses around the assignment to silence this warning 180 | if( c = Q[0] ){ | ^ | ( ) onewmisc.c:180:8: note: use '==' to turn this assignment into an equality comparison 180 | if( c = Q[0] ){ | ^ | == onewmisc.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | strQdeq(Q) | ^ onewmisc.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | strQclr(Q) | ^ | int onewmisc.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onewmisc.c:191:1: warning: non-void function does not return a value [-Wreturn-type] 191 | } | ^ onewmisc.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | strMAPset(syms,syma,envn,defv,flag) | ^ | int onewmisc.c:204:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | if( syms = getenv(envn) ){ | ^ onewmisc.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if( syms = getenv(envn) ){ | ~~~~~^~~~~~~~~~~~~~ onewmisc.c:204:12: note: place parentheses around the assignment to silence this warning 204 | if( syms = getenv(envn) ){ | ^ | ( ) onewmisc.c:204:12: note: use '==' to turn this assignment into an equality comparison 204 | if( syms = getenv(envn) ){ | ^ | == onewmisc.c:210:3: warning: call to undeclared function 're_comp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | re_comp(syms); | ^ onewmisc.c:218:7: warning: call to undeclared function 're_exec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | if( re_exec(chs) == 1 ) | ^ onewmisc.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | strMAPset(syms,syma,envn,defv,flag) | ^ onewmisc.c:222:1: warning: non-void function does not return a value [-Wreturn-type] 222 | } | ^ onewmisc.c:223:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | char *strMAPget(syms,syma) | ^ 63 warnings generated. cc -c -O2 -pipe -DONEW_ENGINE='"wnn/wnn"' -DONEW_RKTABS='"/tmp/onew_rktabs"' conf.c conf.c:48:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static select_engine(){ | ~~~~~~ ^ | int conf.c:52:22: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if( (engine = getenv("ONEW_ENGINE")) == 0 ) | ^ conf.c:58:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 58 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:58:20: note: place parentheses around the assignment to silence this warning 58 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ^ | ( ) conf.c:58:20: note: use '==' to turn this assignment into an equality comparison 58 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ^ | == conf.c:65:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:65:20: note: place parentheses around the assignment to silence this warning 65 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ^ | ( ) conf.c:65:20: note: use '==' to turn this assignment into an equality comparison 65 | for( ei = 1; name = Engines[ei].name; ei++ ){ | ^ | == conf.c:75:1: warning: non-void function does not return a value [-Wreturn-type] 75 | } | ^ conf.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | romkan_select(){ | ^ | int conf.c:83:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | kanakan_select(){ | ^ | int conf.c:86:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | ONEW_SHOWDIC |= getenv("ONEW_SHOWDIC") != 0; | ^ conf.c:101:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 101 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:101:25: note: place parentheses around the assignment to silence this warning 101 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ^ | ( ) conf.c:101:25: note: use '==' to turn this assignment into an equality comparison 101 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ^ | == conf.c:116:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 116 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:116:25: note: place parentheses around the assignment to silence this warning 116 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ^ | ( ) conf.c:116:25: note: use '==' to turn this assignment into an equality comparison 116 | else for( ei = 1; name = Engines[ei].name; ei++ ) | ^ | == conf.c:135:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if( romkan = next_romkan() ){ | ~~~~~~~^~~~~~~~~~~~~~~ conf.c:135:13: note: place parentheses around the assignment to silence this warning 135 | if( romkan = next_romkan() ){ | ^ | ( ) conf.c:135:13: note: use '==' to turn this assignment into an equality comparison 135 | if( romkan = next_romkan() ){ | ^ | == conf.c:136:3: warning: call to undeclared function 'Onew_RK_imode_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | Onew_RK_imode_set(0); | ^ conf.c:139:3: warning: call to undeclared function 'Onew_putmsg_retain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | Onew_putmsg_retain(1,"%s %s",Onew_RK_smode(),help); | ^ conf.c:151:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 151 | if( kanakan = next_kanakan() ){ | ~~~~~~~~^~~~~~~~~~~~~~~~ conf.c:151:14: note: place parentheses around the assignment to silence this warning 151 | if( kanakan = next_kanakan() ){ | ^ | ( ) conf.c:151:14: note: use '==' to turn this assignment into an equality comparison 151 | if( kanakan = next_kanakan() ){ | ^ | == conf.c:156:3: warning: call to undeclared function 'Onew_putmsg_retain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | Onew_putmsg_retain(1,"%s %s",mode,help); | ^ conf.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | onew_put_kanakanmode(){ | ^ | int conf.c:163:2: warning: call to undeclared function 'Onew_putmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | Onew_putmode(mode,ONEW_menu_kanakan); | ^ conf.c:164:1: warning: non-void function does not return a value [-Wreturn-type] 164 | } | ^ conf.c:166:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | onew_notify_kkinit(fmt,a,b,c,d,e,f,g) | ^ | int conf.c:173:2: warning: call to undeclared function 'Onew_putmsg_sys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | Onew_putmsg_sys(1,"%s",msg); | ^ conf.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | onew_notify_kkinit(fmt,a,b,c,d,e,f,g) | ^ conf.c:174:1: warning: non-void function does not return a value [-Wreturn-type] 174 | } | ^ conf.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | Onew_showrktab() | ^ | int conf.c:180:6: warning: call to undeclared function 'Onew_rktab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | if( Onew_rktab(path) ) | ^ conf.c:187:1: warning: non-void function does not return a value [-Wreturn-type] 187 | } | ^ conf.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | Onew_extract_rktabs() | ^ | int conf.c:203:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | if( mkdir(rkdir,0700) != 0 ){ | ^ conf.c:204:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | Onew_putmsg(1,"Cannot make romkan-tables at %s",rkdir); | ^ conf.c:207:3: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | chmod(rkdir,0755); | ^ conf.c:209:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | Onew_putmsg(1,"EXTRACTING default romkan-tables into %s",rkdir); | ^ conf.c:244:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 244 | Onew_rktab(path) | ^ | int conf.c:247:9: warning: call to undeclared function 'oeiRomkanReady'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | return oeiRomkanReady(path); | ^ conf.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | Onew_rktab(path) | ^ conf.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 250 | Onew_kkdic() | ^ | int conf.c:254:9: warning: call to undeclared function 'oeiKanakanReady'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | return oeiKanakanReady(); | ^ conf.c:257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 257 | oeiRomkanReady(rkp)char *rkp; { return ONEWromkan_ready(rkp); } | ^ | int conf.c:257:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | oeiRomkanReady(rkp)char *rkp; { return ONEWromkan_ready(rkp); } | ^ conf.c:224:52: note: expanded from macro 'ONEWromkan_ready' 224 | #define ONEWromkan_ready(rkpath) IR((*RP->rk_ready)(rkpath)) | ^ conf.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | oeiRomkanReady(rkp)char *rkp; { return ONEWromkan_ready(rkp); } | ^ conf.c:258:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 258 | oeiRomkanModesw(m) char *m; { return ONEWromkan_modesw(m); } | ^ | int conf.c:258:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | oeiRomkanModesw(m) char *m; { return ONEWromkan_modesw(m); } | ^ conf.c:225:53: note: expanded from macro 'ONEWromkan_modesw' 225 | #define ONEWromkan_modesw(mode) IR((*RP->rk_modesw)(mode)) | ^ conf.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | oeiRomkanModesw(m) char *m; { return ONEWromkan_modesw(m); } | ^ conf.c:261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | oeiRomkanNext() { return ONEWromkan_next(); } | ^ | int conf.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | oeiRomkanGetc() { return ONEWromkan_getc(); } | ^ | int conf.c:263:16: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 263 | oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } | ^ conf.c:263:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 263 | oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } | ^ | int conf.c:263:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } | ^ conf.c:230:49: note: expanded from macro 'ONEWromkan_gotch' 230 | #define ONEWromkan_gotch(ch) IR((*RP->rk_gotch)(ch)) | ^ conf.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } | ^ conf.c:264:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | oeiRomkanClear() { return ONEWromkan_clear(); } | ^ | int conf.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | oeiKanakanReady() { return ONEWkanakan_ready(); } | ^ | int conf.c:267:12: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } | ^ conf.c:267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } | ^ | int conf.c:267:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } | ^ conf.c:235:47: note: expanded from macro 'ONEWkanakan' 235 | #define ONEWkanakan(c,y) IK((*KP->kk_kanakan)(c,y)) | ^ conf.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } | ^ conf.c:268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | oeiKanakanFreqsave() { return ONEWkanakan_freqsave(); } | ^ | int conf.c:269:23: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } | ^ conf.c:269:19: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } | ^ conf.c:269:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } | ^ | int conf.c:269:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } | ^ conf.c:240:54: note: expanded from macro 'ONEWbunsetu_shrink' 240 | #define ONEWbunsetu_shrink(x,b,c) IK((*KP->kk_shrink)(x,b,c)) | ^ conf.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } | ^ conf.c:270:23: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } | ^ conf.c:270:19: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } | ^ conf.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } | ^ | int conf.c:270:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } | ^ conf.c:239:54: note: expanded from macro 'ONEWbunsetu_expand' 239 | #define ONEWbunsetu_expand(x,b,c) IK((*KP->kk_expand)(x,b,c)) | ^ conf.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } | ^ conf.c:271:22: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ conf.c:271:19: warning: parameter 'bi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ conf.c:271:17: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ conf.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ | int conf.c:271:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ conf.c:238:54: note: expanded from macro 'ONEWbunsetu_next' 238 | #define ONEWbunsetu_next(x,cur,inc) IK((*KP->kk_next)(x,cur,inc)) | ^ conf.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } | ^ conf.c:272:17: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | oeiJisyoTouroku(a,h,y,k)char *h,*y,*k;{ return ONEWjisyo_touroku(a,h,y,k); } | ^ conf.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | oeiJisyoTouroku(a,h,y,k)char *h,*y,*k;{ return ONEWjisyo_touroku(a,h,y,k); } | ^ | int conf.c:272:48: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | oeiJisyoTouroku(a,h,y,k)char *h,*y,*k;{ return ONEWjisyo_touroku(a,h,y,k); } | ^ conf.c:241:56: note: expanded from macro 'ONEWjisyo_touroku' 241 | #define ONEWjisyo_touroku(a,b,c,d) IK((*KP->kk_touroku)(a,b,c,d)) | ^ conf.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | 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'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | oeiJisyoHinshi(h) char *h; { return ONEWjisyo_hinshi(h); } | ^ | int conf.c:273:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | oeiJisyoHinshi(h) char *h; { return ONEWjisyo_hinshi(h); } | ^ conf.c:242:50: note: expanded from macro 'ONEWjisyo_hinshi' 242 | #define ONEWjisyo_hinshi(hl) IK((*KP->kk_hinshi)(hl)) | ^ conf.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | oeiJisyoHinshi(h) char *h; { return ONEWjisyo_hinshi(h); } | ^ 77 warnings generated. cc -c -O2 -pipe onew_euc.c onew_euc.c:7:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 7 | "^@(control+@)ǥѴ(romkan)ϣ"; | ^~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:10:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 10 | "^@:romkan-ϣƣ ^K:/ ^L:/ Z: ^V:a ^G: SPACE:Ѵ RET:"; | ^~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:13:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 13 | "1ʸ̵ѴϤޤcontrol-ϣ"; | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ onew_euc.c:16:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 16 | "^@:Ʃ⡼ON¾:1ʸƩᵭ潸 ɲ/"; | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:19:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 19 | "^@:Ʃ⡼OFF ¾:1ʸƩᵭ潸 ɲ/"; | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:22:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 22 | "RETURN:꽪λ%c=%sƩᵭ=[%s]"; | ^~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ onew_euc.c:25:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 25 | "ʸʸȤ (ʣʸϤ^L)"; | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:28:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 28 | "[] ^N(SPACE),^P: n,p: N,P:10 {Ƥ}"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ onew_euc.c:31:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 31 | "[r]"; | ^~~~~~~~ onew_euc.c:34:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 34 | "[]"; | ^~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:37:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | "ʸ{^F,^B:, ^O,^I:,̾} {^N,^P: ^G:} RET:"; | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:39:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | char *ONEW_mode_Cromhira = "[r]"; | ^~~~~~~~ onew_euc.c:40:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | char *ONEW_mode_Cromkata = "[r]"; | ^~~~~~~~ onew_euc.c:41:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | char *ONEW_mode_CromhiraNN = "[n]"; | ^~~~~~~~ onew_euc.c:42:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | char *ONEW_mode_CromkataNN = "[n]"; | ^~~~~~~~ onew_euc.c:44:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 44 | char *ONEW_mode_romzen = "[ ]"; | ^~~~~~~~ onew_euc.c:45:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | char *ONEW_mode_2Bchar = "[#1]"; | ^~~~~~~~ onew_euc.c:46:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | char *ONEW_mode_kuten = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:47:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | char *ONEW_mode_kanakan = "[%s]"; | ^~~~~~~~ onew_euc.c:48:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | char *ONEW_mode_ichiran = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:49:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | char *ONEW_mode_sentaku = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:51:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 51 | char *ONEW_mode_modeswitch = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:53:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 53 | "a=ɲ k:{/} n:{n'/nn} -:{/=} r:{roma} s:{ʴ}"; | ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:56:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 56 | "ʴѴФ %s(%s) ڤؤޤ"; | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:59:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 59 | "Ѵ %s(%s) ڤؤޤ"; | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:64:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 64 | char *ONEW_mode_jisyo = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:65:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 65 | char *ONEW_menu_jisyo = "a:Ͽ d: ESC:䡼ä"; | ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:67:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 67 | char *ONEW_mode_touroku_yomi = "[ɤ]"; | ^~~~ ~~~~ onew_euc.c:68:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 68 | char *ONEW_mode_touroku_kanji = "[֤]"; | ^~~~~~~~ onew_euc.c:69:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 69 | char *ONEW_mode_hinshi = "[ʻ]"; | ^~~~ ~~~~ onew_euc.c:71:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 71 | "ʻꤷƤ {SPACE: b: RETURN: ESC:Ȥ}"; | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:72:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 72 | char *ONEW_msg_tourokuOK = "Ͽޤ(^_^)"; | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:73:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 73 | char *ONEW_msg_tourokuERROR = "ϿǤޤǤ(;_;)?"; | ^~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:74:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 74 | char *ONEW_msg_tourokuABORT = "ϿȤޤ"; | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:75:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 75 | char *ONEW_mode_massyou = "[]"; | ^~~~~~~~~~~~~~~~ onew_euc.c:76:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 76 | char *ONEW_menu_massyou = "äޤ {y: n:ʤ}"; | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ onew_euc.c:77:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 77 | char *ONEW_msg_massyouOK = "ޤ(^_^)"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:83:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 83 | "ĶѿWnnrkǥ쥯ȥꤷƲ ;-<"; | ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:86:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 86 | "³... :-)"; | ^~~~~~~~~~~~~~~~ ~~~~~~~~ onew_euc.c:89:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 89 | "³Ǥޤ;-<"; | ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:92:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 92 | "ޤ;-<"; | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:95:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 95 | "پ
¸Ǥޤ ;-<"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:98:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 98 | "ϡޤݡȤƤޤ(^_^;)"; | ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:101:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 101 | "Ǥޤ ;-<"; | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:104:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 104 | char ONEW_K_NU[] = ""; | ^~~~~~~~ onew_euc.c:105:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 105 | char ONEW_K_NA[] = ""; | ^~~~~~~~ onew_euc.c:106:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 106 | char ONEW_K_A[] = ""; | ^~~~~~~~ onew_euc.c:107:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 107 | char ONEW_KK_WNN[] = ""; | ^~~~~~~~ onew_euc.c:108:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 108 | char ONEW_KK_CANNA[] = ""; | ^~~~~~~~ onew_euc.c:112:1: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 112 | ɡǡʡˡܡݡ䡩\ | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | £ãģţƣǣȣɣʣˣ̣ͣΣϣУѣңӣԣգ֣ףأ٣ڡΡϡ\ | ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~ 114 | Сáѡ^?"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ 50 warnings generated. cc -c -O2 -pipe 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 " 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.. -I/usr/local/include -DCANNA_RKPATH='".:$HOME:/usr/local/lib/canna/dic:/tmp/onew_rktabs/canna"' -DCANNA_RKTAB='"default.kp"' Canna.c In file included from Canna.c:30: ./Canna_euc.h:3:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3 | { "#JN", "̾" }, | ^~~~~~~~ ./Canna_euc.h:4:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4 | { "#CN", "̾" }, | ^~~~~~~~ ./Canna_euc.h:5:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 5 | { "#KK", "ȿ̾" }, | ^~~~ ~~~~ ./Canna_euc.h:6:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 6 | { "#T30", "̾" }, | ^~~~~~~~~~~~~~~~ ./Canna_euc.h:7:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 7 | { "#T35", "̾" }, | ^~~~~~~~~~~~~~~~ ./Canna_euc.h:8:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 8 | { "#KJ", "ñ" }, | ^~~~~~~~~~~~~~~~ Canna.c:42:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | static ONEWkanakan_ready() | ~~~~~~ ^ | int Canna.c:52:21: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if( (chost = getenv("CANNAHOST")) == 0 ){ | ^ Canna.c:53:3: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | gethostname(chostb,sizeof(chostb)); | ^ Canna.c:56:2: warning: call to undeclared function 'onew_notify_kkinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | onew_notify_kkinit("%s ** CANNAHOST(%s)",Onew_version(),chost); | ^ Canna.c:56:43: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | onew_notify_kkinit("%s ** CANNAHOST(%s)",Onew_version(),chost); | ^ Canna.c:83:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | static ONEWkanakan_freqsave() | ~~~~~~ ^ | int Canna.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ Canna.c:88:31: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | ONEWkanakan_kouho(cid,i,kouho,len) | ^ 89 | char *kouho; 90 | { Canna.c:88:23: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | ONEWkanakan_kouho(cid,i,kouho,len) | ^ 89 | char *kouho; 90 | { Canna.c:88:19: warning: parameter 'cid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | ONEWkanakan_kouho(cid,i,kouho,len) | ^ 89 | char *kouho; 90 | { Canna.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ONEWkanakan_kouho(cid,i,kouho,len) | ^ Canna.c:100:20: warning: parameter 'startch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | static ONEWkanakan(startch, yomi) | ^ 101 | char *yomi; 102 | { RkStat rkstat; Canna.c:100:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | static ONEWkanakan(startch, yomi) | ~~~~~~ ^ | int Canna.c:110:2: warning: call to undeclared function 'Onew_setupYomistr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | Onew_setupYomistr(startch,yomi,yomibuf); | ^ Canna.c:124:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | Onew_putmsg(1,"Canna: nbunsetsu=%d",nbunsetsu); | ^ Canna.c:125:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | ONEW_BEEP(1); | ^ Canna.c:138:4: warning: call to undeclared function 'onew_put_kanakanmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | onew_put_kanakanmode(); | ^ Canna.c:140:12: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | comch = OnewGetchar(); | ^ Canna.c:141:12: warning: call to undeclared function 'Onew_kanakancom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | rcode = Onew_kanakancom(CID,comch,&bunsetsux,nbunsetsu, | ^ Canna.c:100:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static ONEWkanakan(startch, yomi) | ^ Canna.c:166:33: warning: parameter 'inc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | static ONEWbunsetu_next(cid,cur,inc) | ^ 167 | { Canna.c:166:29: warning: parameter 'cur' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | static ONEWbunsetu_next(cid,cur,inc) | ^ 167 | { Canna.c:166:25: warning: parameter 'cid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | static ONEWbunsetu_next(cid,cur,inc) | ^ 167 | { Canna.c:166:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | static ONEWbunsetu_next(cid,cur,inc) | ~~~~~~ ^ | int Canna.c:166:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:176:27: warning: parameter 'cid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | static ONEWbunsetu_expand(cid) | ^ 177 | { Canna.c:176:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | static ONEWbunsetu_expand(cid) | ~~~~~~ ^ | int Canna.c:176:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:179:1: warning: non-void function does not return a value [-Wreturn-type] 179 | } | ^ Canna.c:180:27: warning: parameter 'cid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | static ONEWbunsetu_shrink(cid) | ^ 181 | { Canna.c:180:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | static ONEWbunsetu_shrink(cid) | ~~~~~~ ^ | int Canna.c:180:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Canna.c:183:1: warning: non-void function does not return a value [-Wreturn-type] 183 | } | ^ Canna.c:184:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | static ONEWexternal_henkan() | ~~~~~~ ^ | int Canna.c:186:1: warning: non-void function does not return a value [-Wreturn-type] 186 | } | ^ Canna.c:188:28: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | static void disp_kanji_buf(so) | ^ 189 | { char kanji[1024]; Canna.c:188:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | static void disp_kanji_buf(so) | ^ Canna.c:213:2: warning: call to undeclared function 'Onew_dispKanakanBuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | Onew_dispKanakanBuf(so,left,cur,right); | ^ Canna.c:215:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | static ONEWbunsetu_delete(){ | ~~~~~~ ^ | int Canna.c:216:1: warning: non-void function does not return a value [-Wreturn-type] 216 | } | ^ Canna.c:218:26: warning: parameter 'touroku' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 218 | static ONEWjisyo_touroku(touroku,hinshi,yomi,kanji) | ^ 219 | char *hinshi,*yomi,*kanji; 220 | { char wordrec[4096]; Canna.c:218:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 218 | static ONEWjisyo_touroku(touroku,hinshi,yomi,kanji) | ~~~~~~ ^ | int Canna.c:226:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 226 | if( rcode = RkDefineDic(CID,dicname,wordrec) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Canna.c:226:13: note: place parentheses around the assignment to silence this warning 226 | if( rcode = RkDefineDic(CID,dicname,wordrec) ){ | ^ | ( ) Canna.c:226:13: note: use '==' to turn this assignment into an equality comparison 226 | if( rcode = RkDefineDic(CID,dicname,wordrec) ){ | ^ | == Canna.c:227:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | Onew_putmsg(1,"(%s) %s",dicname,ONEW_msg_tourokuERROR); | ^ Canna.c:228:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | ONEW_BEEP(2); | ^ Canna.c:230:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | Onew_putmsg(1,"%s",ONEW_msg_tourokuOK); | ^ Canna.c:234:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 234 | if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Canna.c:234:13: note: place parentheses around the assignment to silence this warning 234 | if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ | ^ | ( ) Canna.c:234:13: note: use '==' to turn this assignment into an equality comparison 234 | if( rcode = RkDeleteDic(CID,dicname,wordrec) ){ | ^ | == Canna.c:235:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | Onew_putmsg(1,"REMOVE(%s){%s}=%d", | ^ Canna.c:237:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | ONEW_BEEP(2); | ^ Canna.c:239:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | Onew_putmsg(1,"%s (%s) %s",ONEW_msg_massyouOK, | ^ Canna.c:218:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | static ONEWjisyo_touroku(touroku,hinshi,yomi,kanji) | ^ Canna.c:245:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | static ONEWjisyo_hinshi(hinship) | ~~~~~~ ^ | int Canna.c:245:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 warnings generated. cc -c -O2 -pipe -I.. -I/usr/local/include -DCANNA_RKPATH='".:$HOME:/usr/local/lib/canna/dic:/tmp/onew_rktabs/canna"' -DCANNA_RKTAB='"default.kp"' CannaRk.c CannaRk.c:40:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | static ONEWromkan_modesw(); | ~~~~~~ ^ | int CannaRk.c:42:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | static ONEWromkan_ready(rrkfile) | ~~~~~~ ^ | int CannaRk.c:57:22: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if( (rkname = getenv("ONEW_CANNA_RKTAB")) == 0 ) | ^ CannaRk.c:59:22: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if( (rkpath = getenv("ONEW_CANNA_RKPATH")) == 0 ) | ^ CannaRk.c:62:13: warning: call to undeclared function 'Onew_searchPath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | if((rkfd = Onew_searchPath(rkfile,rkname,rkpath)) < 0) | ^ CannaRk.c:63:6: warning: call to undeclared function 'Onew_extract_rktabs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if( Onew_extract_rktabs() ) | ^ CannaRk.c:66:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | Onew_putmsg(1,"[CANNA] cannot open %s in (%s)\n",rkname,rkpath); | ^ CannaRk.c:69:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | close(rkfd); | ^ CannaRk.c:71:31: warning: call to undeclared function 'RkOpenRoma'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ | ^ CannaRk.c:71:14: warning: cast to 'struct RkRxDic *' from smaller integer type 'int' [-Wint-to-pointer-cast] 71 | if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CannaRk.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 71 | if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CannaRk.c:71:12: note: place parentheses around the assignment to silence this warning 71 | if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ | ^ | ( ) CannaRk.c:71:12: note: use '==' to turn this assignment into an equality comparison 71 | if( RKTAB = (struct RkRxDic*)RkOpenRoma(rkfile) ){ | ^ | == CannaRk.c:73:20: warning: passing arguments to 'ONEWromkan_modesw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | ONEWromkan_modesw(0); | ^ CannaRk.c:78:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | Onew_putmsg(1,"[CANNA] error in romaji-kana table:%s\n",rkfile); | ^ CannaRk.c:42:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | static ONEWromkan_ready(rrkfile) | ^ CannaRk.c:88:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | static romkan_clear(){ | ~~~~~~ ^ | int CannaRk.c:93:1: warning: non-void function does not return a value [-Wreturn-type] 93 | } | ^ CannaRk.c:94:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | static ONEWromkan_clear(){ | ~~~~~~ ^ | int CannaRk.c:96:1: warning: non-void function does not return a value [-Wreturn-type] 96 | } | ^ CannaRk.c:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | static ONEWromkan_getc(){ | ~~~~~~ ^ | int CannaRk.c:103:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 103 | if( ch = outQ ){ | ~~~^~~~~~ CannaRk.c:103:9: note: place parentheses around the assignment to silence this warning 103 | if( ch = outQ ){ | ^ | ( ) CannaRk.c:103:9: note: use '==' to turn this assignment into an equality comparison 103 | if( ch = outQ ){ | ^ | == CannaRk.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | if( ch = inQ ) | ~~~^~~~~ CannaRk.c:107:9: note: place parentheses around the assignment to silence this warning 107 | if( ch = inQ ) | ^ | ( ) CannaRk.c:107:9: note: use '==' to turn this assignment into an equality comparison 107 | if( ch = inQ ) | ^ | == CannaRk.c:109:12: warning: call to undeclared function 'ONEW_getch1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | else ch = ONEW_getch1(); | ^ CannaRk.c:141:10: warning: call to undeclared function 'RkMapRoma'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | rlen = RkMapRoma(RKTAB,dst,sizeof(dst),src,strlen(src), | ^ CannaRk.c:157:23: warning: call to undeclared function 'Onew_toupper'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | ch = 0x80000000 | Onew_toupper(ch); | ^ CannaRk.c:177:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | static ONEWromkan_next(){ | ~~~~~~ ^ | int CannaRk.c:180:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if( ch = inQ ) | ~~~^~~~~ CannaRk.c:180:9: note: place parentheses around the assignment to silence this warning 180 | if( ch = inQ ) | ^ | ( ) CannaRk.c:180:9: note: use '==' to turn this assignment into an equality comparison 180 | if( ch = inQ ) | ^ | == CannaRk.c:182:12: warning: call to undeclared function 'ONEW_getch1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | else ch = ONEW_getch1(); | ^ CannaRk.c:185:25: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | static ONEWromkan_gotch(ch) | ^ 186 | { CannaRk.c:185:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | static ONEWromkan_gotch(ch) | ~~~~~~ ^ | int CannaRk.c:191:3: warning: call to undeclared function 'Onew_disp_kanahalves'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | Onew_disp_kanahalves(pending); | ^ CannaRk.c:185:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | static ONEWromkan_gotch(ch) | ^ CannaRk.c:197:26: warning: parameter 'imode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | static ONEWromkan_modesw(imode) | ^ 198 | { int omode; CannaRk.c:197:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | static ONEWromkan_modesw(imode) | ~~~~~~ ^ | int CannaRk.c:197:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] CannaRk.c:40:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static ONEWromkan_modesw(); | ^ 35 warnings generated. cc -c -O2 -pipe -I.. -I/usr/local/include/wnn -DWNN_RKSPCL='"rk_spclval.h"' -DWNN_DICLIST='"jinmei chimei computer kihon koyuu setsuji symbol tankan bio special usr/$USER/private=10 usr/$USER/ud=10"' -DWNN_DICDIRS='"pubdic/%s.dic;usr/$USER/%s.h", "sys/%s.dic;usr/$USER/%s.h"' -DWNN_RKPATH='"./rk:$ONEW_WNN_ROMKAND:$ONEW_ROMKAND:$HOME/.rk:/usr/local/lib/wnn/ja_JP/rk:/tmp/onew_rktabs/wnn"' Wnn.c In file included from Wnn.c:31: ./Wnn_euc.h:2:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 2 | { (char*)29, "ͭ̾" }, | ^~~~~~~~~~~~~~~~ ./Wnn_euc.h:3:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3 | { (char*)18, "̾" }, | ^~~~~~~~~~~~~~~~~~~~~~~~ ./Wnn_euc.h:4:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4 | { (char*)31, "ñ" }, | ^~~~~~~~~~~~~~~~ Wnn.c:36:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | char *strtok(); | ^ Wnn.c:37:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 37 | static ONEWopen_dic(); | ~~~~~~ ^ | int Wnn.c:38:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | static onew_setevf(); | ~~~~~~ ^ | int Wnn.c:39:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | static wchar_strcpy(), wchar_strlen(); | ~~~~~~ ^ | int Wnn.c:39:24: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | static wchar_strcpy(), wchar_strlen(); | ~~~~~~ ^ | int Wnn.c:40:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | STATIC kana_cands(); | ~~~~~~ ^ | int Wnn.c:72:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | static WnnInit(){ | ~~~~~~ ^ | int Wnn.c:84:17: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | jshost = getenv("JSERVER"); | ^ Wnn.c:86:3: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | gethostname(hostname,sizeof(hostname)); | ^ Wnn.c:90:3: warning: call to undeclared function 'onew_notify_kkinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | onew_notify_kkinit("%s ** JSERVER(%s)",VERSION,jshost); | ^ Wnn.c:90:42: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | onew_notify_kkinit("%s ** JSERVER(%s)",VERSION,jshost); | ^ Wnn.c:24:17: note: expanded from macro 'VERSION' 24 | #define VERSION Onew_version() | ^ Wnn.c:92:15: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | user = getenv("USER"); | ^ Wnn.c:93:17: warning: passing arguments to 'jd_open_in' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | BJ = jd_open_in(S_KANALEN,S_KLISTLEN,S_KANJILEN,jshost,user,0); | ^ Wnn.c:95:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | Onew_putmsg(1,"%s ** JSERVER(%s)%s",VERSION,jshost, | ^ Wnn.c:97:3: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | ONEW_BEEP(2); | ^ Wnn.c:102:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | for( diclisti = 0; dl = WNN_DICLISTP[diclisti]; diclisti++ ){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:102:24: note: place parentheses around the assignment to silence this warning 102 | for( diclisti = 0; dl = WNN_DICLISTP[diclisti]; diclisti++ ){ | ^ | ( ) Wnn.c:102:24: note: use '==' to turn this assignment into an equality comparison 102 | for( diclisti = 0; dl = WNN_DICLISTP[diclisti]; diclisti++ ){ | ^ | == Wnn.c:103:3: warning: call to undeclared function 'Onew_env_substitute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | Onew_env_substitute(dl,diclist); | ^ Wnn.c:112:3: warning: call to undeclared function 'Onew_env_substitute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | Onew_env_substitute(dname,dicname); | ^ Wnn.c:113:19: warning: passing arguments to 'ONEWopen_dic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if( ONEWopen_dic(dicname,pri) < 0 ) | ^ Wnn.c:114:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | ONEW_BEEP(2); | ^ Wnn.c:122:29: warning: parameter 'pri' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | static ONEWopen_dic(dicname,pri) | ^ 123 | char *dicname; 124 | { Pathname dicform,dicdir,frqdir,dicpath,frqpath; Wnn.c:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | static ONEWopen_dic(dicname,pri) | ~~~~~~ ^ | int Wnn.c:132:7: warning: call to undeclared function 'jd_dicadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if( jd_dicadd(dicname,"",pri,0) != -1 ) | ^ Wnn.c:135:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | for(dicformi=0; dicf = WNN_DICDIRSP[dicformi]; dicformi++){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:135:23: note: place parentheses around the assignment to silence this warning 135 | for(dicformi=0; dicf = WNN_DICDIRSP[dicformi]; dicformi++){ | ^ | ( ) Wnn.c:135:23: note: use '==' to turn this assignment into an equality comparison 135 | for(dicformi=0; dicf = WNN_DICDIRSP[dicformi]; dicformi++){ | ^ | == Wnn.c:136:3: warning: call to undeclared function 'Onew_env_substitute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | Onew_env_substitute(dicf,dicform); | ^ Wnn.c:147:7: warning: call to undeclared function 'jd_dicadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if( jd_dicadd(dicpath,frqpath,pri,0) != -1 ) | ^ Wnn.c:153:2: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | Onew_putmsg(1,"%s;%s%s",dicpath,frqpath,ONEW_msg_dicfail); | ^ Wnn.c:122:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | static ONEWopen_dic(dicname,pri) | ^ Wnn.c:37:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static ONEWopen_dic(); | ^ Wnn.c:162:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | static onew_setevf() | ~~~~~~ ^ | int Wnn.c:166:18: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if( env = getenv("ONEW_WNN_EVF") ) | ^ Wnn.c:166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 166 | if( env = getenv("ONEW_WNN_EVF") ) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:166:10: note: place parentheses around the assignment to silence this warning 166 | if( env = getenv("ONEW_WNN_EVF") ) | ^ | ( ) Wnn.c:166:10: note: use '==' to turn this assignment into an equality comparison 166 | if( env = getenv("ONEW_WNN_EVF") ) | ^ | == Wnn.c:167:6: warning: call to undeclared function 'jd_getevf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | if( jd_getevf(&n,&w0,&w1,&w2,&w3,&w4) == 0 ){ | ^ Wnn.c:168:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 168 | sscanf(env,"%d %d %d %d %d %d %d",&n,&w0,&w1,&w2,&w3,&w4); | ~^ Wnn.c:169:3: warning: call to undeclared function 'jd_setevf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | jd_setevf(n,w0,w1,w2,w3,w4); | ^ Wnn.c:170:3: warning: call to undeclared function 'Onew_putmsg_retain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | Onew_putmsg_retain(1," ONEW_WNN_EVF='%d %d %d %d %d %d'", | ^ Wnn.c:173:1: warning: non-void function does not return a value [-Wreturn-type] 173 | } | ^ Wnn.c:175:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 175 | static ONEWkanakan_ready(){ | ~~~~~~ ^ | int Wnn.c:179:20: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | static ONEWkanakan(com,str) | ^ 180 | Uchar *str; 181 | { int comch; Wnn.c:179:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | static ONEWkanakan(com,str) | ~~~~~~ ^ | int Wnn.c:187:2: warning: call to undeclared function 'clr_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | clr_keyinQ(); | ^ Wnn.c:189:2: warning: call to undeclared function 'Onew_setupYomistr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | Onew_setupYomistr(com,str,yomibuf); | ^ Wnn.c:190:2: warning: call to undeclared function 'ToServerString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | ToServerString(yomibuf,BjP->kana_buf); | ^ Wnn.c:191:20: warning: passing arguments to 'kana_cands' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | comch = kana_cands(BjX); | ^ Wnn.c:179:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | static ONEWkanakan(com,str) | ^ Wnn.c:197:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | static ONEWkanakan_freqsave(){ | ~~~~~~ ^ | int Wnn.c:203:6: warning: call to undeclared function 'jd_freqsv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | if(jd_freqsv() != 0){ | ^ Wnn.c:204:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | Onew_putmsg(1,ONEW_msg_cantsavehind); | ^ Wnn.c:205:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | ONEW_BEEP(2); | ^ Wnn.c:213:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 213 | static kanakan_end(){ | ~~~~~~ ^ | int Wnn.c:216:6: warning: call to undeclared function 'jd_close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | if(jd_close() != 0){ | ^ Wnn.c:217:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | Onew_putmsg(1,">> wnn lib close err"); | ^ Wnn.c:218:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | ONEW_BEEP(2); | ^ Wnn.c:221:1: warning: non-void function does not return a value [-Wreturn-type] 221 | } | ^ Wnn.c:226:16: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | YomiString(BjX,i,out) | ^ 227 | wchar *out; 228 | { int len; Wnn.c:226:12: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | YomiString(BjX,i,out) | ^ 227 | wchar *out; 228 | { int len; Wnn.c:232:15: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | ToLocalString(out,&BjP->kana_buf[BjP->klist[i].s_ichi],len); | ^ Wnn.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | YomiString(BjX,i,out) | ^ Wnn.c:233:1: warning: non-void function does not return a value [-Wreturn-type] 233 | } | ^ Wnn.c:236:20: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | BunsetsuString(BjX,i,out) | ^ 237 | char *out; 238 | { struct kouho_entry *kep; Wnn.c:236:16: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | BunsetsuString(BjX,i,out) | ^ 237 | char *out; 238 | { struct kouho_entry *kep; Wnn.c:242:49: warning: passing arguments to 'wchar_strlen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | sp = ToLocalString(out,kep->k_data,wchar_strlen(kep->k_data)); | ^ Wnn.c:242:20: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | sp = ToLocalString(out,kep->k_data,wchar_strlen(kep->k_data)); | ^ Wnn.c:243:15: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | ToLocalString(sp,&BjP->kana_buf[kep->s_ichi+kep->jl],kep->fl); | ^ Wnn.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | BunsetsuString(BjX,i,out) | ^ Wnn.c:249:34: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | static disp_kanji_buf(BjX,cur_bi,so) | ^ 250 | { int i,col; Wnn.c:249:27: warning: parameter 'cur_bi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | static disp_kanji_buf(BjX,cur_bi,so) | ^ 250 | { int i,col; Wnn.c:249:23: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | static disp_kanji_buf(BjX,cur_bi,so) | ^ 250 | { int i,col; Wnn.c:249:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | static disp_kanji_buf(BjX,cur_bi,so) | ~~~~~~ ^ | int Wnn.c:265:2: warning: call to undeclared function 'Onew_dispKanakanBuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | Onew_dispKanakanBuf(so,left,current,right); | ^ Wnn.c:249:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | static disp_kanji_buf(BjX,cur_bi,so) | ^ Wnn.c:266:1: warning: non-void function does not return a value [-Wreturn-type] 266 | } | ^ Wnn.c:270:32: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | ONEWkanakan_kouho(alts,i,kouho,len) | ^ 271 | struct jikouhojoho *alts; 272 | wchar *kouho; 273 | { struct jikouho_entry *jkep; Wnn.c:270:24: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | ONEWkanakan_kouho(alts,i,kouho,len) | ^ 271 | struct jikouhojoho *alts; 272 | wchar *kouho; 273 | { struct jikouho_entry *jkep; Wnn.c:276:49: warning: passing arguments to 'wchar_strlen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ToLocalString(kouho,jkep[i].k_data,wchar_strlen(jkep[i].k_data)); | ^ Wnn.c:276:15: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ToLocalString(kouho,jkep[i].k_data,wchar_strlen(jkep[i].k_data)); | ^ Wnn.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | ONEWkanakan_kouho(alts,i,kouho,len) | ^ Wnn.c:281:28: warning: parameter 'inc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | ONEWbunsetu_next(BjX,index,inc) | ^ 282 | { int i; Wnn.c:281:22: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | ONEWbunsetu_next(BjX,index,inc) | ^ 282 | { int i; Wnn.c:281:18: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | ONEWbunsetu_next(BjX,index,inc) | ^ 282 | { int i; Wnn.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | ONEWbunsetu_next(BjX,index,inc) | ^ Wnn.c:307:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | static OW_CurrentSerial; | ~~~~~~ ^ | int Wnn.c:308:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | static OW_CurrentDic_no; | ~~~~~~ ^ | int Wnn.c:310:19: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | STATIC kana_cands(BjX) | ^ 311 | { struct kouho_entry *kep; Wnn.c:310:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | STATIC kana_cands(BjX) | ~~~~~~ ^ | int Wnn.c:318:16: warning: call to undeclared function 'jd_begin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | NoOfBunsetu = jd_begin(BjP->kanji_buf,BjP->kanji_buf_size); | ^ Wnn.c:321:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | Onew_putmsg(1,"ERROR: jserver dead ? (BunsetuNo==0)"); | ^ Wnn.c:322:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | ONEW_BEEP(2); | ^ Wnn.c:337:11: warning: call to undeclared function 'jd_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | candn = jd_next(bunsetux,&altcand); | ^ Wnn.c:343:4: warning: call to undeclared function 'onew_put_kanakanmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | onew_put_kanakanmode(); | ^ Wnn.c:346:12: warning: call to undeclared function 'OnewGetchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | comch = OnewGetchar(); | ^ Wnn.c:349:12: warning: call to undeclared function 'Onew_kanakancom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | rcode = Onew_kanakancom(BjX,comch,&bunsetux,NoOfBunsetu, | ^ Wnn.c:367:17: warning: passing arguments to 'wchar_strcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | wchar_strcpy(kep->k_data,jkep->k_data); | ^ Wnn.c:372:17: warning: call to undeclared function 'jd_reconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | inbun = jd_reconv(bunsetux+1, | ^ Wnn.c:373:35: warning: passing arguments to 'wchar_strlen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | &kep->k_data[wchar_strlen(kep->k_data)+1], | ^ Wnn.c:384:6: warning: call to undeclared function 'jd_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | if( jd_end() != 0 ){ | ^ Wnn.c:385:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | Onew_putmsg(1,ONEW_msg_cantsavehind);; | ^ Wnn.c:386:3: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | ONEW_BEEP(1); | ^ Wnn.c:310:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | STATIC kana_cands(BjX) | ^ Wnn.c:40:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | STATIC kana_cands(); | ^ Wnn.c:392:31: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | static ONEWbunsetu_expand(BjX,i) | ^ 393 | { struct kouho_entry *kep; Wnn.c:392:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | static ONEWbunsetu_expand(BjX,i) | ^ 393 | { struct kouho_entry *kep; Wnn.c:392:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | static ONEWbunsetu_expand(BjX,i) | ~~~~~~ ^ | int Wnn.c:402:11: warning: call to undeclared function 'jd_tanconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | inbun = jd_tanconv(i,wleng+1,kep->k_data,S_KANJILEN); | ^ Wnn.c:392:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | static ONEWbunsetu_expand(BjX,i) | ^ Wnn.c:406:1: warning: non-void function does not return a value [-Wreturn-type] 406 | } | ^ Wnn.c:407:31: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | static ONEWbunsetu_shrink(BjX,i) | ^ 408 | { struct kouho_entry *kep; Wnn.c:407:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | static ONEWbunsetu_shrink(BjX,i) | ^ 408 | { struct kouho_entry *kep; Wnn.c:407:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 407 | static ONEWbunsetu_shrink(BjX,i) | ~~~~~~ ^ | int Wnn.c:414:11: warning: call to undeclared function 'jd_tanconv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | inbun = jd_tanconv(i,wleng-1,kep->k_data,S_KANJILEN); | ^ Wnn.c:407:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | static ONEWbunsetu_shrink(BjX,i) | ^ Wnn.c:418:1: warning: non-void function does not return a value [-Wreturn-type] 418 | } | ^ Wnn.c:420:31: warning: parameter 'dbunsetu' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static ONEWbunsetu_delete(BjX,dbunsetu) | ^ 421 | { struct kouho_entry *kep; Wnn.c:420:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static ONEWbunsetu_delete(BjX,dbunsetu) | ^ 421 | { struct kouho_entry *kep; Wnn.c:420:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static ONEWbunsetu_delete(BjX,dbunsetu) | ~~~~~~ ^ | int Wnn.c:420:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Wnn.c:439:1: warning: non-void function does not return a value [-Wreturn-type] 439 | } | ^ Wnn.c:442:17: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 442 | static add_alts(BjX,alts) | ^ 443 | struct jikouhojoho *alts; 444 | { struct kouho_entry *kep; Wnn.c:442:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 442 | static add_alts(BjX,alts) | ~~~~~~ ^ | int Wnn.c:451:36: warning: passing arguments to 'wchar_strlen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | ToLocalString(exp,kbp,wchar_strlen(kbp)); | ^ Wnn.c:451:15: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | ToLocalString(exp,kbp,wchar_strlen(kbp)); | ^ Wnn.c:455:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 455 | if( fp = popen(command,"r") ){ | ~~~^~~~~~~~~~~~~~~~~~~~ Wnn.c:455:9: note: place parentheses around the assignment to silence this warning 455 | if( fp = popen(command,"r") ){ | ^ | ( ) Wnn.c:455:9: note: use '==' to turn this assignment into an equality comparison 455 | if( fp = popen(command,"r") ){ | ^ | == Wnn.c:442:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | static add_alts(BjX,alts) | ^ Wnn.c:462:1: warning: non-void function does not return a value [-Wreturn-type] 462 | } | ^ Wnn.c:463:32: warning: parameter 'alts' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | static ONEWexternal_henkan(BjX,alts){ | ^ Wnn.c:463:28: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | static ONEWexternal_henkan(BjX,alts){ | ^ Wnn.c:463:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | static ONEWexternal_henkan(BjX,alts){ | ~~~~~~ ^ | int Wnn.c:464:15: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct jikouhojoho *' [-Wint-conversion] 464 | add_alts(BjX,alts); | ^~~~ Wnn.c:463:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | static ONEWexternal_henkan(BjX,alts){ | ^ Wnn.c:465:1: warning: non-void function does not return a value [-Wreturn-type] 465 | } | ^ Wnn.c:468:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 468 | static wchar_strcpy(dst,src) | ~~~~~~ ^ | int Wnn.c:474:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 474 | while( *d++ = *s++ ); | ~~~~~^~~~~~ Wnn.c:474:14: note: place parentheses around the assignment to silence this warning 474 | while( *d++ = *s++ ); | ^ | ( ) Wnn.c:474:14: note: use '==' to turn this assignment into an equality comparison 474 | while( *d++ = *s++ ); | ^ | == Wnn.c:468:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | static wchar_strcpy(dst,src) | ^ Wnn.c:39:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static wchar_strcpy(), wchar_strlen(); | ^ Wnn.c:475:1: warning: non-void function does not return a value [-Wreturn-type] 475 | } | ^ Wnn.c:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | static wchar_strlen(wstr) wchar *wstr; { | ~~~~~~ ^ | int Wnn.c:476:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Wnn.c:39:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static wchar_strcpy(), wchar_strlen(); | ^ Wnn.c:486:23: warning: parameter 'dicno' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 486 | static get_dicno(name,dicno) | ^ 487 | char *name; 488 | { int ndic,dici,udic; Wnn.c:486:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 486 | static get_dicno(name,dicno) | ~~~~~~ ^ | int Wnn.c:494:9: warning: call to undeclared function 'jd_dicinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 494 | ndic = jd_dicinfo(dicinfo,64,dicnames,4096); | ^ Wnn.c:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 497 | if( dname = (char*)strrchr(di->file_name,'/') ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:497:13: note: place parentheses around the assignment to silence this warning 497 | if( dname = (char*)strrchr(di->file_name,'/') ) | ^ | ( ) Wnn.c:497:13: note: use '==' to turn this assignment into an equality comparison 497 | if( dname = (char*)strrchr(di->file_name,'/') ) | ^ | == Wnn.c:502:8: warning: call to undeclared function 'jd_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | if( jd_udp(di->dic_no) & 1 ){ | ^ Wnn.c:486:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | static get_dicno(name,dicno) | ^ Wnn.c:519:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 519 | static change_udic(name) | ~~~~~~ ^ | int Wnn.c:524:7: warning: call to undeclared function 'jd_udchg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | if( jd_udchg(dicno) == 0 ) | ^ Wnn.c:526:3: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | Onew_putmsg(1,"UD (%s) CHANGE FAILED",name); | ^ Wnn.c:527:8: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | }else Onew_putmsg(1,"UD (%s) NOT FOUND",name); | ^ Wnn.c:519:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | static change_udic(name) | ^ Wnn.c:534:26: warning: parameter 'touroku' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 534 | static ONEWjisyo_touroku(touroku,hinshi,eyomi,ekanji) | ^ 535 | char *hinshi; 536 | Uchar *eyomi,*ekanji; 537 | { wchar yomi[256],kanji[2048]; Wnn.c:534:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 534 | static ONEWjisyo_touroku(touroku,hinshi,eyomi,ekanji) | ~~~~~~ ^ | int Wnn.c:541:2: warning: call to undeclared function 'ToServerString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | ToServerString(eyomi,yomi); | ^ Wnn.c:549:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 549 | Onew_putmsg(1,"FAILED: cannot open user dictionary[%s]", | ^ Wnn.c:553:16: warning: call to undeclared function 'jd_wreg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | if( (rcode = jd_wreg(kanji,yomi,1<<(int)hinshi)) < 0 ){ | ^ Wnn.c:553:38: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 553 | if( (rcode = jd_wreg(kanji,yomi,1<<(int)hinshi)) < 0 ){ | ^~~~~~~~~~~ Wnn.c:554:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | Onew_putmsg(1,"(%s) %s",dicname,ONEW_msg_tourokuERROR); | ^ Wnn.c:555:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | ONEW_BEEP(2); | ^ Wnn.c:556:9: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | }else Onew_putmsg(1,"(%s) %s",dicname,ONEW_msg_tourokuOK); | ^ Wnn.c:563:21: warning: call to undeclared function 'jd_wdel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | if( 0 <= (rcode = jd_wdel(OW_CurrentSerial,yomi)) ) | ^ Wnn.c:564:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | Onew_putmsg(1,"%s (%s:%d) %s %s",ONEW_msg_massyouOK, | ^ Wnn.c:569:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | ONEW_BEEP(2); | ^ Wnn.c:534:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | static ONEWjisyo_touroku(touroku,hinshi,eyomi,ekanji) | ^ Wnn.c:576:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 576 | static ONEWjisyo_hinshi(hinship) | ~~~~~~ ^ | int Wnn.c:576:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Wnn.c:587:23: warning: parameter 'wlen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 587 | ToLocalString(dst,src,wlen) | ^ 588 | Uchar *dst; 589 | wchar *src; 590 | { int si,di,wc; Wnn.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ToLocalString(dst,src,wlen) | ^ Wnn.c:223:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | extern Uchar *ToLocalString(); | ^ Wnn.c:604:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 604 | ToServerString(str,wp) | ^ | int Wnn.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Wnn.c:621:1: warning: non-void function does not return a value [-Wreturn-type] 621 | } | ^ 173 warnings generated. cc -c -O2 -pipe -I.. -I/usr/local/include/wnn -DWNN_RKSPCL='"rk_spclval.h"' -DWNN_DICLIST='"jinmei chimei computer kihon koyuu setsuji symbol tankan bio special usr/$USER/private=10 usr/$USER/ud=10"' -DWNN_DICDIRS='"pubdic/%s.dic;usr/$USER/%s.h", "sys/%s.dic;usr/$USER/%s.h"' -DWNN_RKPATH='"./rk:$ONEW_WNN_ROMKAND:$ONEW_ROMKAND:$HOME/.rk:/usr/local/lib/wnn/ja_JP/rk:/tmp/onew_rktabs/wnn"' WnnRomkan.c WnnRomkan.c:42:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | static ONEWromkan_getc(){ | ~~~~~~ ^ | int WnnRomkan.c:43:9: warning: call to undeclared function 'romkan_getc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | return romkan_getc(); | ^ WnnRomkan.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static ONEWromkan_next(){ | ~~~~~~ ^ | int WnnRomkan.c:46:9: warning: call to undeclared function 'romkan_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | return romkan_next(); | ^ WnnRomkan.c:48:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | static ONEWromkan_clear(){ | ~~~~~~ ^ | int WnnRomkan.c:49:9: warning: call to undeclared function 'romkan_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | return romkan_clear(); | ^ WnnRomkan.c:53:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | static ONEWromkan_modesw(); | ~~~~~~ ^ | int WnnRomkan.c:55:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | static ONEWromkan_ready(rkdir) | ~~~~~~ ^ | int WnnRomkan.c:63:14: warning: call to undeclared function 'Onew_searchPath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if((rkfd = Onew_searchPath(rkbuf,"",WNN_RKPATH)) < 0) | ^ WnnRomkan.c:64:7: warning: call to undeclared function 'Onew_extract_rktabs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if( Onew_extract_rktabs() ) | ^ WnnRomkan.c:69:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | close(rkfd); | ^ WnnRomkan.c:74:8: warning: call to undeclared function 'romkan_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | if( romkan_init(rk,Cntl('H'),1,ONEW_getch1,0) != 0 ) | ^ WnnRomkan.c:88:4: warning: call to undeclared function 'Onew_putmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | Onew_putmsg(1,"%s %s","ONEW_WNN_ROMKAND", | ^ WnnRomkan.c:90:4: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | ONEW_BEEP(4); | ^ WnnRomkan.c:93:21: warning: passing arguments to 'ONEWromkan_modesw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | ONEWromkan_modesw(0); | ^ WnnRomkan.c:55:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | static ONEWromkan_ready(rkdir) | ^ WnnRomkan.c:104:16: warning: call to undeclared function 'romkan_dispmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | return (char*)romkan_dispmode(); | ^ WnnRomkan.c:104:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 104 | return (char*)romkan_dispmode(); | ^~~~~~~~~~~~~~~~~~~~~~~~ WnnRomkan.c:109:25: warning: parameter 'kc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static ONEWromkan_gotch(kc){ | ^ WnnRomkan.c:109:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static ONEWromkan_gotch(kc){ | ~~~~~~ ^ | int WnnRomkan.c:124:4: warning: call to undeclared function 'Onew_disp_kanahalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | Onew_disp_kanahalf(' '); | ^ WnnRomkan.c:125:4: warning: call to undeclared function 'romkan_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | romkan_clear(); | ^ WnnRomkan.c:109:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | static ONEWromkan_gotch(kc){ | ^ WnnRomkan.c:155:26: warning: parameter 'modei' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | static ONEWromkan_modesw(modei){ | ^ WnnRomkan.c:155:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | static ONEWromkan_modesw(modei){ | ~~~~~~ ^ | int WnnRomkan.c:167:28: warning: call to undeclared function 'ins_keyinQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | if(mode_diff&KF_KEISEN_B) ins_keyinQ(S_KEISEN_B),romkan_getc(); | ^ WnnRomkan.c:167:51: warning: call to undeclared function 'romkan_getc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | if(mode_diff&KF_KEISEN_B) ins_keyinQ(S_KEISEN_B),romkan_getc(); | ^ WnnRomkan.c:155:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | static ONEWromkan_modesw(modei){ | ^ WnnRomkan.c:53:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static ONEWromkan_modesw(); | ^ 29 warnings generated. ar rc libengine.a Canna.o CannaRk.o Wnn.o WnnRomkan.o cp libonewk.a libonew.a (cd engine; ar r ../libonew.a Canna.o CannaRk.o Wnn.o WnnRomkan.o) (cd stabs; ar r ../libonew.a *.o) ranlib libonew.a cc -c -O2 -pipe onew.c In file included from onew.c:31: ./onew.h:63:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | extern char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ onew.c:44:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | static clear_bufs(){ | ~~~~~~ ^ | int onew.c:48:1: warning: non-void function does not return a value [-Wreturn-type] 48 | } | ^ onew.c:53:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | static put_client(); | ~~~~~~ ^ | int onew.c:59:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | static cdump(name) | ~~~~~~ ^ | int onew.c:59:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onew.c:78:1: warning: non-void function does not return a value [-Wreturn-type] 78 | } | ^ onew.c:80:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | main(ac,av) | ^ 81 | char *av[]; 82 | { char *debug; onew.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | main(ac,av) | ^ | int onew.c:87:4: warning: call to undeclared function 'Onew_showrktab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | Onew_showrktab(); | ^ onew.c:95:4: warning: call to undeclared function 'Onew_extract_rktabs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | Onew_extract_rktabs(); | ^ onew.c:99:4: warning: call to undeclared function 'Onew_kkdic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | Onew_kkdic(); | ^ onew.c:104:7: warning: call to undeclared function 'onew_on_via'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | ac = onew_on_via(ac,av); | ^ onew.c:106:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if( isatty(0) ){ | ^ onew.c:107:3: warning: call to undeclared function 'Onew_ttyIcanon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | Onew_ttyIcanon(0); | ^ onew.c:110:3: warning: call to undeclared function 'Onew_notty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | Onew_notty(); | ^ onew.c:116:2: warning: call to undeclared function 'ONEW_MESSAGE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | ONEW_MESSAGE(0,"[ROMKAN & KANAKAN FILTER] %s start.",Onew_version()); | ^ onew.c:116:55: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | ONEW_MESSAGE(0,"[ROMKAN & KANAKAN FILTER] %s start.",Onew_version()); | ^ onew.c:117:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if( debug = getenv("DEBUG_onew") ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ onew.c:117:12: note: place parentheses around the assignment to silence this warning 117 | if( debug = getenv("DEBUG_onew") ) | ^ | ( ) onew.c:117:12: note: use '==' to turn this assignment into an equality comparison 117 | if( debug = getenv("DEBUG_onew") ) | ^ | == onew.c:125:9: warning: call to undeclared function 'kgetc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | ch1 = kgetc(); | ^ onew.c:133:14: warning: passing arguments to 'put_client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | put_client(S_CHATTR,"+U"); | ^ onew.c:136:15: warning: passing arguments to 'put_client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | put_client(S_INPUT,"%c%c",ch1,ch2); | ^ onew.c:137:20: warning: passing arguments to 'put_client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | }else put_client(S_INPUT,"%c",ch1); | ^ onew.c:138:14: warning: passing arguments to 'put_client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | put_client(S_CHATTR,"-U"); | ^ onew.c:143:5: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | Onew_fprintf(logfp,"%c%c",ch1,ch2); | ^ onew.c:158:3: warning: call to undeclared function 'Onew_ttyIcanon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | Onew_ttyIcanon(1); | ^ onew.c:163:2: warning: call to undeclared function 'Onew_KK_freqsave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | Onew_KK_freqsave(); | ^ onew.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | main(ac,av) | ^ onew.c:166:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | static onew_xcom(){ | ~~~~~~ ^ | int onew.c:169:2: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | Onew_fprintf(stderr,"ONEW-COMMAND> "); | ^ onew.c:172:1: warning: non-void function does not return a value [-Wreturn-type] 172 | } | ^ onew.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | ONEW_GETCHAR() | ^ | int onew.c:178:8: warning: call to undeclared function 'GetChar1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | ch = GetChar1(); | ^ onew.c:179:3: warning: call to undeclared function 'ouiTrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | ouiTrace("onew_GETCHAR","(%x)",ch); | ^ onew.c:182:4: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | Onew_fprintf(stderr,"ONEW_GETCHAR: %x\n",ch); | ^ onew.c:192:4: warning: call to undeclared function 'set_is_sock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | set_is_sock(); | ^ onew.c:193:14: warning: passing arguments to 'put_client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | put_client(S_SYNC,""); | ^ onew.c:221:42: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:40: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:38: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:36: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:34: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:32: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ 222 | char *command,*form; 223 | { Linebuff out,tmp; onew.c:221:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static put_client(command,form,a,b,c,d,e,f) | ~~~~~~ ^ | int onew.c:230:4: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | Onew_version()); | ^ onew.c:241:3: warning: call to undeclared function 'ASCII_TO_JIS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | ASCII_TO_JIS(op,tmp); | ^ onew.c:249:56: warning: data argument not used by format string [-Wformat-extra-args] 249 | fprintf(stderr,"%s: %-10s %8x %8x ",command,form,a,b,c,d,e,f); | ~~~~~~~~~~~~~~~~~~~~ ^ onew.c:250:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | for( ci = 0; ch1 = out[ci]; ci++ ){ | ~~~~^~~~~~~~~ onew.c:250:20: note: place parentheses around the assignment to silence this warning 250 | for( ci = 0; ch1 = out[ci]; ci++ ){ | ^ | ( ) onew.c:250:20: note: use '==' to turn this assignment into an equality comparison 250 | for( ci = 0; ch1 = out[ci]; ci++ ){ | ^ | == onew.c:259:2: warning: call to undeclared function 'send_to_client'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | send_to_client(out); | ^ onew.c:221:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | static put_client(command,form,a,b,c,d,e,f) | ^ onew.c:53:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static put_client(); | ^ onew.c:260:1: warning: non-void function does not return a value [-Wreturn-type] 260 | } | ^ onew.c:261:19: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | static got_server(ch){ | ^ onew.c:261:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | static got_server(ch){ | ~~~~~~ ^ | int onew.c:261:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onew.c:268:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | static charlen(str) | ~~~~~~ ^ | int onew.c:273:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 273 | for( i = 0; ch = str[i]; i++ ){ | ~~~^~~~~~~~ onew.c:273:17: note: place parentheses around the assignment to silence this warning 273 | for( i = 0; ch = str[i]; i++ ){ | ^ | ( ) onew.c:273:17: note: use '==' to turn this assignment into an equality comparison 273 | for( i = 0; ch = str[i]; i++ ){ | ^ | == onew.c:268:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | static charlen(str) | ^ onew.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | kgetc(){ | ^ | int onew.c:287:3: warning: call to undeclared function 'Onew_RK_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | Onew_RK_init(); | ^ onew.c:288:3: warning: call to undeclared function 'Onew_RK_cmode_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | Onew_RK_cmode_set('h'); | ^ onew.c:290:9: warning: call to undeclared function 'Onew_romkan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | inch = Onew_romkan(); | ^ onew.c:293:6: warning: call to undeclared function 'OnewPeekchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | if( OnewPeekchar(200) == EOF ) | ^ onew.c:309:8: warning: call to undeclared function 'Onew_non_ascii'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | if( Onew_non_ascii(onew_buf) ){ | ^ onew.c:321:10: warning: call to undeclared function 'ONEW_BEEP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | }else ONEW_BEEP(1); | ^ onew.c:326:8: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | Onew_fprintf(stderr,"\r"); | ^ onew.c:330:39: warning: too few arguments in call to 'put_client' 329 | put_client(S_DELETE,"%d %d", | ~~~~~~~~~~ 330 | strlen(onew_buf),charlen(onew_buf)); | ^ onew.c:331:34: warning: too few arguments in call to 'put_client' 331 | put_client(S_INPUT,"%s","");/* do delete */ | ~~~~~~~~~~ ^ onew.c:331:32: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] 331 | put_client(S_INPUT,"%s","");/* do delete */ | ^~ onew.c:346:8: warning: call to undeclared function 'Onew_RK_imode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | if( Onew_RK_imode() ){ | ^ onew.c:347:5: warning: call to undeclared function 'ONEW_MESSAGE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | ONEW_MESSAGE(1,"[%x] %s", | ^ onew.c:350:1: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | sleep(2); | ^ onew.c:356:7: warning: call to undeclared function 'Onew_RK_imode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | if( Onew_RK_imode() ){ | ^ onew.c:369:14: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | ONEW_KANAKAN(ch){ | ^ onew.c:369:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | ONEW_KANAKAN(ch){ | ^ | int onew.c:375:39: warning: too few arguments in call to 'put_client' 374 | put_client(S_DELETE,"%d %d", | ~~~~~~~~~~ 375 | strlen(onew_buf),charlen(onew_buf)); | ^ onew.c:377:9: warning: call to undeclared function 'Onew_kanakan'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | com = Onew_kanakan(ch,onew_buf,0,idbx); | ^ onew.c:384:35: warning: too few arguments in call to 'put_client' 384 | put_client(S_CHATTR,"%s","+U"); | ~~~~~~~~~~ ^ onew.c:384:31: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 384 | put_client(S_CHATTR,"%s","+U"); | ^~~~ onew.c:385:38: warning: too few arguments in call to 'put_client' 385 | put_client(S_INPUT,"%s",onew_out); | ~~~~~~~~~~ ^ onew.c:385:30: warning: incompatible pointer to integer conversion passing 'Mssgbuff' (aka 'char[1024]') to parameter of type 'int' [-Wint-conversion] 385 | put_client(S_INPUT,"%s",onew_out); | ^~~~~~~~ onew.c:386:35: warning: too few arguments in call to 'put_client' 386 | put_client(S_CHATTR,"%s","-U"); | ~~~~~~~~~~ ^ onew.c:386:31: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 386 | put_client(S_CHATTR,"%s","-U"); | ^~~~ onew.c:394:5: warning: call to undeclared function 'Onew_kakutei'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | Onew_kakutei(com); | ^ onew.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ONEW_KANAKAN(ch){ | ^ onew.c:408:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 408 | static pending_newline; | ~~~~~~ ^ | int onew.c:409:14: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | ONEW_KAKUTEI(key){ | ^ onew.c:409:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | ONEW_KAKUTEI(key){ | ^ | int onew.c:412:7: warning: call to undeclared function 'Onew_non_ascii'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | na = Onew_non_ascii(onew_buf) || Onew_non_ascii(onew_out); | ^ onew.c:414:26: warning: too few arguments in call to 'put_client' 414 | put_client(S_CONFIRM,""); | ~~~~~~~~~~ ^ onew.c:418:4: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | Onew_fprintf(stdout,"%s\n",onew_out); | ^ onew.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | ONEW_KAKUTEI(key){ | ^ onew.c:430:20: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 430 | ONEW_DISP_KANAHALF(ch){ | ^ onew.c:430:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 430 | ONEW_DISP_KANAHALF(ch){ | ^ | int onew.c:433:30: warning: too few arguments in call to 'put_client' 433 | put_client(S_INPUT,"%s",""); | ~~~~~~~~~~ ^ onew.c:433:28: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] 433 | put_client(S_INPUT,"%s",""); | ^~ onew.c:435:46: warning: too few arguments in call to 'put_client' 435 | put_client(S_INPUT,"%c%c",0x80|'#',0x80|ch); | ~~~~~~~~~~ ^ onew.c:436:35: warning: too few arguments in call to 'put_client' 436 | put_client(S_DELETE,"%d %d",2,1); | ~~~~~~~~~~ ^ onew.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | ONEW_DISP_KANAHALF(ch){ | ^ onew.c:444:1: warning: non-void function does not return a value [-Wreturn-type] 444 | } | ^ onew.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 446 | set_is_sock(){ | ^ | int onew.c:452:1: warning: non-void function does not return a value [-Wreturn-type] 452 | } | ^ onew.c:454:20: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 454 | ONEW_DISP_KANAKANB(so,left,current,right) | ^ 455 | char *left,*current,*right; 456 | { int bytes,chars; onew.c:454:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 454 | ONEW_DISP_KANAKANB(so,left,current,right) | ^ | int onew.c:463:33: warning: too few arguments in call to 'put_client' 463 | put_client(S_CHATTR,"%s","+U"); | ~~~~~~~~~~ ^ onew.c:463:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 463 | put_client(S_CHATTR,"%s","+U"); | ^~~~ onew.c:464:32: warning: too few arguments in call to 'put_client' 464 | put_client(S_INPUT,"%s",left); | ~~~~~~~~~~ ^ onew.c:464:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 464 | put_client(S_INPUT,"%s",left); | ^~~~ onew.c:465:33: warning: too few arguments in call to 'put_client' 465 | put_client(S_CHATTR,"%s","-U"); | ~~~~~~~~~~ ^ onew.c:465:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 465 | put_client(S_CHATTR,"%s","-U"); | ^~~~ onew.c:468:33: warning: too few arguments in call to 'put_client' 468 | put_client(S_CHATTR,"%s","+R"); | ~~~~~~~~~~ ^ onew.c:468:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 468 | put_client(S_CHATTR,"%s","+R"); | ^~~~ onew.c:469:35: warning: too few arguments in call to 'put_client' 469 | put_client(S_INPUT,"%s",current); | ~~~~~~~~~~ ^ onew.c:469:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 469 | put_client(S_INPUT,"%s",current); | ^~~~~~~ onew.c:470:33: warning: too few arguments in call to 'put_client' 470 | put_client(S_CHATTR,"%s","-R"); | ~~~~~~~~~~ ^ onew.c:470:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 470 | put_client(S_CHATTR,"%s","-R"); | ^~~~ onew.c:473:33: warning: too few arguments in call to 'put_client' 473 | put_client(S_CHATTR,"%s","+U"); | ~~~~~~~~~~ ^ onew.c:473:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 473 | put_client(S_CHATTR,"%s","+U"); | ^~~~ onew.c:474:33: warning: too few arguments in call to 'put_client' 474 | put_client(S_INPUT,"%s",right); | ~~~~~~~~~~ ^ onew.c:474:28: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 474 | put_client(S_INPUT,"%s",right); | ^~~~~ onew.c:475:33: warning: too few arguments in call to 'put_client' 475 | put_client(S_CHATTR,"%s","-U"); | ~~~~~~~~~~ ^ onew.c:475:29: warning: incompatible pointer to integer conversion passing 'char[3]' to parameter of type 'int' [-Wint-conversion] 475 | put_client(S_CHATTR,"%s","-U"); | ^~~~ onew.c:477:42: warning: too few arguments in call to 'put_client' 477 | put_client(S_DELETE,"%d %d",bytes,chars); | ~~~~~~~~~~ ^ onew.c:479:41: warning: too few arguments in call to 'put_client' 478 | if( VER1 ) put_client(S_MESSAGE,"%s%s%s%s%s", | ~~~~~~~~~~ 479 | left,"\033[7m",current,"\033[m",right); | ^ onew.c:479:4: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 479 | left,"\033[7m",current,"\033[m",right); | ^~~~ onew.c:479:9: warning: incompatible pointer to integer conversion passing 'char[5]' to parameter of type 'int' [-Wint-conversion] 479 | left,"\033[7m",current,"\033[m",right); | ^~~~~~~~~ onew.c:479:19: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 479 | left,"\033[7m",current,"\033[m",right); | ^~~~~~~ onew.c:479:27: warning: incompatible pointer to integer conversion passing 'char[4]' to parameter of type 'int' [-Wint-conversion] 479 | left,"\033[7m",current,"\033[m",right); | ^~~~~~~~ onew.c:479:36: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 479 | left,"\033[7m",current,"\033[m",right); | ^~~~~ onew.c:482:3: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | Onew_fprintf(stderr,"\r%s%s%s%s%s", | ^ onew.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ONEW_DISP_KANAKANB(so,left,current,right) | ^ onew.c:490:1: warning: non-void function does not return a value [-Wreturn-type] 490 | } | ^ onew.c:491:11: warning: parameter 'nsec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | ONEW_BEEP(nsec){ | ^ onew.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | ONEW_BEEP(nsec){ | ^ | int onew.c:492:2: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | Onew_fprintf(stderr,"%c",7); | ^ onew.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | ONEW_BEEP(nsec){ | ^ onew.c:494:1: warning: non-void function does not return a value [-Wreturn-type] 494 | } | ^ onew.c:497:34: warning: parameter 'modef' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | ONEW_DISP_ROMKANMODE(cmode,chelp,modef) | ^ 498 | char *cmode,*chelp; 499 | { onew.c:505:46: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); | ^ onew.c:505:60: warning: too few arguments in call to 'put_client' 505 | put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); | ~~~~~~~~~~ ^ onew.c:505:34: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 505 | put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); | ^~~~~ onew.c:505:40: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 505 | put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); | ^~~~~ onew.c:506:49: warning: too few arguments in call to 'put_client' 506 | else put_client(S_MESSAGE,"%s%s",cmode,chelp); | ~~~~~~~~~~ ^ onew.c:506:38: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 506 | else put_client(S_MESSAGE,"%s%s",cmode,chelp); | ^~~~~ onew.c:506:44: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 506 | else put_client(S_MESSAGE,"%s%s",cmode,chelp); | ^~~~~ onew.c:510:4: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | Onew_fprintf(stderr,"\n"); | ^ onew.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | ONEW_DISP_ROMKANMODE(cmode,chelp,modef) | ^ onew.c:516:14: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 516 | ONEW_MESSAGE(so,form,a,b,c,d) | ^ 517 | char *form; 518 | char *a,*b,*c,*d; 519 | { Mssgbuff msg; onew.c:516:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 516 | ONEW_MESSAGE(so,form,a,b,c,d) | ^ | int onew.c:524:4: warning: call to undeclared function 'Onew_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | Onew_fprintf(stderr,"Hit ESC to quit.\n"); | ^ onew.c:534:33: warning: too few arguments in call to 'put_client' 534 | put_client(S_MESSAGE,":%s",msg); | ~~~~~~~~~~ ^ onew.c:534:30: warning: incompatible pointer to integer conversion passing 'Mssgbuff' (aka 'char[1024]') to parameter of type 'int' [-Wint-conversion] 534 | put_client(S_MESSAGE,":%s",msg); | ^~~ onew.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | ONEW_MESSAGE(so,form,a,b,c,d) | ^ onew.c:537:1: warning: non-void function does not return a value [-Wreturn-type] 537 | } | ^ onew.c:540:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 540 | Tgetnum(id) | ^ | int onew.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onew.c:550:16: warning: parameter 'av' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 550 | onew_on_via(ac,av){ return ac; } | ^ onew.c:550:13: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 550 | onew_on_via(ac,av){ return ac; } | ^ onew.c:550:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 550 | onew_on_via(ac,av){ return ac; } | ^ | int onew.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] onew.c:551:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 551 | GetChar1(){ | ^ | int onew.c:554:7: warning: call to undeclared function 'Onew_getchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | ch = Onew_getchar(0,0); | ^ onew.c:557:16: warning: parameter 'out' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 557 | send_to_client(out){ | ^ onew.c:557:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 557 | send_to_client(out){ | ^ | int onew.c:558:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 558 | printf("%s",out); | ~~ ^~~ | %d onew.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | send_to_client(out){ | ^ onew.c:560:1: warning: non-void function does not return a value [-Wreturn-type] 560 | } | ^ 167 warnings generated. cc -o onew onew.o sys/hpux.o libonew.a -L/usr/local/lib -lcanna -L/usr/local/lib -ljd ld: warning: onewmisc.c(onewmisc.o:(Onew_env_substitute) in archive libonew.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: onewmisc.c(onewmisc.o:(strMAPset) in archive libonew.a): warning: sprintf() is often misused, please use snprintf() ld: warning: wnnerrmsg.c(wnnerrmsg.o:(wnn_perror_lang) in archive /usr/local/lib/libjd.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: jl.c(jl.o:(create_pwd_file) in archive /usr/local/lib/libjd.a): warning: random() may return deterministic values, is that what you want? >>> Running package in japanese/onew,canna,wnn4 at 1764614718.37 ===> japanese/onew,canna,wnn4 ===> Faking installation for ja-onew-wnn4-canna-2.2.10p5 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/bin/install -c -m 644 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/onew/libonew.a /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/fake-amd64-wnn4-canna/usr/local/lib/libonew-wnn4-canna.a /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/bin/install -d -m 755 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/fake-amd64-wnn4-canna/usr/local/share/doc/ja-onew-wnn4-canna /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/bin/install -c -m 644 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/onew/README.ONEW /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4-canna/fake-amd64-wnn4-canna/usr/local/share/doc/ja-onew-wnn4-canna ===> Building package for ja-onew-wnn4-canna-2.2.10p5 Create /exopi-cvs/ports/packages/amd64/all/ja-onew-wnn4-canna-2.2.10p5.tgz Creating package ja-onew-wnn4-canna-2.2.10p5 reading plist| checking dependencies| checking dependencies|japanese/canna,-main checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********************************************************* | 90% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ja-onew-wnn4-canna-2.2.10p5.tgz >>> Running clean in japanese/onew,canna,wnn4 at 1764614723.26 ===> japanese/onew,canna,wnn4 ===> Cleaning for ja-onew-wnn4-canna-2.2.10p5 >>> Ended at 1764614724.73 max_stuck=4.77/depends=6.33/show-prepare-results=1.63/build=16.11/package=4.88/clean=1.60