>>> Building on exopi-5 under japanese/onew,wnn4 BDEPENDS = [japanese/Wnn] DIST = [japanese/onew,canna:jvim2.0r+onew2.2.10.tar.gz] FULLPKGNAME = ja-onew-wnn4-2.2.10p4 (Junk lock obtained for exopi-5 at 1713354264.24) >>> Running depends in japanese/onew,wnn4 at 1713354264.30 last junk was in audio/libbs2b /usr/sbin/pkg_add -aI -Drepair ja-Wnn-4.2p17 was: /usr/sbin/pkg_add -aI -Drepair ja-Wnn-4.2p17 /usr/sbin/pkg_add -aI -Drepair ja-Wnn-4.2p17 >>> Running show-prepare-results in japanese/onew,wnn4 at 1713354266.56 ===> japanese/onew,wnn4 ===> Building from scratch ja-onew-wnn4-2.2.10p4 ===> ja-onew-wnn4-2.2.10p4 depends on: ja-Wnn-* -> ja-Wnn-4.2p17 ja-Wnn-4.2p17 (Junk lock released for exopi-5 at 1713354267.80) distfiles size=569300 >>> Running build in japanese/onew,wnn4 at 1713354268.04 ===> japanese/onew,wnn4 ===> Checking files for ja-onew-wnn4-2.2.10p4 `/exopi-cvs/ports/distfiles/jvim2.0r+onew2.2.10.tar.gz' is up to date. >> (SHA256) jvim2.0r+onew2.2.10.tar.gz: OK ===> Extracting for ja-onew-wnn4-2.2.10p4 ===> Patching for ja-onew-wnn4-2.2.10p4 ===> 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: -------------------------- |--- sys/sys.h.orig Fri Jun 30 06:56:38 1995 |+++ sys/sys.h Sun Dec 8 15:57:59 2013 -------------------------- 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 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/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-2.2.10p4 ===> Configuring for ja-onew-wnn4-2.2.10p4 ===> Building for ja-onew-wnn4-2.2.10p4 ./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] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:29: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:27: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:25: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:23: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:21: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:12:19: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiTrace(prim,fmt,a,b,c,d,e,f,g) ^ oui.c:18:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( logf = getenv("ONEW_UIFLOG") ) ^ oui.c:18:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( logf = getenv("ONEW_UIFLOG") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ oui.c:18:12: note: place parentheses around the assignment to silence this warning if( logf = getenv("ONEW_UIFLOG") ) ^ ( ) oui.c:18:12: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] ouiGETCHAR() ^ int oui.c:35:22: warning: too few arguments in call to 'ouiTrace' 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] ch = ONEW_GETCHAR(); ^ oui.c:37:30: warning: too few arguments in call to 'ouiTrace' 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] ouiPEEKCHAR(msecp) ^ int oui.c:45:23: warning: too few arguments in call to 'ouiTrace' 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] ch = ONEW_PEEKCHAR(msecp); ^ oui.c:48:32: warning: too few arguments in call to 'ouiTrace' 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 C2x [-Wdeprecated-non-prototype] 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] ouiGOT_2BCHAR(buf,hi,lo) ^ oui.c:51:19: warning: parameter 'hi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiGOT_2BCHAR(buf,hi,lo) ^ oui.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiGOT_2BCHAR(buf,hi,lo) ^ int oui.c:54:25: warning: too few arguments in call to 'ouiTrace' 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiDISP_ROMKANMODE(mode,help,modeflags) ^ oui.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiDISP_ROMKANMODE(mode,help,modeflags) ^ int oui.c:60:56: warning: too few arguments in call to 'ouiTrace' 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiDISP_KANAHALVES(str) ^ int oui.c:66:39: warning: too few arguments in call to 'ouiTrace' ouiTrace("DISP_KANAHALVES","(%s)",str); ~~~~~~~~ ^ oui.c:66:36: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiKANAKAN(kkchar) ^ oui.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiKANAKAN(kkchar) ^ int oui.c:71:32: warning: too few arguments in call to 'ouiTrace' 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiDISP_KANAKANB(so,left,cur,right) ^ oui.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiDISP_KANAKANB(so,left,cur,right) ^ int oui.c:77:34: warning: too few arguments in call to 'ouiTrace' 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiKAKUTEI(kakutei_start_char) ^ oui.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiKAKUTEI(kakutei_start_char) ^ int oui.c:82:44: warning: too few arguments in call to 'ouiTrace' 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] 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 C2x [-Wdeprecated-non-prototype] 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] ouiBEEP(waitsec) ^ oui.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiBEEP(waitsec) ^ int oui.c:91:19: warning: too few arguments in call to 'ouiTrace' 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] 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 C2x [-Wdeprecated-non-prototype] ouiBEEP(waitsec) ^ oui.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] cols = ONEW_MESSAGE_COLS(); ^ oui.c:98:35: warning: too few arguments in call to 'ouiTrace' 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] ouiMESSAGE(so,fmt,a,b,c,d,e,f,g) ^ oui.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ouiMESSAGE(so,fmt,a,b,c,d,e,f,g) ^ int oui.c:107:31: warning: too few arguments in call to 'ouiTrace' ouiTrace("MESSAGE","<%s>",msg); ~~~~~~~~ ^ oui.c:107:28: warning: incompatible pointer to integer conversion passing 'char[512]' to parameter of type 'int' [-Wint-conversion] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_disp_kanahalf(ch) ^ oui.c:115:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_disp_kanahalf(ch) ^ oui.c:121:1: warning: non-void function does not return a value [-Wreturn-type] } ^ oui.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] oui.c:128:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_putmsg_sys(so,fmt,a,b,c,d,e,f,g) ^ ouimessage.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ ouimessage.c:60:20: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_putmsg_retain(so,fmt,a,b,c,d,e,f,g) ^ ouimessage.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ ouimessage.c:67:15: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_putmodef(mode,fmt,a,b,c,d,e,f,g) ^ ouimessage.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ ouimessage.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] ouimessage.c:84:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ouimessage.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_popmode() ^ int ouimessage.c:89:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ouimessage.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] ouimessage.c:95:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ouimessage.c:96:13: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_putmsg(so,F,a,b,c,d,e,f,g) ^ ouimessage.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] ONEW_BEEP(second) ^ BEEP.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] ONEW_BEEP(second) ^ BEEP.c:10:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] ONEW_GOT_2BCHAR(buf,hi,lo) ^ 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] ONEW_GOT_2BCHAR(buf,hi,lo) ^ GOT_2BCHAR.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] GOT_2BCHAR.c:10:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_getchar(freqsave_delay,autosave_delay,autosave_func) ^ 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] Onew_getchar(freqsave_delay,autosave_delay,autosave_func) ^ getchar.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void (*signal())(); ^ /usr/include/sys/signal.h:199:8: note: conflicting prototype is here void (*signal(int, void (*)(int)))(int); ^ getchar.c:23:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ch = setjmp(getch_env) ){ ~~~^~~~~~~~~~~~~~~~~~~ getchar.c:23:9: note: place parentheses around the assignment to silence this warning if( ch = setjmp(getch_env) ){ ^ ( ) getchar.c:23:9: note: use '==' to turn this assignment into an equality comparison if( ch = setjmp(getch_env) ){ ^ == getchar.c:33:6: warning: call to undeclared function 'Onew_inready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] term = (char*)getenv("TERM"); ^ termcap.c:14:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] term = (char*)getenv("TERM"); ^~~~~~~~~~~~~~~~~~~~~ termcap.c:17:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] 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] return (char*)tgetstr(cap,&p); ^ termcap.c:30:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] return (char*)tgetstr(cap,&p); ^~~~~~~~~~~~~~~~~~~~~~ termcap.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] static PUTC(ch) ^ termcap.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] termcap.c:48:1: warning: non-void function does not return a value [-Wreturn-type] } ^ termcap.c:49:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_tputs(cap,fp) ^ termcap.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] static pushQ(ch) ^ getincode.c:16:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] getincode.c:19:1: warning: non-void function does not return a value [-Wreturn-type] } ^ getincode.c:20:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] static PEEKCHAR(msecp,msec) ^ getincode.c:26:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] sleep(1); ^ getincode.c:55:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] OnewPeekchar(timeout){ ^ getincode.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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] 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] 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] 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] 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] OM_get_thruchar( real_thru ) ^ getincode.c:136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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] case 'k': katakana_toggle(); break; ^ switcher.c:26:4: warning: '/*' within block comment [-Wcomment] /* 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] 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] 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] 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] case 's': switch_kkserv(); break; ^ switcher.c:41:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] Onew_THRUSYMS(syms) ^ thruchar.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_THRUSYMS(syms) ^ thruchar.c:14:1: warning: non-void function does not return a value [-Wreturn-type] } ^ thruchar.c:16:13: warning: parameter 'sym' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_isTHRU(sym) ^ thruchar.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] sym_thru_toggle(); ^ thruchar.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:15:61: warning: parameter 'kouhon' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:15:37: warning: parameter 'bunsetun' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:15:22: warning: parameter 'comch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:15:18: warning: parameter 'ctx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakancom( ctx,comch,bunsetux,bunsetun, kouhof,kouhox,kouhon,alts ) ^ kanakan.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) ^ selector.c:10:55: warning: parameter 'nkouho' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) ^ selector.c:10:51: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) ^ selector.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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] 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] ncom = OnewThruGetchar(); ^ selector.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( selch = (char*)strchr(LABEL,ncom) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ selector.c:51:13: note: place parentheses around the assignment to silence this warning if( selch = (char*)strchr(LABEL,ncom) ){ ^ ( ) selector.c:51:13: note: use '==' to turn this assignment into an equality comparison if( selch = (char*)strchr(LABEL,ncom) ){ ^ == selector.c:53:15: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] selected = (int)selch-(int)LABEL + from; ^~~~~~~~~~ selector.c:53:26: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 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] 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] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] Onew_list_sentaku(label_func,error_func,get_kdata,arg,nkouho,blk,fromp) ^ cc -c -O2 -pipe -I.. jisyo.c 18 warnings generated. jisyo.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] ouiBEEP(2); ^ jisyo.c:37:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] odmJisyo_massyou(); ^ jisyo.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] oeiJisyoTouroku(0,0,ONEW_CurrentYomi,ONEW_CurrentKanji); ^ jisyo.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jisyo.c:71:6: warning: call to undeclared function 'oeiJisyoHinshi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] 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] 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] 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] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *strpbrk(); ^ onewdic.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_addword(dic,word) ^ int onewdic.c:51:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(word,"\n\r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ onewdic.c:51:9: note: place parentheses around the assignment to silence this warning if( np = strpbrk(word,"\n\r") ){ ^ ( ) onewdic.c:51:9: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] static Word *nth_wp(nth,wppp) ^ onewdic.c:85:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] static word_sort(nth,inc) ^ onewdic.c:103:18: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static word_sort(nth,inc) ^ onewdic.c:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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] static char *nth_str(nth) ^ onewdic.c:132:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] static char *get_nth_word(_,nth,str,len) ^ onewdic.c:140:29: warning: parameter 'nth' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static char *get_nth_word(_,nth,str,len) ^ onewdic.c:140:27: warning: parameter '_' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static char *get_nth_word(_,nth,str,len) ^ onewdic.c:144:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( wstr = nth_str(nth) ){ ~~~~~^~~~~~~~~~~~~~ onewdic.c:144:11: note: place parentheses around the assignment to silence this warning if( wstr = nth_str(nth) ){ ^ ( ) onewdic.c:144:11: note: use '==' to turn this assignment into an equality comparison if( wstr = nth_str(nth) ){ ^ == onewdic.c:140:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] static word_label(label,from,to,max) ^ onewdic.c:149:30: warning: parameter 'to' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static word_label(label,from,to,max) ^ onewdic.c:149:25: warning: parameter 'from' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static word_label(label,from,to,max) ^ onewdic.c:149:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewdic.c:153:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:154:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static word_error(){ ~~~~~~ ^ int onewdic.c:155:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:167:3: warning: call to undeclared function 'Onew_enqstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] ONEWkanakan_ready(){ ^ onewdic.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_freqsave() ^ onewdic.c:192:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:194:31: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_kouho(ctx,i,kouho,size) ^ onewdic.c:194:23: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_kouho(ctx,i,kouho,size) ^ onewdic.c:194:19: warning: parameter 'ctx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_kouho(ctx,i,kouho,size) ^ onewdic.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ONEWkanakan_kouho(ctx,i,kouho,size) ^ onewdic.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan() ^ onewdic.c:202:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWbunsetu_next() ^ onewdic.c:206:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWbunsetu_expand() ^ onewdic.c:210:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWbunsetu_shrink() ^ onewdic.c:214:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWjisyo_touroku() ^ onewdic.c:218:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewdic.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWjisyo_hinshi() ^ onewdic.c:222:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] static Uchar *nth_jiscode(arg,n,code) ^ jiscode.c:10:27: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static Uchar *nth_jiscode(arg,n,code) ^ jiscode.c:10:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] static ku_label(label,from,to,max) ^ jiscode.c:23:28: warning: parameter 'to' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ku_label(label,from,to,max) ^ jiscode.c:23:23: warning: parameter 'from' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ku_label(label,from,to,max) ^ jiscode.c:23:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] jiscode.c:32:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jiscode.c:33:17: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] OnewGetchar(); ^ jiscode.c:33:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static ku_error(com){ ^ jiscode.c:37:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jiscode.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] static keisen_toggle_sw(ch) ^ keisen.c:34:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 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] 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] Onew_fd_input_ready( fd, wait_usec ) ^ select.c:35:22: warning: parameter 'fd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_fd_input_ready( fd, wait_usec ) ^ select.c:35:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] 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] 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] close(fd); ^ tty.c:33:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:70:16: warning: parameter 'on' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_ttyIcanon(on) ^ tty.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_ttyIcanon(on) ^ tty.c:90:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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 C2x [-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] 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 C2x [-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] 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] 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] 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] 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] 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] return oeiKanakanReady(); ^ onewlib.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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] if( LET_IT_THRU(ch) && !IS_NOINS_HENKANKEY(ch) ){ ^ onewlib.c:65:47: note: expanded from macro 'LET_IT_THRU' #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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] unsigned char ch; ^ onewlib.c:105:41: note: previous declaration is here static int definedKanamode(unsigned char); ^ onewlib.c:192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( func = KanamodeSw[ch] ) ~~~~~^~~~~~~~~~~~~~~~ onewlib.c:192:11: note: place parentheses around the assignment to silence this warning if( func = KanamodeSw[ch] ) ^ ( ) onewlib.c:192:11: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] Onew_defineKanamode(mode,ch,func) ^ onewlib.c:196:21: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_defineKanamode(mode,ch,func) ^ onewlib.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewlib.c:201:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] ins_zenkaku_char1(ch,kakutei) ^ onewlib.c:215:19: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ins_zenkaku_char1(ch,kakutei) ^ onewlib.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] ins_zenkaku_char1(ch,kakutei) ^ onewlib.c:226:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:228:20: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWromkan_zenkaku(ch,dst) ^ onewlib.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewlib.c:241:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ASCII_TO_JIS(asc,jis) ^ int onewlib.c:249:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( a = asc; ac = *a; a++ ){ ~~~^~~~ onewlib.c:249:19: note: place parentheses around the assignment to silence this warning for( a = asc; ac = *a; a++ ){ ^ ( ) onewlib.c:249:19: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] ASCII_TO_JIS(asc,jis) ^ onewlib.c:257:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_HENKANKEYS(syms) ^ onewlib.c:264:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:267:14: warning: parameter 'commandmode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_enqchar(ch){ ^ onewlib.c:279:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_enqstr(str) char *str; { ^ int onewlib.c:282:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(sp = str; ch = *sp; sp++) ~~~^~~~~ onewlib.c:282:19: note: place parentheses around the assignment to silence this warning for(sp = str; ch = *sp; sp++) ^ ( ) onewlib.c:282:19: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] Onew_enqstr(str) char *str; { ^ onewlib.c:284:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:286:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] kc = oeiRomkanNext(); ^ onewlib.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] if( env = getenv("ONEW_MSGHOLD") ) ^ onewlib.c:300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("ONEW_MSGHOLD") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:300:11: note: place parentheses around the assignment to silence this warning if( env = getenv("ONEW_MSGHOLD") ) ^ ( ) onewlib.c:300:11: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] if( env = getenv("ONEW_MAXWORDS") ) ^ onewlib.c:302:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("ONEW_MAXWORDS") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ onewlib.c:302:11: note: place parentheses around the assignment to silence this warning if( env = getenv("ONEW_MAXWORDS") ) ^ ( ) onewlib.c:302:11: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] keisen_init(); ^ onewlib.c:317:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] }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] 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] 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] if( in_kana_mode() ) ^ onewlib.c:407:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }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] 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] 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] 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] 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] 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] Onew_RK_imode_setv(imode) ^ onewlib.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewlib.c:450:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] Onew_RK_imode_set(imode) ^ onewlib.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] romkan_mode_switch(mode){ ^ onewlib.c:481:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:482:19: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-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] 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] oeiRomkanModesw(0); ^ onewlib.c:490:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] oeiRomkanModesw( ONEW_kanamode ^ NOTKANA ); ^ onewlib.c:498:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:500:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] sym_thru_toggle(){ ^ int onewlib.c:521:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:553:28: warning: parameter 'leng' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakan(com,str,start,leng) ^ onewlib.c:553:22: warning: parameter 'start' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakan(com,str,start,leng) ^ onewlib.c:553:14: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_kanakan(com,str,start,leng) ^ onewlib.c:553:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_kana_to_kanji(startcom,str) ^ onewlib.c:563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_kakutei(kc) /* invoked in Kana-Kanji translation */ ^ onewlib.c:628:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] static Onew_kakuteiInRomkan(kc) ^ onewlib.c:633:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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] 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] 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] Onew_dispKanakanBuf(so,left,cur,right) ^ onewlib.c:650:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_dispKanakanBuf(so,left,cur,right) ^ onewlib.c:662:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:664:19: warning: parameter 'com' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_setupYomistr(com,str,yomibuf) ^ onewlib.c:664:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_setupYomistr(com,str,yomibuf) ^ int onewlib.c:671:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = strlen(str) ){ ~~~~^~~~~~~~~~~~~ onewlib.c:671:10: note: place parentheses around the assignment to silence this warning if( len = strlen(str) ){ ^ ( ) onewlib.c:671:10: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] Onew_setupYomistr(com,str,yomibuf) ^ onewlib.c:676:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:678:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] oeiKanakanFreqsave(); ^ onewlib.c:680:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewlib.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] onewlib.c:686:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] Onew_inready( fp, wait_usec ) ^ onewlib.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] 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] kana_to_kanji(str,start,leng) ^ onewlib.c:744:19: warning: parameter 'start' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kana_to_kanji(str,start,leng) ^ onewlib.c:744:15: warning: parameter 'str' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kana_to_kanji(str,start,leng) ^ onewlib.c:744:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kana_to_kanji(str,start,leng) ^ int onewlib.c:746:44: warning: too many arguments in call to 'Onew_kana_to_kanji' 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ onewclient.c:54:25: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] onew_DBG = (int)getenv("DEBUG_onew"); ^ onewclient.c:59:13: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 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] system(command); ^ onewclient.c:68:30: warning: missing sentinel in function call [-Wsentinel] else execlp("onew","onew",0); ^ , NULL /usr/include/unistd.h:335:6: note: function has been explicitly marked sentinel here int execlp(const char *, const char *, ...) ^ onewclient.c:73:36: warning: too few arguments in call to 'dbg_printf' 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] 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] end_onew(){ ^ int onewclient.c:82:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewclient.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void (*signal())(); ^ /usr/include/sys/signal.h:199:8: note: conflicting prototype is here 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] Onew_message("Can't send to onew, DEAD?\n"); ^ onewclient.c:120:43: warning: too few arguments in call to 'dbg_printf' 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] get_onew(line,wait_msec) unsigned char *line; { ^ int onewclient.c:131:41: warning: too few arguments in call to 'dbg_printf' 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 C2x [-Wdeprecated-non-prototype] 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] onew_operator(ch,argp) ^ onewclient.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] onew_operator(ch,argp) ^ int onewclient.c:169:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Attr = ch & ONEW_VATTR_MASK ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ onewclient.c:169:11: note: place parentheses around the assignment to silence this warning if( Attr = ch & ONEW_VATTR_MASK ){ ^ ( ) onewclient.c:169:11: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] onew_character(ch,buf) ^ onewclient.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] putget_onew(inch,chis) ^ onewclient.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] putget_onew(inch,chis) ^ int onewclient.c:223:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( outx = 2; chi = msg[outx]; outx++ ){ ~~~~^~~~~~~~~~~ onewclient.c:223:22: note: place parentheses around the assignment to silence this warning for( outx = 2; chi = msg[outx]; outx++ ){ ^ ( ) onewclient.c:223:22: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] 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] onew_symASCII(){ ^ int onewclient.c:262:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] for(sp = src; ch = *sp; sp++ ){ ~~~^~~~~ onewcodes.c:87:19: note: place parentheses around the assignment to silence this warning for(sp = src; ch = *sp; sp++ ){ ^ ( ) onewcodes.c:87:19: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] ONEW_EUC_TO_JIS_FILE(fp,src) ^ onewcodes.c:95:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewcodes.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewcodes.c:105:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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 C2x [-Wdeprecated-non-prototype] if( body = getenv(name) ){ ^ onewmisc.c:27:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( body = getenv(name) ){ ~~~~~^~~~~~~~~~~~~~ onewmisc.c:27:13: note: place parentheses around the assignment to silence this warning if( body = getenv(name) ){ ^ ( ) onewmisc.c:27:13: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_fp_input_ready( fp, wait_usec ) ^ onewmisc.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] Onew_msleep(msec) ^ onewmisc.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] Onew_msleep(msec) ^ onewmisc.c:87:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:90:30: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:28: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:26: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:24: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:22: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:20: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:18: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_message(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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] } ^ onewmisc.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewmisc.c:101:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:105:29: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:27: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:25: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:23: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:21: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:19: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:105:17: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Onew_dbglog(fmt,a,b,c,d,e,f,g) ^ onewmisc.c:112:23: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] 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] 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 C2x [-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] 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] 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 C2x [-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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] strQdeq(Q) ^ int onewmisc.c:180:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( c = Q[0] ){ ~~^~~~~~ onewmisc.c:180:8: note: place parentheses around the assignment to silence this warning if( c = Q[0] ){ ^ ( ) onewmisc.c:180:8: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] strQdeq(Q) ^ onewmisc.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] onewmisc.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] if( syms = getenv(envn) ){ ^ onewmisc.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( syms = getenv(envn) ){ ~~~~~^~~~~~~~~~~~~~ onewmisc.c:204:12: note: place parentheses around the assignment to silence this warning if( syms = getenv(envn) ){ ^ ( ) onewmisc.c:204:12: note: use '==' to turn this assignment into an equality comparison 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] 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] 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 C2x [-Wdeprecated-non-prototype] strMAPset(syms,syma,envn,defv,flag) ^ onewmisc.c:222:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onewmisc.c:223:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] if( (engine = getenv("ONEW_ENGINE")) == 0 ) ^ conf.c:58:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 1; name = Engines[ei].name; ei++ ){ ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:58:20: note: place parentheses around the assignment to silence this warning for( ei = 1; name = Engines[ei].name; ei++ ){ ^ ( ) conf.c:58:20: note: use '==' to turn this assignment into an equality comparison 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] for( ei = 1; name = Engines[ei].name; ei++ ){ ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:65:20: note: place parentheses around the assignment to silence this warning for( ei = 1; name = Engines[ei].name; ei++ ){ ^ ( ) conf.c:65:20: note: use '==' to turn this assignment into an equality comparison for( ei = 1; name = Engines[ei].name; ei++ ){ ^ == conf.c:75:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] ONEW_SHOWDIC |= getenv("ONEW_SHOWDIC") != 0; ^ conf.c:101:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else for( ei = 1; name = Engines[ei].name; ei++ ) ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:101:25: note: place parentheses around the assignment to silence this warning else for( ei = 1; name = Engines[ei].name; ei++ ) ^ ( ) conf.c:101:25: note: use '==' to turn this assignment into an equality comparison 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] else for( ei = 1; name = Engines[ei].name; ei++ ) ~~~~~^~~~~~~~~~~~~~~~~~ conf.c:116:25: note: place parentheses around the assignment to silence this warning else for( ei = 1; name = Engines[ei].name; ei++ ) ^ ( ) conf.c:116:25: note: use '==' to turn this assignment into an equality comparison 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] if( romkan = next_romkan() ){ ~~~~~~~^~~~~~~~~~~~~~~ conf.c:135:13: note: place parentheses around the assignment to silence this warning if( romkan = next_romkan() ){ ^ ( ) conf.c:135:13: note: use '==' to turn this assignment into an equality comparison 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] 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] 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] if( kanakan = next_kanakan() ){ ~~~~~~~~^~~~~~~~~~~~~~~~ conf.c:151:14: note: place parentheses around the assignment to silence this warning if( kanakan = next_kanakan() ){ ^ ( ) conf.c:151:14: note: use '==' to turn this assignment into an equality comparison 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] 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] 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] Onew_putmode(mode,ONEW_menu_kanakan); ^ conf.c:164:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:166:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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] } ^ conf.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] if( Onew_rktab(path) ) ^ conf.c:187:1: warning: non-void function does not return a value [-Wreturn-type] } ^ conf.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] return oeiKanakanReady(); ^ conf.c:257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] oeiRomkanReady(rkp)char *rkp; { return ONEWromkan_ready(rkp); } ^ conf.c:224:52: note: expanded from macro 'ONEWromkan_ready' #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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] oeiRomkanModesw(m) char *m; { return ONEWromkan_modesw(m); } ^ conf.c:225:53: note: expanded from macro 'ONEWromkan_modesw' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] oeiRomkanGotch(ch) { return ONEWromkan_gotch(ch); } ^ conf.c:230:49: note: expanded from macro 'ONEWromkan_gotch' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] oeiKanakan(c,y) char *y; { return ONEWkanakan(c,y); } ^ conf.c:235:47: note: expanded from macro 'ONEWkanakan' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] oeiBunsetu_shrink(x,k,b)char*k; { return ONEWbunsetu_shrink(x,k,b); } ^ conf.c:240:54: note: expanded from macro 'ONEWbunsetu_shrink' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] oeiBunsetu_expand(x,k,b)char*k; { return ONEWbunsetu_expand(x,k,b); } ^ conf.c:239:54: note: expanded from macro 'ONEWbunsetu_expand' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] oeiBunsetu_next(x,bi,n) { return ONEWbunsetu_next(x,bi,n); } ^ conf.c:238:54: note: expanded from macro 'ONEWbunsetu_next' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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' #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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] oeiJisyoHinshi(h) char *h; { return ONEWjisyo_hinshi(h); } ^ conf.c:242:50: note: expanded from macro 'ONEWjisyo_hinshi' #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 C2x [-Wdeprecated-non-prototype] 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] "^@(control+@)ǥѴ(romkan)ϣ"; ^~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:10:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:romkan-ϣƣ ^K:/ ^L:/ Z: ^V:a ^G: SPACE:Ѵ RET:"; ^~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:13:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "1ʸ̵ѴϤޤcontrol-ϣ"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ onew_euc.c:16:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:Ʃ⡼ON¾:1ʸƩᵭ潸 ɲ/"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:19:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "^@:Ʃ⡼OFF ¾:1ʸƩᵭ潸 ɲ/"; ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:22:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "RETURN:꽪λ%c=%sƩᵭ=[%s]"; ^~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ onew_euc.c:25:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸʸȤ (ʣʸϤ^L)"; ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:28:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[] ^N(SPACE),^P: n,p: N,P:10 {Ƥ}"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ onew_euc.c:31:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[r]"; ^~~~~~~~ onew_euc.c:34:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "[]"; ^~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:37:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʸ{^F,^B:, ^O,^I:,̾} {^N,^P: ^G:} RET:"; ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ onew_euc.c:39:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_Cromhira = "[r]"; ^~~~~~~~ onew_euc.c:40:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_Cromkata = "[r]"; ^~~~~~~~ onew_euc.c:41:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_CromhiraNN = "[n]"; ^~~~~~~~ onew_euc.c:42:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_CromkataNN = "[n]"; ^~~~~~~~ onew_euc.c:44:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_romzen = "[ ]"; ^~~~~~~~ onew_euc.c:45:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_2Bchar = "[#1]"; ^~~~~~~~ onew_euc.c:46:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_kuten = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:47:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_kanakan = "[%s]"; ^~~~~~~~ onew_euc.c:48:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_ichiran = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:49:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_sentaku = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:51:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_modeswitch = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:53:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "a=ɲ k:{/} n:{n'/nn} -:{/=} r:{roma} s:{ʴ}"; ^~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ onew_euc.c:56:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʴѴФ %s(%s) ڤؤޤ"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:59:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ѵ %s(%s) ڤؤޤ"; ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:64:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_jisyo = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:65:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_menu_jisyo = "a:Ͽ d: ESC:䡼ä"; ^~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~ ~~~~ onew_euc.c:67:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_touroku_yomi = "[ɤ]"; ^~~~ ~~~~ onew_euc.c:68:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_touroku_kanji = "[֤]"; ^~~~~~~~ onew_euc.c:69:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_hinshi = "[ʻ]"; ^~~~ ~~~~ onew_euc.c:71:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ʻꤷƤ {SPACE: b: RETURN: ESC:Ȥ}"; ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:72:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuOK = "Ͽޤ(^_^)"; ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:73:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuERROR = "ϿǤޤǤ(;_;)?"; ^~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:74:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_tourokuABORT = "ϿȤޤ"; ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:75:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_mode_massyou = "[]"; ^~~~~~~~~~~~~~~~ onew_euc.c:76:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_menu_massyou = "äޤ {y: n:ʤ}"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ onew_euc.c:77:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char *ONEW_msg_massyouOK = "ޤ(^_^)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:83:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ĶѿWnnrkǥ쥯ȥꤷƲ ;-<"; ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~ onew_euc.c:86:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "³... :-)"; ^~~~~~~~~~~~~~~~ ~~~~~~~~ onew_euc.c:89:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "³Ǥޤ;-<"; ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:92:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ޤ;-<"; ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:95:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "پ
¸Ǥޤ ;-<"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:98:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ϡޤݡȤƤޤ(^_^;)"; ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:101:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ǥޤ ;-<"; ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ onew_euc.c:104:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_NU[] = ""; ^~~~~~~~ onew_euc.c:105:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_NA[] = ""; ^~~~~~~~ onew_euc.c:106:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_K_A[] = ""; ^~~~~~~~ onew_euc.c:107:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_KK_WNN[] = ""; ^~~~~~~~ onew_euc.c:108:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char ONEW_KK_CANNA[] = ""; ^~~~~~~~ onew_euc.c:112:1: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ɡǡʡˡܡݡ䡩\ ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 warnings generated. cc -c -O2 -pipe 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/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] { (char*)29, "ͭ̾" }, ^~~~~~~~~~~~~~~~ ./Wnn_euc.h:3:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { (char*)18, "̾" }, ^~~~~~~~~~~~~~~~~~~~~~~~ ./Wnn_euc.h:4:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { (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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *strtok(); ^ Wnn.c:37:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] onew_notify_kkinit("%s ** JSERVER(%s)",VERSION,jshost); ^ Wnn.c:24:17: note: expanded from macro 'VERSION' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] ONEW_BEEP(2); ^ Wnn.c:102:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( diclisti = 0; dl = WNN_DICLISTP[diclisti]; diclisti++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:102:24: note: place parentheses around the assignment to silence this warning for( diclisti = 0; dl = WNN_DICLISTP[diclisti]; diclisti++ ){ ^ ( ) Wnn.c:102:24: note: use '==' to turn this assignment into an equality comparison 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] static ONEWopen_dic(dicname,pri) ^ Wnn.c:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] if( jd_dicadd(dicname,"",pri,0) != -1 ) ^ Wnn.c:135:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(dicformi=0; dicf = WNN_DICDIRSP[dicformi]; dicformi++){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:135:23: note: place parentheses around the assignment to silence this warning for(dicformi=0; dicf = WNN_DICDIRSP[dicformi]; dicformi++){ ^ ( ) Wnn.c:135:23: note: use '==' to turn this assignment into an equality comparison 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] if( env = getenv("ONEW_WNN_EVF") ) ^ Wnn.c:166:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("ONEW_WNN_EVF") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:166:10: note: place parentheses around the assignment to silence this warning if( env = getenv("ONEW_WNN_EVF") ) ^ ( ) Wnn.c:166:10: note: use '==' to turn this assignment into an equality comparison 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] if( jd_getevf(&n,&w0,&w1,&w2,&w3,&w4) == 0 ){ ^ Wnn.c:168:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 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] 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] 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] } ^ Wnn.c:175:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] static ONEWkanakan(com,str) ^ Wnn.c:179:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] ONEW_BEEP(2); ^ Wnn.c:221:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:226:16: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] YomiString(BjX,i,out) ^ Wnn.c:226:12: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] YomiString(BjX,i,out) ^ Wnn.c:232:15: warning: passing arguments to 'ToLocalString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] YomiString(BjX,i,out) ^ Wnn.c:233:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:236:20: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BunsetsuString(BjX,i,out) ^ Wnn.c:236:16: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BunsetsuString(BjX,i,out) ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] static disp_kanji_buf(BjX,cur_bi,so) ^ 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] static disp_kanji_buf(BjX,cur_bi,so) ^ Wnn.c:249:23: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static disp_kanji_buf(BjX,cur_bi,so) ^ Wnn.c:249:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] static disp_kanji_buf(BjX,cur_bi,so) ^ Wnn.c:266:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:270:32: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_kouho(alts,i,kouho,len) ^ Wnn.c:270:24: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWkanakan_kouho(alts,i,kouho,len) ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] ONEWbunsetu_next(BjX,index,inc) ^ Wnn.c:281:22: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWbunsetu_next(BjX,index,inc) ^ Wnn.c:281:18: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEWbunsetu_next(BjX,index,inc) ^ Wnn.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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] STATIC kana_cands(BjX) ^ Wnn.c:310:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] &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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] static ONEWbunsetu_expand(BjX,i) ^ Wnn.c:392:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ONEWbunsetu_expand(BjX,i) ^ Wnn.c:392:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] static ONEWbunsetu_expand(BjX,i) ^ Wnn.c:406:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:407:31: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ONEWbunsetu_shrink(BjX,i) ^ Wnn.c:407:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ONEWbunsetu_shrink(BjX,i) ^ Wnn.c:407:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] static ONEWbunsetu_shrink(BjX,i) ^ Wnn.c:418:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:420:31: warning: parameter 'dbunsetu' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ONEWbunsetu_delete(BjX,dbunsetu) ^ Wnn.c:420:27: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static ONEWbunsetu_delete(BjX,dbunsetu) ^ Wnn.c:420:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] Wnn.c:439:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:442:17: warning: parameter 'BjX' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static add_alts(BjX,alts) ^ Wnn.c:442:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ToLocalString(exp,kbp,wchar_strlen(kbp)); ^ Wnn.c:455:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(command,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~ Wnn.c:455:9: note: place parentheses around the assignment to silence this warning if( fp = popen(command,"r") ){ ^ ( ) Wnn.c:455:9: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] static add_alts(BjX,alts) ^ Wnn.c:462:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:463:32: warning: parameter 'alts' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] static ONEWexternal_henkan(BjX,alts){ ^ Wnn.c:465:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:468:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static wchar_strcpy(dst,src) ~~~~~~ ^ int Wnn.c:474:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( *d++ = *s++ ); ~~~~~^~~~~~ Wnn.c:474:14: note: place parentheses around the assignment to silence this warning while( *d++ = *s++ ); ^ ( ) Wnn.c:474:14: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static wchar_strcpy(), wchar_strlen(); ^ Wnn.c:475:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Wnn.c:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] static get_dicno(name,dicno) ^ Wnn.c:486:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] ndic = jd_dicinfo(dicinfo,64,dicnames,4096); ^ Wnn.c:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dname = (char*)strrchr(di->file_name,'/') ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wnn.c:497:13: note: place parentheses around the assignment to silence this warning if( dname = (char*)strrchr(di->file_name,'/') ) ^ ( ) Wnn.c:497:13: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] }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 C2x [-Wdeprecated-non-prototype] 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] static ONEWjisyo_touroku(touroku,hinshi,eyomi,ekanji) ^ Wnn.c:534:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] }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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-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] ToLocalString(dst,src,wlen) ^ Wnn.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] Wnn.c:621:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] return (char*)romkan_dispmode(); ^ WnnRomkan.c:104:9: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static ONEWromkan_modesw(); ^ 29 warnings generated. ar rc libengine.a Wnn.o WnnRomkan.o cp libonewk.a libonew.a (cd engine; ar r ../libonew.a 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 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] static clear_bufs(){ ~~~~~~ ^ int onew.c:48:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:53:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] onew.c:78:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:80:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(ac,av) ^ onew.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] if( debug = getenv("DEBUG_onew") ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ onew.c:117:12: note: place parentheses around the assignment to silence this warning if( debug = getenv("DEBUG_onew") ) ^ ( ) onew.c:117:12: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] }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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] Onew_fprintf(stderr,"ONEW-COMMAND> "); ^ onew.c:172:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:40: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:38: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:36: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:34: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:32: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static put_client(command,form,a,b,c,d,e,f) ^ onew.c:221:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] ASCII_TO_JIS(op,tmp); ^ onew.c:249:56: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stderr,"%s: %-10s %8x %8x ",command,form,a,b,c,d,e,f); ~~~~~~~~~~~~~~~~~~~~ ^ onew.c:250:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch1 = out[ci]; ci++ ){ ~~~~^~~~~~~~~ onew.c:250:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch1 = out[ci]; ci++ ){ ^ ( ) onew.c:250:20: note: use '==' to turn this assignment into an equality comparison 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static put_client(); ^ onew.c:260:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:261:19: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-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] static charlen(str) ~~~~~~ ^ int onew.c:273:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; ch = str[i]; i++ ){ ~~~^~~~~~~~ onew.c:273:17: note: place parentheses around the assignment to silence this warning for( i = 0; ch = str[i]; i++ ){ ^ ( ) onew.c:273:17: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] }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] Onew_fprintf(stderr,"\r"); ^ onew.c:330:39: warning: too few arguments in call to 'put_client' strlen(onew_buf),charlen(onew_buf)); ^ onew.c:331:34: warning: too few arguments in call to 'put_client' 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] 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] 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] 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] 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] 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] 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] ONEW_KANAKAN(ch){ ^ int onew.c:375:39: warning: too few arguments in call to 'put_client' 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] com = Onew_kanakan(ch,onew_buf,0,idbx); ^ onew.c:384:35: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:385:38: warning: too few arguments in call to 'put_client' 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] put_client(S_INPUT,"%s",onew_out); ^~~~~~~~ onew.c:386:35: warning: too few arguments in call to 'put_client' 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] na = Onew_non_ascii(onew_buf) || Onew_non_ascii(onew_out); ^ onew.c:414:26: warning: too few arguments in call to 'put_client' 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] ONEW_DISP_KANAHALF(ch){ ^ int onew.c:433:30: warning: too few arguments in call to 'put_client' 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] put_client(S_INPUT,"%s",""); ^~ onew.c:435:46: warning: too few arguments in call to 'put_client' put_client(S_INPUT,"%c%c",0x80|'#',0x80|ch); ~~~~~~~~~~ ^ onew.c:436:35: warning: too few arguments in call to 'put_client' 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 C2x [-Wdeprecated-non-prototype] ONEW_DISP_KANAHALF(ch){ ^ onew.c:444:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_is_sock(){ ^ int onew.c:452:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:454:20: warning: parameter 'so' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEW_DISP_KANAKANB(so,left,current,right) ^ onew.c:454:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEW_DISP_KANAKANB(so,left,current,right) ^ int onew.c:463:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:464:32: warning: too few arguments in call to 'put_client' 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] put_client(S_INPUT,"%s",left); ^~~~ onew.c:465:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","-U"); ^~~~ onew.c:468:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","+R"); ^~~~ onew.c:469:35: warning: too few arguments in call to 'put_client' 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] put_client(S_INPUT,"%s",current); ^~~~~~~ onew.c:470:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","-R"); ^~~~ onew.c:473:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","+U"); ^~~~ onew.c:474:33: warning: too few arguments in call to 'put_client' 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] put_client(S_INPUT,"%s",right); ^~~~~ onew.c:475:33: warning: too few arguments in call to 'put_client' 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] put_client(S_CHATTR,"%s","-U"); ^~~~ onew.c:477:42: warning: too few arguments in call to 'put_client' put_client(S_DELETE,"%d %d",bytes,chars); ~~~~~~~~~~ ^ onew.c:479:41: warning: too few arguments in call to 'put_client' 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] ONEW_DISP_KANAKANB(so,left,current,right) ^ onew.c:490:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:491:11: warning: parameter 'nsec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] ONEW_BEEP(nsec){ ^ onew.c:494:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:497:34: warning: parameter 'modef' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ONEW_DISP_ROMKANMODE(cmode,chelp,modef) ^ onew.c:505:46: warning: call to undeclared function 'Onew_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ^ onew.c:505:60: warning: too few arguments in call to 'put_client' 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] 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] put_client(S_RKSTAT,"%s %s %s",cmode,chelp,Onew_version()); ^~~~~ onew.c:506:49: warning: too few arguments in call to 'put_client' 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] ONEW_MESSAGE(so,form,a,b,c,d) ^ onew.c:516:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] Onew_fprintf(stderr,"Hit ESC to quit.\n"); ^ onew.c:534:33: warning: too few arguments in call to 'put_client' 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] 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 C2x [-Wdeprecated-non-prototype] ONEW_MESSAGE(so,form,a,b,c,d) ^ onew.c:537:1: warning: non-void function does not return a value [-Wreturn-type] } ^ onew.c:540:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-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] 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] 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] 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 C2x [-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] 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] 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] 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] send_to_client(out){ ^ int onew.c:558:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] send_to_client(out){ ^ onew.c:560:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 167 warnings generated. cc -o onew onew.o sys/hpux.o libonew.a -L/usr/local/lib -ljd onew.c(onew.o:(ONEW_KANAKAN)): warning: strcpy() is almost always misused, please use strlcpy() onew.c(onew.o:(ONEW_DISP_KANAKANB)): warning: sprintf() is often misused, please use snprintf() conf.c(conf.o:(onew_notify_kkinit) in archive libonew.a): warning: strcat() is almost always misused, please use strlcat() 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,wnn4 at 1713354275.76 ===> japanese/onew,wnn4 ===> Faking installation for ja-onew-wnn4-2.2.10p4 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/bin/install -c -m 644 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/onew/libonew.a /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/fake-amd64-wnn4/usr/local/lib/libonew-wnn4.a /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/bin/install -d -m 755 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/fake-amd64-wnn4/usr/local/share/doc/ja-onew-wnn4 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/bin/install -c -m 644 /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/onew/README.ONEW /exopi-obj/pobj/jvim2.0r+onew2.2.10-wnn4/fake-amd64-wnn4/usr/local/share/doc/ja-onew-wnn4 ===> Building package for ja-onew-wnn4-2.2.10p4 Create /exopi-cvs/ports/packages/amd64/all/ja-onew-wnn4-2.2.10p4.tgz Creating package ja-onew-wnn4-2.2.10p4 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 10% checksumming|************ | 20% checksumming|****************** | 30% checksumming|************************ | 40% checksumming|******************************* | 50% checksumming|************************************* | 60% checksumming|******************************************* | 70% checksumming|************************************************* | 80% checksumming|******************************************************* | 90% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********************************************************* | 89% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ja-onew-wnn4-2.2.10p4.tgz >>> Running clean in japanese/onew,wnn4 at 1713354276.97 ===> japanese/onew,wnn4 ===> Cleaning for ja-onew-wnn4-2.2.10p4 >>> Ended at 1713354277.27 max_stuck=2.10/depends=2.22/show-prepare-results=1.34/build=7.91/package=1.21/clean=0.34