=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/canna-server", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for Canna-server-3.7pl3nb1 --- all --- making all in ./canna... making all in ./lib/RK... --- tempdic.o --- --- permdic.o --- --- tempdic.o --- rm -f tempdic.o --- permdic.o --- rm -f permdic.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED permdic.c --- tempdic.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED tempdic.c --- permdic.o --- permdic.c:95:28: warning: passing arguments to '_RkCalcUnlog2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nd.pgsz = _RkCalcUnlog2(hd.data[HD_L2P].var) + 1; ^ permdic.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openDF(df, dfnm, w, gramoff, gramsz) ^ permdic.c:222:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_BB = RkGetGramNum(gram, "BB"); ^ permdic.c:223:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_NN = RkGetGramNum(gram, "NN"); ^ permdic.c:224:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_T00 = RkGetGramNum(gram, "T00"); ^ permdic.c:225:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_T30 = RkGetGramNum(gram, "T30"); ^ permdic.c:226:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_T35 = RkGetGramNum(gram, "T35"); ^ permdic.c:228:35: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_KJ = RkGetGramNum(gram, "KJ"); ^ permdic.c:230:36: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm->dm_gram->P_Ftte = RkGetGramNum(gram, "Ftte"); ^ permdic.c:234:18: warning: passing arguments to 'RkCloseGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCloseGram(gram); ^ permdic.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] _Rkpopen(dm, dfnm, mode, gram) ^ permdic.c:255:15: warning: passing arguments to '_RkKillCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkKillCache(dm); ^ permdic.c:259:24: warning: passing arguments to 'RkCloseGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)RkCloseGram(dm->dm_gram->gramdic); ^ permdic.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rkpclose(dm, dfnm, gram) ^ permdic.c:314:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ permdic.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] assurep(dic, id) ^ permdic.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkEql(a, b, n) ^ permdic.c:359:18: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = uniqAlnum(*a++); ^ permdic.c:368:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] readThisCache(dm, xdm, pgno, val, key, cur, ylen, nread, mc, nc, cf) ^ permdic.c:393:32: warning: passing arguments to '_RkReadCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nread[nc].cache = _RkReadCache(dm, (long)wrec); ^ permdic.c:396:19: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(nread[nc].cache); ^ permdic.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readThisCache(dm, xdm, pgno, val, key, cur, ylen, nread, mc, nc, cf) ^ permdic.c:440:17: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kv = uniqAlnum(*(key + cur)); ^ permdic.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchInPage(dm, xdm, pgno, buf, val, key, cur, ylen, nread, mc, nc, cf) ^ permdic.c:491:17: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kv = uniqAlnum(*(key + cur)); ^ permdic.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchInDir(dm, xdm, pos, key, cur, ylen, nread, mc, nc, cf) ^ permdic.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rkpsearch(cx, dm, key, n, nread, mc, cf) ^ permdic.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rkpio(dm, cp, io) ^ permdic.c:624:21: warning: passing arguments to 'RkParseOWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (RkParseOWrec(gram, arg, wrec, PERM_WRECSIZE, lucks)) { ^ permdic.c:674:19: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(thisCache); ^ permdic.c:683:22: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nk = _RkCandNumber(wp); ^ permdic.c:765:16: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(thisCache); ^ permdic.c:771:17: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(thisCache); ^ permdic.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rkpctl(dm, qm, what, arg, gram) ^ --- tempdic.o --- tempdic.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] freeTD(td) ^ --- permdic.o --- permdic.c:801:25: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = _RkCreatePath(dd, df->df_link); ^ permdic.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rkpsync(cx, dm, qm) ^ permdic.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] --- tempdic.o --- tempdic.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] extendTD(tdic, key, tw) ^ --- permdic.o --- static char rcs_id[] = "$Id: permdic.c,v 1.8 2003/09/17 08:50:52 aida_s Exp $"; ^ --- tempdic.o --- tempdic.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yomi_equal(x, y, n) ^ tempdic.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tempdic.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nthKey(w, n) ^ tempdic.c:201:29: warning: passing arguments to '_RkFindCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((cache = _RkFindCache(dm, (long)oldTW)) && cache->nc_count > 0) ^ tempdic.c:210:20: warning: passing arguments to '_RkRehashCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRehashCache(cache, (long)tn->tn_word); ^ tempdic.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] defineTD(dm, tab, n, newTW, nlen) ^ tempdic.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] enterTD(dm, td, gram, word) ^ tempdic.c:252:24: warning: passing arguments to 'RkParseOWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (RkParseOWrec(gram, word, wrec, RK_LINE_BMAX * 10, tw.lucks)) { ^ tempdic.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enterTD(dm, td, gram, word) ^ tempdic.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] shrinkTD(td, key) ^ tempdic.c:323:39: warning: passing arguments to '_RkFindCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct ncache *cache = _RkFindCache(dm, (long)oldTW); ^ tempdic.c:336:17: warning: passing arguments to '_RkRehashCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRehashCache(cache, (long)subW); ^ tempdic.c:342:16: warning: passing arguments to '_RkPurgeCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkPurgeCache(cache); ^ tempdic.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteTD(dm, tab, n, newW) ^ tempdic.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktopen(dm, file, mode, gram) ^ tempdic.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeTD(td, gram, fdes) ^ tempdic.c:473:27: warning: passing arguments to '_RkUparseWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wc = _RkUparseWrec(gram, tn->tn_word->word, wcline, ^ tempdic.c:478:38: warning: passing arguments to '_RkUparseWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && !(wc = _RkUparseWrec(gram, tn->tn_word->word, wcline, ^ tempdic.c:537:15: warning: passing arguments to '_RkKillCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkKillCache(dm); ^ tempdic.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktclose(dm, file, gram) ^ tempdic.c:622:24: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Wchar k = uniqAlnum(key[j++]); ^ tempdic.c:641:38: warning: passing arguments to '_RkReadCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nread[nc].cache = _RkReadCache(dm, (long)tn->tn_word); ^ tempdic.c:669:33: warning: passing arguments to '_RkReadCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nread[nc].cache = _RkReadCache(dm, (long)n0->tn_word); ^ tempdic.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktsearch(cx, dm, key, n, nread, maxcache, cf) ^ tempdic.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktio(dm, cp, io) ^ tempdic.c:744:27: warning: passing arguments to 'RkParseOWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!RkParseOWrec(gram, arg, wrec, TEMPDIC_WRECSIZE, lucks)) ^ tempdic.c:756:27: warning: passing arguments to 'RkParseOWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!RkParseOWrec(gram, arg, wrec, TEMPDIC_WRECSIZE, lucks)) ^ tempdic.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktctl(dm, qm, what, arg, gram) ^ tempdic.c:805:24: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = _RkCreatePath(dd_p, df_p->df_link); ^ tempdic.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _Rktsync(cx, dm, qm) ^ tempdic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: tempdic.c,v 1.4 2003/09/17 08:50:52 aida_s Exp $"; ^ 33 warnings generated. --- dicsw.o --- --- permdic.o --- 37 warnings generated. --- ngram.o --- --- dicsw.o --- rm -f dicsw.o --- ngram.o --- rm -f ngram.o --- dicsw.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED dicsw.c --- ngram.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED ngram.c --- dicsw.o --- dicsw.c:30:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpopen pro((struct DM *, char *, int, struct RkKxGram *)); ~~~~~~ ^ int dicsw.c:31:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpclose pro((struct DM *, char *, struct RkKxGram *)); ~~~~~~ ^ int dicsw.c:32:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpsearch ~~~~~~ ^ int dicsw.c:35:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpio pro((struct DM *, struct ncache *, int)); ~~~~~~ ^ int dicsw.c:36:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpctl ~~~~~~ ^ int dicsw.c:38:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rkpsync pro((struct RkContext *, struct DM *, struct DM *)); ~~~~~~ ^ int dicsw.c:40:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktopen pro((struct DM *, char *, int, struct RkKxGram *)); ~~~~~~ ^ int dicsw.c:41:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktclose pro((struct DM *, char *, struct RkKxGram *)); ~~~~~~ ^ int dicsw.c:42:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktsearch ~~~~~~ ^ int dicsw.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktio pro((struct DM *, struct ncache *, int)); ~~~~~~ ^ int dicsw.c:46:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktctl ~~~~~~ ^ int dicsw.c:48:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern _Rktsync pro((struct RkContext *, struct DM *, struct DM *)); ~~~~~~ ^ int dicsw.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: dicsw.c,v 1.1.1.1 2002/10/19 08:27:45 aida_s Exp $"; ^ 13 warnings generated. --- ngram.o --- ngram.c:63:23: 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 unsigned char *ustoeuc(); ^ ./RKintern.h:1193:16: note: conflicting prototype is here unsigned char *ustoeuc pro((Wchar *, int, unsigned char *, int)); ^ ngram.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCloseGram(gram) ^ In file included from ngram.c:27: ./RKintern.h:977: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] void RkCloseGram(); ^ ngram.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gram_to_tab(gram) ^ ngram.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gram_fill_conjcells(gram) ^ ngram.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkReadGram(fd, gramsz) ^ ngram.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkOpenGram(mydic) ^ In file included from ngram.c:27: ./RKintern.h:975:19: 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] struct RkKxGram *RkOpenGram(); ^ ngram.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkWordLength(wrec) ^ In file included from ngram.c:27: ./RKintern.h:1011: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 subsequent definition [-Wdeprecated-non-prototype] int _RkWordLength(); ^ ngram.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCandNumber(wrec) ^ In file included from ngram.c:27: ./RKintern.h:1010: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 subsequent definition [-Wdeprecated-non-prototype] int _RkCandNumber(); ^ ngram.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkGetGramNum(gram, name) ^ In file included from ngram.c:27: ./RKintern.h:997: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 subsequent definition [-Wdeprecated-non-prototype] --- bun.o --- --- ngram.o --- int RkGetGramNum(); ^ ngram.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skip_space(src) ^ ngram.c:414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skip_until_space(src, next) ^ ngram.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ngram.c:460:27: warning: passing arguments to 'RkParseGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] src = RkParseGramNum(gram, src, &row); ^ ngram.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wstowrec(gram, src, dst, maxdst, yomilen, wlen, lucks) ^ ngram.c:527:59: warning: '&' within '|' [-Wbitwise-op-parentheses] *wrec++ = (Wrec)(((wlen >> 5) & 0xfe) | (ncand >> 11) & 0x01); ~ ~~~~~~~~~~~~~~^~~~~~ ngram.c:527:59: note: place parentheses around the '&' expression to silence this warning *wrec++ = (Wrec)(((wlen >> 5) & 0xfe) | (ncand >> 11) & 0x01); ^ ( ) ngram.c:544:22: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = uniqAlnum(tmp); ^ ngram.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_wc2wrec_flag(wrec, wreclen, ncand, yomi, ylen, left) ^ ngram.c:572:59: warning: '&' within '|' [-Wbitwise-op-parentheses] *wrec++ = (Wrec)(((wlen >> 5) & 0xfe) | (ncand >> 11) & 0x01); ~ ~~~~~~~~~~~~~~^~~~~~ ngram.c:572:59: note: place parentheses around the '&' expression to silence this warning *wrec++ = (Wrec)(((wlen >> 5) & 0xfe) | (ncand >> 11) & 0x01); ^ ( ) ngram.c:579:22: warning: passing arguments to 'uniqAlnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tmp = uniqAlnum((Wchar)((yomi[2*i] << 8) | yomi[2*i + 1])); ^ ngram.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_wrec_flag(wrec, wreclen, ncand, yomi, ylen, left) ^ ngram.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkParseWrec(gram, src, left, dst, maxdst) ^ In file included from ngram.c:27: ./RKintern.h:1000: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 subsequent definition [-Wdeprecated-non-prototype] Wrec *RkParseWrec(); ^ ngram.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkParseOWrec(gram, src, dst, maxdst, lucks) ^ In file included from ngram.c:27: ./RKintern.h:1001: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 subsequent definition [-Wdeprecated-non-prototype] Wrec *RkParseOWrec(); ^ ngram.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkParseGramNum(gram, src, row) ^ In file included from ngram.c:27: ./RKintern.h:1003:10: 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] Wchar *RkParseGramNum(); ^ ngram.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkGetGramName(gram, row) ^ In file included from ngram.c:27: ./RKintern.h:996:17: 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] unsigned char *RkGetGramName(); ^ ngram.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkUparseGramNum(gram, row, dst, maxdst) ^ In file included from ngram.c:27: ./RKintern.h:1002:10: 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] Wchar *RkUparseGramNum(); ^ ngram.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRowNumber(wrec) ^ ngram.c:888:11: warning: '&&' within '||' [-Wlogical-op-parentheses] if (add && i == ncnd || !add && endt && endt < endp - 1) { ~~~~^~~~~~~~~~~~ ~~ ngram.c:888:11: note: place parentheses around the '&&' expression to silence this warning if (add && i == ncnd || !add && endt && endt < endp - 1) { ^ ( ) ngram.c:888:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (add && i == ncnd || !add && endt && endt < endp - 1) { ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ngram.c:888:40: note: place parentheses around the '&&' expression to silence this warning if (add && i == ncnd || !add && endt && endt < endp - 1) { ^ ( ) ngram.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUparseWrec(gram, src, dst, maxdst, lucks, add) ^ In file included from ngram.c:27: ./RKintern.h:999:10: 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] Wchar *_RkUparseWrec(); ^ ngram.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkUparseWrec(gram, src, dst, maxdst, lucks) ^ In file included from ngram.c:27: ./RKintern.h:998:10: 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] Wchar *RkUparseWrec(); ^ ngram.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCopyWrec(src) ^ ngram.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkScanWcand(wrec, word, maxword) ^ In file included from ngram.c:27: ./RKintern.h:991: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 subsequent definition [-Wdeprecated-non-prototype] int RkScanWcand(); ^ ngram.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkUniqWcand(wc, nwc) ^ In file included from ngram.c:27: ./RKintern.h:992: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 subsequent definition [-Wdeprecated-non-prototype] int RkUniqWcand(); ^ ngram.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkWcand2Wrec(key, wc, nc, lucks) ^ --- bun.o --- rm -f bun.o --- ngram.o --- ngram.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkUnionWcand(wc1, nc1, wlen1, wc2, nc2) ^ In file included from ngram.c:27: ./RKintern.h:993: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 subsequent definition [-Wdeprecated-non-prototype] int RkUnionWcand(); ^ ngram.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkSubtractWcand(wc1, nc1, wc2, nc2, lucks) ^ In file included from ngram.c:27: ./RKintern.h:994: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 subsequent definition [-Wdeprecated-non-prototype] int RkSubtractWcand(); ^ ngram.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkSubtractWrec(tw1, tw2) ^ ngram.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkUnionWrec(tw1, tw2) ^ ngram.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkTestGram(gram, row, col) ^ ngram.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCheckNegGram(gram, rc1, rc2, rc3) ^ ngram.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkFirstGram(iter, gram) ^ ngram.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkEndGram(iter, gram) ^ ngram.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: ngram.c,v 1.10 2003/09/24 14:50:40 aida_s Exp $"; ^ --- bun.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED bun.c --- ngram.o --- 59 warnings generated. --- context.o --- rm -f context.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED context.c --- bun.o --- bun.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeBunStorage(s) ^ bun.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocBunStorage(len) ^ bun.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkReallocBunStorage(src, len) ^ bun.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getCurrentBun(store) ^ bun.c:354:26: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num))) { ^ bun.c:393:19: warning: passing arguments to '_RkRenbun2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = _RkRenbun2(cx, mask1 & RK_TANBUN ? n : 0); ^ bun.c:438:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:458:22: warning: passing arguments to '_RkLearnBun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)_RkLearnBun(cx, i, mode); ^ bun.c:463:12: warning: passing arguments to '_RkEndBun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkEndBun(cx); ^ bun.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwRemoveBun(cx_num, mode) ^ bun.c:484:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) ^ bun.c:492:16: warning: passing arguments to '_RkLearnBun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkLearnBun(cx, i, mode); ^ bun.c:499:10: warning: passing arguments to 'usncopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy(store->yomi, store->yomi + c, (unsigned)store->nyomi); ^ bun.c:513:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RkwSubstYomi(cx_num, ys, ye, yomi, newLen) ^ int bun.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bun.c:523:26: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num))) { ^ bun.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwFlushYomi(cx_num) ^ bun.c:552:26: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num)) || ^ bun.c:574:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:585:22: warning: passing arguments to '_RkRenbun2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(_RkRenbun2(cx, len)); ^ bun.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkResize(cx_num, len, t) ^ bun.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwResize(cx_num, len) ^ bun.c:628:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwEnlarge(cx_num) ^ bun.c:635:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:653:22: warning: passing arguments to '_RkRenbun2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(_RkRenbun2(cx, (int)(bun->nb_curlen + 1))); ^ bun.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwShorten(cx_num) ^ bun.c:669:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:686:22: warning: passing arguments to '_RkRenbun2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(_RkRenbun2(cx, (int)(bun->nb_curlen - 1))); ^ bun.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwStoreYomi(cx_num, yomi, nlen) ^ bun.c:712:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:759:12: warning: passing arguments to 'usncopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy((store->yomi + bun->nb_yoff), yomi, (unsigned)nlen); ^ bun.c:772:22: warning: passing arguments to '_RkRenbun2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = _RkRenbun2(cx, 0)) != -1) ^ bun.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGoTo(cx_num, bnum) ^ bun.c:792:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:817:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:842:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] countCand(cx) ^ bun.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getXFER(cx, cnum) ^ bun.c:900:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:925:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwNext(cx_num) ^ bun.c:943:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwPrev(cx_num) ^ bun.c:963:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findBranch(store, cnum) ^ bun.c:1020:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1100:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || !(store = cx->store)) { ^ bun.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addIt(cw, key, proc, dst, ind, maxdst, mode, cx) ^ bun.c:1156:51: warning: passing arguments to '_RkGetKanji' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ind = (*proc)(dst, ind, maxdst, y, _RkGetKanji(cw, y, mode), &lex, cx); ^ bun.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getIt(cx, cnum, proc, dst, max) ^ bun.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addYomi(dst, ind, max, yomi, kanji, lex) ^ bun.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetYomi(cx_num, yomi, maxyomi) ^ bun.c:1221:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetLastYomi(cx_num, yomi, maxyomi) ^ bun.c:1254:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1266:12: warning: passing arguments to 'usncopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy(yomi, store->yomi + bun->nb_yoff, (unsigned)(maxyomi)); ^ bun.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addKanji(dst, ind, max, yomi, kanji, lex, cx) ^ bun.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getKanji(cx, cnum, dst, maxdst) ^ bun.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetKanji(cx_num, dst, maxdst) ^ bun.c:1348:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1383:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addLex(dst, ind, max, yomi, kanji, lex, cx) ^ bun.c:1447:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1497:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1547:24: warning: passing arguments to 'RkUparseGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = RkUparseGramNum(cx->gram->gramdic, lex->rownum, hinshi, 256); ^ bun.c:1552:11: warning: passing arguments to 'usncopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy(dst + ind, hinshi, bytes); ^ bun.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addHinshi(dst, ind, max, yomi, kanji, lex, cx) ^ bun.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetHinshi(cx_num, dst, maxdst) ^ bun.c:1579:27: warning: passing arguments to 'RkGetXContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetXContext(cx_num)) || ^ bun.c:1623:26: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num)) ^ bun.c:1641:28: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(new_cx_num))) { ^ bun.c:1653:28: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(dm = _RkSearchDDP(cx->ddpath, dicname))) { ^ bun.c:1659:29: warning: passing arguments to '_RkSearchUDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(dm = _RkSearchUDDP(cx->ddpath, dicname))) { ^ bun.c:1667:25: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file = _RkCreatePath(df->df_direct, df->df_link); ^ bun.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkwSync(cx, dicname) ^ bun.c:1707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwSync(cx_num, dicname) ^ bun.c:1714:26: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num))) ^ bun.c:1756:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RkwGetSimpleKanji(cxnum, dicname, yomi, maxyomi, ^ int bun.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bun.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwStoreRange(cx_num, yomi, maxyomi) ^ bun.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwSetLocale(cx_num, locale) ^ bun.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "$Id: bun.c,v 1.6 2003/09/21 10:16:49 aida_s Exp $"; ^ 82 warnings generated. --- nword.o --- rm -f nword.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED nword.c --- context.o --- context.c:96:28: warning: passing arguments to 'RkOpenGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.gramdic = RkOpenGram(gramdic); ^ context.c:105:6: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (mkdir(path, MKDIR_MODE) < 0 && ^ context.c:126:29: warning: passing arguments to 'allocStr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sx->ddhome = allocStr(ddhome); ^ context.c:128:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_BB = RkGetGramNum(SG.gramdic, "BB"); ^ context.c:129:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_NN = RkGetGramNum(SG.gramdic, "NN"); ^ context.c:130:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_T00 = RkGetGramNum(SG.gramdic, "T00"); ^ context.c:131:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_T30 = RkGetGramNum(SG.gramdic, "T30"); ^ context.c:132:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_T35 = RkGetGramNum(SG.gramdic, "T35"); ^ context.c:134:26: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_KJ = RkGetGramNum(SG.gramdic, "KJ"); ^ context.c:136:28: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SG.P_Ftte = RkGetGramNum(SG.gramdic, "Ftte"); ^ context.c:141:27: warning: passing arguments to '_RkInitializeCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (_RkInitializeCache(numCache) == 0) { ^ context.c:142:32: warning: passing arguments to '_RkCreateDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sx->ddpath = _RkCreateDDP(SYSTEM_DDHOME_NAME); ^ context.c:149:19: warning: passing arguments to '_RkFreeDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDDP(sx->ddpath); ^ context.c:163:18: warning: passing arguments to 'RkCloseGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCloseGram(SG.gramdic); ^ context.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] _RkInitialize(ddhome, numCache) ^ context.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwInitialize(ddhome) ^ context.c:222:13: warning: passing arguments to '_RkFreeDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDDP(sx->ddpath); ^ context.c:223:14: warning: passing arguments to 'RkCloseGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCloseGram(SG.gramdic); ^ context.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkGetContext(cx_num) ^ In file included from context.c:28: ./RKintern.h:972:19: 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] struct RkContext *RkGetContext(); ^ context.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkGetXContext(cx_num) ^ In file included from context.c:28: ./RKintern.h:973:19: 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] struct RkContext *RkGetXContext(); ^ context.c:297:14: warning: passing arguments to '_RkUmountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUmountMD(cx, md); ^ context.c:300:14: warning: passing arguments to '_RkUmountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUmountMD(cx, md); ^ context.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkEndBun(cx) ^ In file included from context.c:28: ./RKintern.h:1007: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] void _RkEndBun(); ^ context.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwSetDicPath(cx_num, path) ^ context.c:317:21: warning: passing arguments to '_RkCreateDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new = _RkCreateDDP(path); ^ context.c:319:15: warning: passing arguments to '_RkFreeDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDDP(cx->ddpath); ^ context.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillContext(cx_num) ^ context.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCloseContext(cx_num) ^ context.c:433:13: warning: passing arguments to '_RkFreeDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDDP(cx->ddpath); ^ context.c:444:19: warning: passing arguments to '_RkUmountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)_RkUmountMD(cx, m); ^ context.c:462:16: warning: passing arguments to 'RkCloseGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCloseGram(cx->gram->gramdic); ^ context.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwDuplicateContext(cx_num) ^ context.c:517:20: warning: passing arguments to '_RkMountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)_RkMountMD(dx, md->md_dic, md->md_freq, ^ context.c:520:30: warning: passing arguments to '_RkCopyDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dx->ddpath = _RkCopyDDP(sx->ddpath); ^ context.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwMountDic(cx_num, name, mode) ^ context.c:570:19: warning: passing arguments to '_RkMountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return _RkMountMD(cx, dm, qm, mode, firsttime); ^ context.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwUnmountDic(cx_num, name) ^ context.c:600:15: warning: passing arguments to '_RkUmountMD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUmountMD(cx, md); ^ context.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwRemountDic(cx_num, name, mode) ^ context.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetMountList(cx_num, mdname, maxmdname) ^ context.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] diccmp(a, b) ^ context.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] RkwGetDicList(cx_num, mdname, maxmdname) ^ context.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetDirList(cx_num, ddname, maxddname) ^ context.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwDefineDic(cx_num, name, word) ^ context.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwDeleteDic(cx_num, name, word) ^ context.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: context.c,v 1.5 2003/09/17 08:50:52 aida_s Exp $"; ^ 49 warnings generated. --- ncache.o --- rm -f ncache.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED ncache.c --- nword.o --- nword.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] clearWord(w, bb) /* make word empty */ ^ nword.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] setWord(w, rc, lit, yomi, ylen, kanji, klen, bb) ^ nword.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] allocWord(st, bb) ^ nword.c:137:26: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)_RkDerefCache(word->nw_cache); ^ nword.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] derefWord(word) /* decrease the reference counter */ ^ nword.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] killWord(st, word) /* dispose the unsed words */ ^ nword.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeWord(st, word) /* freeWord = derefWord + killWord */ ^ nword.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeBunq(st) /* freeWord = derefWord + killWord */ ^ nword.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] concWord(cx, p, q, loc, bb) /* create the concatinated word p+q */ ^ nword.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] clearQue(xq) ^ nword.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeQue(st, s, e) ^ nword.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtNum(dst, maxdst, src, maxsrc, format) ^ nword.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtAlpha(dst, maxdst, src, maxsrc, format) ^ nword.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtHira(dst, maxdst, src, maxsrc, format) ^ nword.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvtLit(dst, maxdst, src, maxsrc, format, mode) ^ nword.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setLit(cx, word, maxword, rc, src, srclen, format) ^ nword.c:475:25: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nk = _RkCandNumber(wp); ^ nword.c:535:34: warning: passing arguments to 'searchRut' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnt = wrds->nw_prio = searchRut(qm->dm_rut, wrds->nw_csn); ^ nword.c:566:20: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(thisCache); ^ nword.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readWord(cx, yy, ys, ye, class, nword, maxword, doflush, douniq) ^ nword.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeWord(cx, yy, ys, ye, class, word, maxword, doflush, douniq) ^ nword.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] determinate(y1, y2, l) ^ nword.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] positive(y1, y2, l) ^ nword.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] positiveRev(y1, y2, l) ^ nword.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cancelNVE(nv, p) ^ nword.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newNVE(nv, y, l, v) ^ nword.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRegisterNV(nv, yomi, len, half) ^ nword.c:1033:15: warning: passing arguments to '_RkDerefCache' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(q->nw_cache); ^ nword.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseWord(cx, yy, ys, ye, class, xqh, maxclen, doflush, douniq) ^ nword.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doParse(cx, yy, ys, ye, xqh, maxclen, doflush, douniq) ^ nword.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkGetKanji(cw, key, mode) ^ nword.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getKanji(w, key, d, mode) ^ nword.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uniqWord(key, words, ylen, mode) ^ nword.c:1220:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static compword pro((const struct compRec *, const struct compRec *)); ~~~~~~ ^ int nword.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compword(x, y) ^ nword.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortWord(words) ^ nword.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] height2list(height, maxclen) ^ nword.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] list2height(height, maxclen, parse) ^ nword.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseBun(cx, yy, ys, ye, doflush, douniq, maxclen) ^ nword.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modifyPrio(cx, words) ^ nword.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storeBun(cx, yy, ys, ye, bun) ^ nword.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] evalSplit(cx, suc, ul) ^ nword.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calcSplit(cx, yy, top, xq, maxclen, flush) ^ nword.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitBun(cx, yy, ys, ye) ^ nword.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parseQue(cx, maxq, yy, ys, ye, doflush) ^ nword.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsStableQue(cx, c, doflush) ^ nword.c:1760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Que2Bun(cx, yy, ys, ye, doflush) ^ nword.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRenbun2(cx, firstlen) ^ In file included from nword.c:28: ./RKintern.h:988: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 subsequent definition [-Wdeprecated-non-prototype] int _RkRenbun2(); ^ nword.c:1917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSubstYomi(cx, ys, ye, yomi, newLen) ^ nword.c:1948:32: warning: passing arguments to '_RkReallocBunStorage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] st = _RkReallocBunStorage(st, (int)(new_size*1.2+10)); ^ nword.c:1972:10: warning: passing arguments to 'usncopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy(be + ys, yomi, newLen); ^ nword.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFlushYomi(cx) ^ nword.c:2055:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void blkcpy(d, s, e) ^ nword.c:2105:29: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ncands = _RkCandNumber(wp); ^ nword.c:2108:23: warning: passing arguments to '_RkGetOffset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] offset = _RkGetOffset((struct ND *)dm->dm_extdata.var, wp); ^ nword.c:2134:12: warning: passing arguments to 'entryRut' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entryRut(qm->dm_rut, thisW->nw_csn, cx->time); ^ nword.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doLearn(cx, thisW) ^ nword.c:2180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkLearnBun(cx, cur, mode) ^ In file included from nword.c:28: ./RKintern.h:989: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] void _RkLearnBun(); ^ nword.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: nword.c,v 1.5 2003/07/31 19:03:51 aida_s Exp $"; ^ --- ncache.o --- ncache.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkInitializeCache(size) ^ In file included from ncache.c:27: ./RKintern.h:979: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 subsequent definition [-Wdeprecated-non-prototype] int _RkInitializeCache(); ^ ncache.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flushCache(dm, cache) ^ ncache.c:107:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct ncache *newCache(ndm, address) ^ ncache.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkDerefCache(cache) ^ In file included from ncache.c:27: ./RKintern.h:986: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] void _RkDerefCache(); ^ ncache.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkPurgeCache(cache) ^ In file included from ncache.c:27: ./RKintern.h:985: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 subsequent definition [-Wdeprecated-non-prototype] void _RkPurgeCache(); ^ ncache.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkKillCache(dm) ^ In file included from ncache.c:27: ./RKintern.h:984: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 subsequent definition [-Wdeprecated-non-prototype] void _RkKillCache(); ^ ncache.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFindCache(dm, addr) ^ In file included from ncache.c:27: ./RKintern.h:981:17: 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] struct ncache *_RkFindCache(); ^ ncache.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRehashCache(cache, addr) ^ In file included from ncache.c:27: ./RKintern.h:1067: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] void _RkRehashCache(); ^ ncache.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkReadCache(dm, addr) ^ In file included from ncache.c:27: ./RKintern.h:982:17: 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] struct ncache *_RkReadCache(); ^ 16 warnings generated. --- dic.o --- rm -f dic.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED dic.c --- nword.o --- 61 warnings generated. --- util.o --- --- dic.o --- dic.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] locatepath(userDDP, ddpath, mode) ^ dic.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCreateDic(cx_num, dicname, mode) ^ dic.c:137:38: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct RkContext *cx = RkGetContext(cx_num); ^ dic.c:189:20: warning: passing arguments to '_RkSearchDDQ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sm = _RkSearchDDQ(systemDDP, dicname, type); ^ dic.c:190:20: warning: passing arguments to '_RkSearchDDQ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] um = _RkSearchDDQ(userDDP, dicname, type); ^ dic.c:199:22: warning: passing arguments to '_RkSearchDDQ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(_RkSearchDDQ(systemDDP, dicname, DF_TEMPDIC)) { ^ dic.c:209:43: warning: passing arguments to '_RkCreateUniquePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(filename = _RkCreateUniquePath(userDDP[0], FREQ_TEMPLATE))) { ^ dic.c:220:26: warning: passing arguments to 'DMcreate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(dm = DMcreate(userDDP[0], spec))) { ^ dic.c:246:22: warning: passing arguments to '_RkRealizeDF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(_RkRealizeDF(um->dm_file)) {/* ʤʤ kon 1993.11 */ ^ dic.c:261:22: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tm = _RkSearchDDP(userDDP, dicname); ^ dic.c:267:43: warning: passing arguments to '_RkCreateUniquePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(filename = _RkCreateUniquePath(userDDP[0], USER_TEMPLATE))) { ^ dic.c:289:20: warning: passing arguments to 'DMcreate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!DMcreate(userDDP[0], spec)) { ^ dic.c:309:22: warning: passing arguments to '_RkRealizeDF' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(_RkRealizeDF(um->dm_file)) { ^ dic.c:323:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copyFile(src, dst) ^ int dic.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dic.c:336:23: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] srcN = _RkCreatePath(srcD, srcF->df_link); ^ dic.c:344:27: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dstN = _RkCreatePath(dstD, dstF->df_link); ^ dic.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwListDic( cx_num, dirname, buf, size ) ^ dic.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwRemoveDic(cx_num, dicname, mode) ^ dic.c:438:38: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct RkContext *cx = RkGetContext(cx_num); ^ dic.c:455:20: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm = _RkSearchDDP(userDDP, (char *)dicname); ^ dic.c:467:27: warning: passing arguments to '_RkMakePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(path = _RkMakePath(dm->dm_file))) ^ dic.c:474:11: warning: passing arguments to 'DMremove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMremove(dm); ^ dic.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwRenameDic(cx_num, old, new, mode) ^ dic.c:509:38: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct RkContext *cx = RkGetContext(cx_num); ^ dic.c:531:21: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm1 = _RkSearchDDP(userDDP, (char *)old); ^ dic.c:541:21: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm2 = _RkSearchDDP(userDDP, (char *)new); ^ dic.c:550:29: warning: passing arguments to '_RkMakePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(path = _RkMakePath(dm2->dm_file))) ^ dic.c:554:13: warning: passing arguments to 'DMremove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMremove(dm2); ^ dic.c:555:13: warning: passing arguments to 'DMrename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMrename(dm1, new); ^ dic.c:571:13: warning: passing arguments to 'DMrename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMrename(dm1, new); ^ dic.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] RkwCopyDic(co, dir, from, to, mode) ^ dic.c:630:20: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cx = RkGetContext(co); ^ dic.c:664:37: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct RkContext *cy = RkGetContext(con); ^ dic.c:672:22: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm1 = _RkSearchDDP(userDDP, from); ^ dic.c:681:26: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm2 = _RkSearchDDP(userDDP, to); ^ dic.c:691:27: warning: passing arguments to '_RkMakePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(path = _RkMakePath(dm2->dm_file))) { ^ dic.c:711:11: warning: passing arguments to 'DMremove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMremove(dm2); ^ dic.c:724:33: warning: passing arguments to '_RkCreateUniquePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename = _RkCreateUniquePath(userDDP[0], template); ^ dic.c:733:19: warning: passing arguments to 'DMcreate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm2 = DMcreate(userDDP[0], spec); ^ dic.c:741:17: warning: passing arguments to 'DMremove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMremove(dm2); ^ dic.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwChmodDic(cx_num, dicname, mode) ^ dic.c:779:38: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct RkContext *cx = RkGetContext(cx_num); ^ dic.c:809:21: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dm = _RkSearchDDP(userDDP, dicname); ^ dic.c:794:6: warning: variable 'dd' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (cx->ddpath[1] && cx->ddpath[2]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dic.c:802:13: note: uninitialized use occurs here res = dd ? DDchmod(dd, mode) : ACCES; ^~ dic.c:794:2: note: remove the 'if' if its condition is always true if (cx->ddpath[1] && cx->ddpath[2]) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dic.c:794:6: warning: variable 'dd' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] if (cx->ddpath[1] && cx->ddpath[2]) { ^~~~~~~~~~~~~ dic.c:802:13: note: uninitialized use occurs here res = dd ? DDchmod(dd, mode) : ACCES; ^~ dic.c:794:6: note: remove the '&&' if its condition is always true if (cx->ddpath[1] && cx->ddpath[2]) { ^~~~~~~~~~~~~~~~ dic.c:780:17: note: initialize the variable 'dd' to silence this warning struct DD *dd, *userDDP[2]; ^ = NULL dic.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pushTdn(cx, tdp) ^ dic.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeTdn(cx) /* tdn next ɤʤ free */ ^ dic.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popTdn(cx) ^ dic.c:885:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GetLine(cx, gram, tdp, line, size) ^ dic.c:915:19: warning: passing arguments to 'RkUparseWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (RkUparseWrec(gram, vtn->tn_word->word, line, size, vtn->tn_word->lucks)) { ^ dic.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetLine(cx, gram, tdp, line, size) ^ dic.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwGetWordTextDic(cx_num, dirname, dicname, info, infolen) ^ dic.c:958:59: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!dicname || !dirname || !info || !(cx = RkGetContext(cx_num)) || ^ dic.c:984:28: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(cx = RkGetContext(cx_num)) || !(gwt = (struct _rec *)cx->cx_gwt)) { ^ dic.c:990:32: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(new_cx = RkGetContext(new_cx_num))) { ^ dic.c:1003:30: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(dm = _RkSearchDDP(new_cx->ddpath, (char *)dicname))) { ^ dic.c:1011:31: warning: passing arguments to '_RkSearchUDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(dm = _RkSearchUDDP(new_cx->ddpath, dicname))) { ^ dic.c:1032:22: warning: passing arguments to '_RkSearchDDP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!_RkSearchDDP(new_cx->ddpath, (char *)dicname)) { ^ dic.c:1045:28: warning: passing arguments to 'RkGetContext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || !(new_cx = RkGetContext(new_cx_num))) { ^ dic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: dic.c,v 1.4 2003/09/17 08:50:52 aida_s Exp $"; ^ --- util.o --- rm -f util.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED util.c --- dic.o --- 61 warnings generated. --- kana.o --- rm -f kana.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED kana.c --- util.o --- util.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uslen(us) ^ util.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usncopy(dst, src, len) ^ util.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ustoeuc(src, srclen, dest, destlen) ^ util.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] euctous(src, srclen, dest, destlen) ^ util.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkAssertFail(file, line, expr) ^ util.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCalcUnlog2(x) ^ In file included from util.c:27: ./RKintern.h:1013: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 subsequent definition [-Wdeprecated-non-prototype] int _RkCalcUnlog2(); ^ util.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCalcLog2(n) ^ util.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uniqAlnum(c) ^ util.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkClearHeader(hd) ^ util.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_tags(hd, srctop, srcend, pass) ^ util.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkReadHeader(fd, hd, off_from_top) ^ util.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCreateHeader(hd, size) ^ util.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkGetTick(mode) ^ util.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_hdr_var(hd, n, var) ^ util.c:470:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] _RkGetLink(dic, pgno, off, lvo, csn) ^ int util.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] util.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkGetOffset(dic, pos) ^ util.c:524:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ util.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HowManyChars(yomi, len) ^ util.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HowManyBytes(yomi, len) ^ util.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#)$Id: util.c,v 1.8 2003/09/17 08:50:52 aida_s Exp $ $Author: aida_s $ $Revision: 1.8 $ $Data$"; ^ --- kana.o --- kana.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _ADDCODE(dst, maxdst, count, code, length) ^ kana.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] euccharlen(s, bytelen) ^ kana.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] RkCvtZen(zen, maxzen, han, maxhan) ^ kana.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtHan(han, maxhan, zen, maxzen) ^ kana.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtKana(kana, maxkana, hira, maxhira) ^ kana.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtHira(hira, maxhira, kana, maxkana) ^ kana.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtNone(dst, maxdst, src, maxsrc) ^ kana.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtWide(dst, maxdst, src, maxsrc) ^ kana.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkCvtNarrow(dst, maxdst, src, maxsrc) ^ kana.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtSuuji(dst, maxdst, src, maxsrc, format) ^ kana.c:994:16: 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] unsigned char *ustoeuc(); ^ ./RKintern.h:1193:16: note: conflicting prototype is here unsigned char *ustoeuc pro((Wchar *, int, unsigned char *, int)); ^ kana.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtHan(dst, maxdst, src, srclen) ^ kana.c:1022:20: warning: passing arguments to 'euctous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] len = euctous(cbuf2, len, dst, maxdst) - dst; ^ kana.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtHira(dst, maxdst, src, srclen) ^ kana.c:1060:20: warning: passing arguments to 'euctous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] len = euctous(cbuf2, len, dst, maxdst) - dst; ^ kana.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtKana(dst, maxdst, src, srclen) ^ kana.c:1098:20: warning: passing arguments to 'euctous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] len = euctous(cbuf2, len, dst, maxdst) - dst; ^ kana.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtZen(dst, maxdst, src, srclen) ^ kana.c:1136:20: warning: passing arguments to 'euctous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] len = euctous(cbuf2, len, dst, maxdst) - dst; ^ kana.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkwCvtNone(dst, maxdst, src, srclen) ^ kana.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: kana.c,v 1.2 2003/09/17 08:50:52 aida_s Exp $"; ^ --- util.o --- 22 warnings generated. --- bits.o --- rm -f bits.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED bits.c --- kana.o --- 21 warnings generated. --- dd.o --- rm -f dd.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED dd.c --- bits.o --- bits.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkPackBits(dst_bits, dst_offset, bit_size, src_ints, count) ^ bits.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUnpackBits(dst_ints, src_bits, src_offset, bit_size, count) ^ bits.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCopyBits(dst_bits, dst_offset, bit_size, src_bits, src_offset, count) ^ bits.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSetBitNum(dst_bits, dst_offset, bit_size, n, val) ^ bits.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] _RkCalcFqSize(n) ^ bits.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: bits.c,v 1.2 2003/09/17 08:50:52 aida_s Exp $"; ^ 6 warnings generated. --- fq.o --- rm -f fq.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED fq.c --- dd.o --- dd.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] allocStr(s) ^ In file included from dd.c:28: ./RKintern.h:1006: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 subsequent definition [-Wdeprecated-non-prototype] char *allocStr(); ^ dd.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCreateDM(df, dicname, nickname, class) ^ dd.c:61:19: 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 struct DM *_RkCreateDM(); ^ dd.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDM(dm) ^ dd.c:62: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 subsequent definition [-Wdeprecated-non-prototype] static void _RkFreeDM(); ^ dd.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkAllocDM(df, dicname, nickname, class) ^ dd.c:63:19: 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 struct DM *_RkAllocDM(); ^ dd.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCreateDF(dd, lnk, type) ^ dd.c:64:19: 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 struct DF *_RkCreateDF(); ^ dd.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDF(df) ^ dd.c:65: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 subsequent definition [-Wdeprecated-non-prototype] static void _RkFreeDF(); ^ dd.c:224:21: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] _RkAllocDF(dd, lnk, type) ^ dd.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkAllocDF(dd, lnk, type) ^ dd.c:66:19: 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 struct DF *_RkAllocDF(); ^ dd.c:257:27: warning: passing arguments to '_RkCreatePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pathname = _RkCreatePath(df->df_direct, df->df_link); ^ dd.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRealizeDF(df) ^ In file included from dd.c:28: ./RKintern.h:1041: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 subsequent definition [-Wdeprecated-non-prototype] int _RkRealizeDF(); ^ dd.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] _RkParseDicsDir(line, lnk, member, nickname, dftype, dmclass, ^ dd.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] _RkCreateDD(path, name) ^ dd.c:68:19: 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 struct DD *_RkCreateDD(); ^ dd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDD(dd) ^ dd.c:69: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 subsequent definition [-Wdeprecated-non-prototype] static void _RkFreeDD(); ^ dd.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkLookupDD(dd, name) ^ dd.c:70:19: 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 struct DD *_RkLookupDD(); ^ dd.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkReadDD(name) ^ dd.c:71:19: 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 struct DD *_RkReadDD(); ^ dd.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkOpenDD(name) ^ dd.c:72:19: 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 struct DD *_RkOpenDD(); ^ dd.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCreatePath(dd, name) ^ In file included from dd.c:28: ./RKintern.h:1060: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 subsequent definition [-Wdeprecated-non-prototype] char *_RkCreatePath(); ^ dd.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] _RkCreateUniquePath(dd, proto) ^ In file included from dd.c:28: ./RKintern.h:1061: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 subsequent definition [-Wdeprecated-non-prototype] char *_RkCreateUniquePath(); ^ dd.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkMakePath(df) ^ In file included from dd.c:28: ./RKintern.h:1062: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 subsequent definition [-Wdeprecated-non-prototype] char *_RkMakePath(); ^ dd.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkRealizeDD(dd) ^ dd.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkIsInDDP(ddp, dd) ^ dd.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCountDDP(ddp) ^ dd.c:73:13: 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 int _RkCountDDP(); ^ dd.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCopyDDP(ddp) ^ In file included from dd.c:28: ./RKintern.h:1049: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 subsequent definition [-Wdeprecated-non-prototype] struct DD **_RkCopyDDP(); ^ dd.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkAppendDDP(ddp, dd) ^ dd.c:74:20: 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 struct DD **_RkAppendDDP(); ^ dd.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkCreateDDP(ddpath) ^ In file included from dd.c:28: ./RKintern.h:1050: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 subsequent definition [-Wdeprecated-non-prototype] struct DD **_RkCreateDDP(); ^ dd.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkFreeDDP(ddp) ^ In file included from dd.c:28: ./RKintern.h:1051: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] void _RkFreeDDP(); ^ dd.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSearchDDP(ddp, name) ^ In file included from dd.c:28: ./RKintern.h:1044:13: 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] struct DM *_RkSearchDDP(); ^ dd.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSearchDDQ(ddp, name, type) ^ In file included from dd.c:28: ./RKintern.h:1043:13: 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] struct DM *_RkSearchDDQ(); ^ dd.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSearchUDDP(ddp, name) ^ In file included from dd.c:28: ./RKintern.h:1045:13: 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] struct DM *_RkSearchUDDP(); ^ dd.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSearchDDMEM(ddp, name) ^ In file included from dd.c:28: ./RKintern.h:1046:13: 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] struct DM *_RkSearchDDMEM(); ^ dd.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkSearchDicWithFreq(ddpath, name, qmp) ^ dd.c:1203:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DMcheck(spec, name) ^ int dd.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dd.c:1247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMcreate(dd, spec) ^ In file included from dd.c:28: ./RKintern.h:1053:13: 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] struct DM *DMcreate(); ^ dd.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMremove(dm) ^ In file included from dd.c:28: ./RKintern.h:1054: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 subsequent definition [-Wdeprecated-non-prototype] int DMremove(); ^ dd.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMrename(dm, nickname) ^ In file included from dd.c:28: ./RKintern.h:1055: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 subsequent definition [-Wdeprecated-non-prototype] int DMrename(); ^ dd.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DMchmod(dm, mode) ^ dd.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DDchmod(dd, mode) ^ dd.c:1522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkMountMD(cx, dm, qm, mode, firsttime) ^ In file included from dd.c:28: ./RKintern.h:1057: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 subsequent definition [-Wdeprecated-non-prototype] int _RkMountMD(); ^ dd.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _RkUmountMD(cx, md) ^ In file included from dd.c:28: ./RKintern.h:1058: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] void _RkUmountMD(); ^ dd.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: dd.c,v 1.5 2003/09/17 08:50:52 aida_s Exp $"; ^ 71 warnings generated. --- fq.o --- fq.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] allocRUT(hn) ^ fq.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WrToRut(ruc, csn, tick) ^ fq.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateFrst(ruc) ^ fq.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteCT(ruc, csn) ^ fq.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] searchRut(ruc, csn) ^ fq.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] searchCTadd(ruc, csn) ^ fq.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entryRut(ruc, csn, tick) ^ fq.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocWRT(size) ^ fq.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readWRT(fr) ^ fq.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeToWRT(fr, wrt) ^ fq.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] abolishNV(nv) ^ fq.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readNV(fd) ^ fq.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeNV(fd, nv) ^ fq.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeRUT(ruc) ^ fq.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] LoadRUC(fr) ^ fq.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveRUC(fr, ruc) ^ fq.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FQscan(df, codm, file, w) ^ fq.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FQopen(dm, qm, file, mode) ^ fq.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FQclose(cx, dm, qm, file) ^ fq.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FQsync(cx, dm, qm, file) ^ fq.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="$Id: fq.c,v 1.6 2003/09/17 08:50:52 aida_s Exp $"; ^ 21 warnings generated. --- libRK.a --- rm -f libRK.a ar clq libRK.a tempdic.o permdic.o dicsw.o ngram.o bun.o context.o nword.o ncache.o dic.o util.o kana.o bits.o dd.o fq.o ranlib libRK.a making all in ./lib/RKindep... --- cfuncs.o --- --- basename.o --- rm -f basename.o --- cfuncs.o --- rm -f cfuncs.o --- basename.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED basename.c --- cfuncs.o --- clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED cfuncs.c --- cksum.o --- rm -f cksum.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED cksum.c --- basename.o --- basename.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiBasename(path) ^ 1 warning generated. --- file.o --- rm -f file.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED file.c --- cksum.o --- cksum.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] RkiCksumAdd(cx, data, len) ^ cksum.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiCksumCRCInit(cx) ^ cksum.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiCksumCRCAdd(cx, data, len) ^ cksum.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiCksumCRCFinish(cx) ^ 4 warnings generated. --- strops.o --- rm -f strops.o clang -c -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED strops.c --- file.o --- file.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiConnect(fd, addrp, len, timeout) ^ file.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiGetLine(fp) ^ file.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiReadWholeFile(fp, retsize) ^ 3 warnings generated. --- strops.o --- strops.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] RkiStrbuf_init(sb) ^ strops.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_destroy(sb) ^ strops.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_clear(sb) ^ strops.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_reserve(sb, size) ^ strops.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_term(sb) ^ strops.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_pack(sb) ^ strops.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] RkiStrbuf_add(sb, src) ^ strops.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] RkiStrbuf_addmem(sb, src, size) ^ strops.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkiStrbuf_addch(sb, ch) ^ 9 warnings generated. --- libRKindep.a --- rm -f libRKindep.a ar clq libRKindep.a cfuncs.o basename.o cksum.o file.o strops.o ranlib libRKindep.a making all in ./server... --- comm.o --- --- session.o --- --- comm.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c comm.c --- session.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c session.c session.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserTable_delete(obj) ^ session.c:89:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"̾[%s]\n", username ) ); ^~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:93:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"ϿѤߥ桼̾[%s]\n", username ) ); ^~~~~~~~ ~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:94:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"[%d]\n", ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:113:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"[%s]Ͽ\n", username ) ); ^~~~ ~~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:114:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"ʥС[%d]\n", usr_no ) ); ^~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserTable_register(obj, username) ^ session.c:128:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,":[%d]\n", ent->ue_count ) ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:131:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"[%s]\n", ent->ue_name ) ); ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.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] UserTable_unregister(obj, usr_no) ^ session.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckVersion( data, client ) ^ session.c:192:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg( 6,"ʥС:[%d]\n", client->usr_no )); ^~~~ ~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_client_rec(client) ^ session.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_session(clientp, name, client_buf) ^ session.c:215:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(3, "å\n")); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:267:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(3, "åγϤ\n")); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:271:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(3, "åʤä\n")); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.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] close_session(clientp, notify) ^ session.c:291:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(3, "åĤ\n")); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ session.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientStat(client, type, request_Type, return_date) ^ --- comm.o --- comm.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_nonblock(sock) ^ comm.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_init(obj, parent, fd) ^ comm.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_destroy(obj) ^ comm.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] ClientBuf_recv(obj) ^ comm.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_send(obj) ^ comm.c:194:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "Ȥؤֿλ, fd=%d\n", obj->fd)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_store_reply(obj, data, len) ^ comm.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_get_connection_info(obj, addr, hostname) ^ comm.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_getfd(obj) ^ comm.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClientBuf_getclient(obj) ^ comm.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] EventMgr_delete(obj) ^ comm.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_add_listener_sock(obj, listenerfd, info_proc, info_obj) ^ comm.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_quit_later(obj, status) ^ comm.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_finalize_notify(obj, clibuf) ^ comm.c:377:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "ȤȤ³, fd=%d\n", connfd)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_accept(obj, listener_entry) ^ comm.c:419:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "ȤȤ³ڤ, fd=%d\n", ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_check_fds(obj, rfds, wfds) ^ comm.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_run(obj) ^ comm.c:472:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "\nselect()Ԥ\n")); ^~~~~~~~~~~~ ~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_clibuf_first(obj, it) ^ comm.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgr_clibuf_end(obj, it) ^ comm.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventMgrIterator_next(obj) ^ comm.c:576:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ե̾:[%s]\n",unaddr->sun_path)); ^~~~ ~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_unix_socket (sock, unaddr) ^ comm.c:640:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ݡֹ:[%d]\n",insock.sin_port)); ^~~~ ~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:648:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "bind ȥ饤[%d]\n",retry)); ^~~~ ~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_inet_socket (sock) ^ comm.c:700:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ݡֹ:[%s]\n", portbuf)); ^~~~ ~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:737:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "bind ȥ饤[%d]\n",retry)); ^~~~ ~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_inet6_socket (sock) ^ comm.c:774: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_addr_unix(dummy, connfd, addr, hostname) ^ comm.c:797: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_addr_inet(dummy, connfd, addr, hostname) ^ comm.c:886:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(3,"åȤ\n") ); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:893:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(3,"գΣɣإɥᥤϤǤ\n") ); ^~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:902:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(3,"ɣΣţԥɥᥤϤǤ\n") ); ^~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:910:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(3,"ɣΣţԣɥᥤϤǤ\n") ); ^~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:915:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(3,"åȤνϤǤ\n") ); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ comm.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SockHolder_delete(obj) ^ comm.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SockHolder_tie(obj, event_mgr) ^ --- session.o --- 20 warnings generated. --- convert.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c convert.c --- comm.o --- 40 warnings generated. --- wconvert.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c wconvert.c --- convert.o --- convert.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ir_error(clientp) ^ convert.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendTypeE1Reply2(client_buf, stat) ^ convert.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ir_initialize(clientp, client_buf) ^ convert.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ir_nosession(clientp, client_buf) ^ convert.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_euc_request(request, data, len, username, hostname) ^ convert.c:1515:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "EUCץȥΥꥯȤ, Ĺ=%d\n", len)); ^~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ convert.c:1554:38: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( (needsize = (* ReqCallFunc)( data, len )) < 0 ) { ^~~~ convert.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcReq0( buf, size ) ^ convert.c:1609:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcReq2( buf, size ) ^ int convert.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert.c:1949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DebugDump( level, buf, size ) ^ convert.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DebugDispKanji( cxnum, num ) ^ convert.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "@(#) 102.1 $Id: convert.c,v 1.10.2.1 2003/12/27 17:15:24 aida_s Exp $"; ^ 13 warnings generated. --- main.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c main.c --- wconvert.o --- wconvert.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GetFirstKouho(cxnum, start, end, val_return, buf, bufsize, bufp_return) ^ wconvert.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:192:30: warning: passing 'const BYTE *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ir_debug( DebugDump( 10, buf, size ) ); ^~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ ./server.h:220:44: note: passing argument to parameter 'buf' here void DebugDump pro((int level, const char *buf, int size)); ^ wconvert.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteClient(client, buf, size) ^ wconvert.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copylenstr(name, p) ^ wconvert.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType1Reply(client, majo, mino, stat, majorv, minorv, curtime, ^ wconvert.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType2Reply(client, majo, mino, stat) ^ wconvert.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:375:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType4Reply(client, majo, mino, stat, len, dat) ^ wconvert.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:404:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType4XReply(client, majo, mino, val, s1, s2, len, dat) ^ wconvert.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:438:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType5Reply(client, majo, mino, context) ^ wconvert.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:452:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] namesize(names, n) ^ wconvert.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:470:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unamesize(names, n) ^ wconvert.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:488:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unamesize2(names) ^ wconvert.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:502:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType6Reply(client, majo, mino, n, names, namelen) ^ wconvert.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:529:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType7Reply(client, majo, mino, n, len, dat) ^ wconvert.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:557:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SendType9Reply(client, majo, mino, val, len, dat) ^ wconvert.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] wconvert.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irwerrhdr(client, proto) ^ wconvert.c:632:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_finalize( clientp ) ^ wconvert.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:671:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "Фư̾:[%s]\n", susername);) ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:675:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "λ̾:[%s]\n", client->username);) ^~~~~~~~ ~~~~ ~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:653:18: warning: variable 'cli_hostaddrp' set but not used [-Wunused-but-set-variable] const Address *cli_hostaddrp; ^ wconvert.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_killserver(clientp) ^ wconvert.c:714:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_create_context( clientp ) ^ wconvert.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:743:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] validcontext(cxnum, client, proto) ^ wconvert.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:755:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_duplicate_context( clientp ) ^ wconvert.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:776:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_close_context( clientp ) ^ wconvert.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:791:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_dictionary_list( clientp ) ^ wconvert.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:811:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_yomi( clientp ) ^ wconvert.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:840:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_define_dic( clientp ) ^ wconvert.c:851:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "̾=%s\n", (dicname)?dicname:null) ); ^~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:852:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "Ͽǡ[%s]\n", ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_define_dic( clientp ) ^ wconvert.c:862:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_delete_dic( clientp ) ^ wconvert.c:873:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "̾=%s\n", (dicname)?dicname:null) ); ^~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:874:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ǡ[%s]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_delete_dic( clientp ) ^ wconvert.c:884:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_dir_list( clientp ) ^ wconvert.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:904:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_mount_dictionary( clientp ) ^ wconvert.c:910:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern MMountFlag; ~~~~~~ ^ int wconvert.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_mount_dictionary( clientp ) ^ wconvert.c:923:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_umount_dictionary( clientp ) ^ wconvert.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:940:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_rmount_dictionary( clientp ) ^ wconvert.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:958:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_mount_list( clientp ) ^ wconvert.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:979:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_convert( clientp ) ^ wconvert.c:993:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "ɤ = %s\n", ^~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_convert( clientp ) ^ wconvert.c:1015:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_convert_end( clientp ) ^ wconvert.c:1032:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ؽ\n") ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_convert_end( clientp ) ^ wconvert.c:1059:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_kanjilist( clientp ) ^ wconvert.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1088:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_resize(clientp) ^ wconvert.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_store_yomi( clientp ) ^ wconvert.c:1143:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ɤ = %s\n", ^~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_store_yomi( clientp ) ^ wconvert.c:1167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_query_extension( clientp ) ^ wconvert.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkPermissionToRead(client, dirname, dicname) ^ wconvert.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insertUserSla(dirname, dirlen) ^ wconvert.c:1338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_list_dictionary( clientp ) ^ wconvert.c:1375:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat = RkwListDic(cxnum, (unsigned char *)dirname, ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:238:46: note: passing argument to parameter here canna_export(int) RkwListDic pro((int, char *, char *, int)); ^ wconvert.c:1376:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (unsigned char *)dicnames, requestsize); ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:238:54: note: passing argument to parameter here canna_export(int) RkwListDic pro((int, char *, char *, int)); ^ wconvert.c:1383:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "\n") ); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_list_dictionary( clientp ) ^ wconvert.c:1395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_create_dictionary( clientp ) ^ wconvert.c:1406:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat = (char)RkwCreateDic(cxnum, (unsigned char *)req->dicname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:231:48: note: passing argument to parameter here canna_export(int) RkwCreateDic pro((int, char *, int)); ^ wconvert.c:1395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_create_dictionary( clientp ) ^ wconvert.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_chmod_dictionary( clientp ) ^ wconvert.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1430:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_remove_dictionary( clientp ) ^ wconvert.c:1441:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat = (char)RkwRemoveDic(cxnum, (unsigned char *)req->dicname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:240:48: note: passing argument to parameter here canna_export(int) RkwRemoveDic pro((int, char *, int)); ^ wconvert.c:1430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_remove_dictionary( clientp ) ^ wconvert.c:1449:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_rename_dictionary( clientp ) ^ wconvert.c:1459:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat = RkwRenameDic(cxnum, (unsigned char *)req->dicname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:241:48: note: passing argument to parameter here canna_export(int) RkwRenameDic pro((int, char *, char *, int)); ^ wconvert.c:1460:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (unsigned char *)&(req->dicname)[diclen], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:241:56: note: passing argument to parameter here canna_export(int) RkwRenameDic pro((int, char *, char *, int)); ^ wconvert.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_rename_dictionary( clientp ) ^ wconvert.c:1467:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_copy_dictionary( clientp ) ^ wconvert.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1490:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_word_text_dic( clientp ) ^ wconvert.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1557:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_server_stat( clientp ) ^ wconvert.c:1591:23: warning: passing 'const char *[]' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] W_REALREQUEST, WideProtoName, ^~~~~~~~~~~~~ wconvert.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_server_stat( clientp ) ^ wconvert.c:1601:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_host_ctl( clientp ) ^ wconvert.c:1610:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ۥȥꥹ\n") ); ^~~~ ~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_host_ctl( clientp ) ^ wconvert.c:1648:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_sync(clientp) ^ wconvert.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1663:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_stat( clientp ) ^ wconvert.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1689:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_lex( clientp ) ^ wconvert.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1715:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_autoconv( clientp ) ^ wconvert.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_subst_yomi( clientp ) ^ wconvert.c:1743:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ɤ = %s\n", ^~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_subst_yomi( clientp ) ^ wconvert.c:1764:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_flush_yomi( clientp ) ^ wconvert.c:1780:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(10, "RK˶\n") ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_flush_yomi( clientp ) ^ wconvert.c:1817:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_last_yomi( clientp ) ^ wconvert.c:1836:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "̤ʸ=%s\n", ^~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_get_last_yomi( clientp ) ^ wconvert.c:1849:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_remove_yomi( clientp ) ^ wconvert.c:1859:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ؽ\n") ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_remove_yomi( clientp ) ^ wconvert.c:1882:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_simple_kanji( clientp ) ^ wconvert.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:1918:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_query_dictionary( clientp ) ^ wconvert.c:1953:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat = (RkwQueryDic(cxnum, (unsigned char *)username, ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:232:47: note: passing argument to parameter here canna_export(int) RkwQueryDic pro((int, char *, char *, struct DicInfo *)); ^ wconvert.c:1954:6: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (unsigned char *)Request.type15.dicname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:232:55: note: passing argument to parameter here canna_export(int) RkwQueryDic pro((int, char *, char *, struct DicInfo *)); ^ wconvert.c:1972:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "\n") ); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_query_dictionary( clientp ) ^ wconvert.c:1984:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_get_hinshi( clientp ) ^ wconvert.c:1996:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ʻ\n") ); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_get_hinshi( clientp ) ^ wconvert.c:2014:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_store_range( clientp ) ^ wconvert.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2030:6: warning: variable 'stat' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if ((ret = RkwStoreRange(cxnum, req->yomi, maxyomi)) < 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wconvert.c:2040:58: note: uninitialized use occurs here ret = SendType7Reply(client, wStoreRange, !EXTPROTO, stat, size, bufp); ^~~~ wconvert.c:2030:2: note: remove the 'if' if its condition is always false if ((ret = RkwStoreRange(cxnum, req->yomi, maxyomi)) < 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wconvert.c:2023:9: warning: variable 'stat' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (validcontext(cxnum, client, wStoreRange)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wconvert.c:2040:58: note: uninitialized use occurs here ret = SendType7Reply(client, wStoreRange, !EXTPROTO, stat, size, bufp); ^~~~ wconvert.c:2023:5: note: remove the 'if' if its condition is always true if (validcontext(cxnum, client, wStoreRange)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wconvert.c:2019:70: note: initialize the variable 'stat' to silence this warning int cxnum = Request.type11.context, curbun, maxbun, maxyomi, stat ; ^ = 0 wconvert.c:2046:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_set_locale( clientp ) ^ wconvert.c:2049:13: warning: unused variable 'req' [-Wunused-variable] wReq15 *req = &Request.type15 ; ^ wconvert.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] irw_set_locale( clientp ) ^ wconvert.c:2064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_set_app_name( clientp ) ^ wconvert.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2087:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_notice_group_name(clientp) ^ wconvert.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2116:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] irw_through( clientp ) ^ wconvert.c:2116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_wide_request(request, data, len, username, hostname) ^ wconvert.c:2163:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug(Dmsg(5, "ɥץȥΥꥯȤ, Ĺ=%d\n", len)); ^~~~ ~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ wconvert.c:2205:24: 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 ((* ReqCallFunc)(data) < 0) { ^ wconvert.c:2227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcWideReq0(buf) ^ wconvert.c:2236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq1(buf) ^ wconvert.c:2236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq2(buf) ^ wconvert.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2263:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq3(buf) ^ wconvert.c:2263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2279:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq4(buf) ^ wconvert.c:2279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq5(buf) ^ wconvert.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq6(buf) ^ wconvert.c:2331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq7(buf) ^ wconvert.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2367:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq8(buf) ^ wconvert.c:2367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq9(buf) ^ wconvert.c:2387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq10(buf) ^ wconvert.c:2407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq11(buf) ^ wconvert.c:2437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2475:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq12(buf) ^ wconvert.c:2475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2512:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq13(buf) ^ wconvert.c:2512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2560:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq14(buf) ^ wconvert.c:2560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2591:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq15(buf) ^ wconvert.c:2591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq17(buf) ^ wconvert.c:2614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2646:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq18(buf) ^ wconvert.c:2646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2667:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq19(buf) ^ wconvert.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2690:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ProcWideReq20(buf) ^ wconvert.c:2690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wconvert.c:2826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] conveuc(src) ^ wconvert.c:2837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RkThrough( cx, command, buf, content_size, buffer_size ) ^ wconvert.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "@(#) 102.1 $Id: wconvert.c,v 1.11.2.2 2003/12/27 23:30:53 aida_s Exp $"; ^ --- main.o --- main.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int main.c:42:7: warning: variable 'parentid' set but not used [-Wunused-but-set-variable] int parentid; ^ main.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] main(argc, argv) ^ main.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_request(clientp, client_buf, data, len) ^ main.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "$Id: main.c,v 1.10 2003/09/24 14:50:40 aida_s Exp $"; ^ 5 warnings generated. --- misc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c misc.c --- wconvert.o --- 197 warnings generated. --- util.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DTCPCONN -DUNIXCONN -I/opt/pkg/include -c util.c --- misc.o --- misc.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] EarlyInit ( argc, argv ) ^ misc.c:262:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5, "ۡǥȥꥣ = %s\n", ddname ); ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ misc.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mysignal(sig, func) ^ misc.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FatalError(f) ^ misc.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nomem_msg(where) ^ misc.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Reset(sig) ^ misc.c:107:13: 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 void Reset(); ^ misc.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddrAreEqual(x, y) ^ misc.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAddrListFromName(hostname) ^ misc.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SearchAddrList(list, addrp) ^ misc.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAddrList(list) ^ misc.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckAccessControlList(hostaddrp, username) ^ misc.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetDicHome( client, cxnum ) ^ misc.c:914:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ir_debug( Dmsg(5,"ۡǥȥꥣ%s\n", dichome ); ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~ ~~~~~~~~ ./server.h:84:33: note: expanded from macro 'ir_debug' #define ir_debug( cannadebug ) cannadebug ^~~~~~~~~~ misc.c:922: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_all_other_clients(self, count) ^ misc.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[]="@(#) $Id: misc.c,v 1.16.2.4 2004/04/26 21:48:37 aida_s Exp $"; ^ --- util.o --- util.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushort2euc(src, srclen, dest, destlen) ^ util.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] euc2ushort(src, srclen, dest, destlen) ^ util.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar2ushort32(src, srclen, dest, destlen) ^ util.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushort2wchar32(src, srclen, dest, destlen) ^ util.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wchar2ushort16(src, srclen, dest, destlen) ^ util.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushort2wchar16(src, srclen, dest, destlen) ^ util.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushortstrlen(ws) ^ util.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushortmemchr(ws, ch, len) ^ util.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushortstrcpy(wd, ws) ^ util.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ushortstrncpy(wd, ws, n) ^ util.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WidenClientContext(cl, n) ^ util.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cxt(cl, n) ^ util.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] off_cxt(cl, cn) ^ util.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chk_cxt(cl, cn) ^ util.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "$Id: util.c,v 1.8 2003/09/21 12:56:29 aida_s Exp $"; ^ --- misc.o --- 16 warnings generated. --- util.o --- 15 warnings generated. --- cannaserver --- rm -f cannaserver clang -o cannaserver -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib comm.o session.o convert.o wconvert.o main.o misc.o util.o -L../lib/RK -lRK -L../lib/RKindep -lRKindep making all in ./cmd... --- all --- making all in cmd/crfreq... --- crfreq.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c crfreq.c crfreq.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] STrdup(s) ^ crfreq.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateNL(fr, size1, size2) ^ crfreq.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int crfreq.c:230:21: warning: passing arguments to '_RkCalcUnlog2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sz = _RkCalcUnlog2(hd.data[HD_L2P].var) + 1; ^ crfreq.c:248:25: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nc = _RkCandNumber(buf + off); ^ crfreq.c:255:27: warning: passing arguments to '_RkWordLength' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] off += _RkWordLength(buf + off); ^ crfreq.c:102: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(argc, argv) ^ crfreq.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: crfreq.c,v 1.5.2.2 2003/12/27 17:15:21 aida_s Exp $"; ^ 8 warnings generated. --- crfreq --- rm -f crfreq clang -o crfreq -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib crfreq.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/crxdic... --- crxdic.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHYOUJUN_GRAM=\"/var/dict/canna/canna/fuzokugo.cbd\" -I/opt/pkg/include -c crxdic.c crxdic.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STrdup(s) ^ crxdic.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyLine(dst, src, len) ^ crxdic.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extractYomi(wrec) ^ crxdic.c:290:16: warning: passing arguments to 'euctous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] p = euctous(aline, len, line, RkNumber(line)); ^ crxdic.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] open_wfile(filename, nel) ^ crxdic.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nhash(buf, key, size, unit) ^ crxdic.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_pnd(dst, c, nd, val, islast, size, unit) ^ crxdic.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_dnd(dst, nd, val, size, unit) ^ crxdic.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_dic(nd, dic) ^ crxdic.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_page(dic, pn) ^ crxdic.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_dir(dic) ^ crxdic.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] append_wlist(dic, tail, nd) ^ crxdic.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_overflow_page(dic, pg, pn, size) ^ crxdic.c:565:32: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] P[pn].candnum += _RkCandNumber(nd->ptr.w); ^ crxdic.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] assign_to_page(dic, nd, page_num, is_pn_indir) ^ crxdic.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calculate_dic_status(dic) ^ crxdic.c:673:27: warning: passing arguments to '_RkWordLength' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wlen = _RkWordLength(wrec); ^ crxdic.c:674:25: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nc = _RkCandNumber(wrec); ^ crxdic.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_ltab(gram, dic) ^ crxdic.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fil_page_header(dic) ^ crxdic.c:776:23: warning: passing arguments to 'RkParseWrec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dst = RkParseWrec(gram, ^ crxdic.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_tree(parent, dic, gram, wrec_ptr, d, top, bot, dir_nodes) ^ crxdic.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] creat_tree(dic, gram) ^ crxdic.c:905:31: warning: passing arguments to '_RkCalcUnlog2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dic->MaxCand = _RkCalcUnlog2(11); ^ crxdic.c:906:32: warning: passing arguments to '_RkCalcUnlog2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dic->PageSize = _RkCalcUnlog2(13) + 1; ^ crxdic.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_dic(name, dictype, maxpage) ^ crxdic.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeHeader(dic) ^ crxdic.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file(out, dic) ^ crxdic.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_arg(argc, argv) ^ crxdic.c:1176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getp(nd) ^ int crxdic.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crxdic.c:1193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc, argv) ^ int crxdic.c:1220:27: warning: passing arguments to 'RkOpenGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!(gram = RkOpenGram(HYOUJUN_GRAM))) { ^ crxdic.c:1193: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 (argc, argv) ^ crxdic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: crxdic.c,v 1.11.2.2 2003/12/27 17:15:21 aida_s Exp $"; ^ 35 warnings generated. --- crxdic --- rm -f crxdic clang -o crxdic -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib crxdic.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/crxgram... --- crxgram.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c crxgram.c crxgram.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(prog) ^ crxgram.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] alert(fmt, arg) ^ crxgram.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fatal(fmt, arg) ^ crxgram.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readLine(s, len, fp) ^ crxgram.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scanToken(s, token, maxtoken) ^ crxgram.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] probeIdent(hid, name) ^ crxgram.c:194:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( id = (struct ident *)malloc(sizeof(struct ident)) ) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:194:10: note: place parentheses around the assignment to silence this warning if ( id = (struct ident *)malloc(sizeof(struct ident)) ) { ^ ( ) crxgram.c:194:10: note: use '==' to turn this assignment into an equality comparison if ( id = (struct ident *)malloc(sizeof(struct ident)) ) { ^ == crxgram.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addIdent(hid, name, rownum, colnum) ^ crxgram.c:247:34: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert("column <%s> redefined", rname); ^~~~~ crxgram.c:266:34: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert("row <%s> redefined", rname); ^~~~~ crxgram.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enterIdent(fp) ^ crxgram.c:333:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( r = probeIdent(Row, (char *)name + 1) ) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:333:13: note: place parentheses around the assignment to silence this warning if ( r = probeIdent(Row, (char *)name + 1) ) { ^ ( ) crxgram.c:333:13: note: use '==' to turn this assignment into an equality comparison if ( r = probeIdent(Row, (char *)name + 1) ) { ^ == crxgram.c:337:53: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert("Undefined row vector is referred: %s", name); ^~~~ crxgram.c:352:27: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert("unknown row %s", name); ^~~~ crxgram.c:355:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( c = probeIdent(Column, (char *)name) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:355:13: note: place parentheses around the assignment to silence this warning if ( c = probeIdent(Column, (char *)name) ) ^ ( ) crxgram.c:355:13: note: use '==' to turn this assignment into an equality comparison if ( c = probeIdent(Column, (char *)name) ) ^ == crxgram.c:372:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if ( r = probeIdent(Row, (char *)name) ) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:372:18: note: place parentheses around the assignment to silence this warning else if ( r = probeIdent(Row, (char *)name) ) { ^ ( ) crxgram.c:372:18: note: use '==' to turn this assignment into an equality comparison else if ( r = probeIdent(Row, (char *)name) ) { ^ == crxgram.c:385:39: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert("unknown row/column %s", name); ^~~~ crxgram.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setVector(bits, s, op) ^ crxgram.c:413:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( r = probeIdent(Row, row) ) { ~~^~~~~~~~~~~~~~~~~~~~~~ crxgram.c:413:9: note: place parentheses around the assignment to silence this warning if ( r = probeIdent(Row, row) ) { ^ ( ) crxgram.c:413:9: note: use '==' to turn this assignment into an equality comparison if ( r = probeIdent(Row, row) ) { ^ == crxgram.c:421:33: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] alert("unknown operation %c", op); ^~ crxgram.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enterMatrix(fp) ^ crxgram.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulongcomp(i, j) ^ crxgram.c:488:20: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = strtok(namevec, SEP); ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:90:20: note: passing argument to parameter '__str' here char *strtok(char *__str, const char *__sep); ^ crxgram.c:490:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (r = probeIdent(Row, name)) ~~^~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:490:9: note: place parentheses around the assignment to silence this warning if (r = probeIdent(Row, name)) ^ ( ) crxgram.c:490:9: note: use '==' to turn this assignment into an equality comparison if (r = probeIdent(Row, name)) ^ == crxgram.c:492:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (r = probeIdent(Column, name)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ crxgram.c:492:14: note: place parentheses around the assignment to silence this warning else if (r = probeIdent(Column, name)) { ^ ( ) crxgram.c:492:14: note: use '==' to turn this assignment into an equality comparison else if (r = probeIdent(Column, name)) { ^ == crxgram.c:506:27: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nextS = scanToken(nextS, opname, sizeof(opname)); ^~~~~~ crxgram.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enterNeg(fp) ^ crxgram.c:554:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc, argv) ^ int crxgram.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] crxgram.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: crxgram.c,v 1.6 2003/03/24 04:04:25 aida_s Exp $"; ^ 30 warnings generated. --- crxgram --- rm -f crxgram clang -o crxgram -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib crxgram.o -L../../lib/RKindep -lRKindep making all in cmd/ctow... --- ctow.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c ctow.c ctow.c:49:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","","#T35", "̾","#JN", "̾","#CN", ^~~~~~~~ ctow.c:49:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","","#T35", "̾","#JN", "̾","#CN", ^~~~~~~~~~~~~~~~ ctow.c:49:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","","#T35", "̾","#JN", "̾","#CN", ^~~~~~~~ ctow.c:49:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","","#T35", "̾","#JN", "̾","#CN", ^~~~~~~~ ctow.c:50:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ͭ̾","#KK", "","#NN", ^~~~~~~~~~~~~~~~ ctow.c:50:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ͭ̾","#KK", "","#NN", ^~~~~~~~~~~~~~~~ ctow.c:51:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5", "Ը","#G5", "Ը","#S5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:51:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5", "Ը","#G5", "Ը","#S5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:51:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5", "Ը","#G5", "Ը","#S5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:52:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#T5", "ʹԸ","#N5", "йԸ","#B5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:52:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#T5", "ʹԸ","#N5", "йԸ","#B5", ^~~~ ~~~~~~~~~~~~ ctow.c:52:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#T5", "ʹԸ","#N5", "йԸ","#B5", ^~~~ ~~~~~~~~~~~~ ctow.c:53:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5", "Ը","#R5", "Ը","#W5", ^~~~ ~~~~~~~~~~~~ ctow.c:53:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5", "Ը","#R5", "Ը","#W5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:53:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5", "Ը","#R5", "Ը","#W5", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:54:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","","#KS", "","#KSr", "(Ԥ)","#C5r", ^~~~~~~~ ~~~~~~~~ ctow.c:54:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","","#KS", "","#KSr", "(Ԥ)","#C5r", ^~~~~~~~~~~~~~~~ ctow.c:54:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","","#KS", "","#KSr", "(Ԥ)","#C5r", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:54:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","","#KS", "","#KSr", "(Ԥ)","#C5r", ^~~~~~~~~~~~~~~~ ~~~~ ~~~~ ctow.c:55:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#SX", "()","#ZX","()&̾","#T30", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:55:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#SX", "()","#ZX","()&̾","#T30", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:55:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#SX", "()","#ZX","()&̾","#T30", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:56:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#kxo","()","#kxi","()","#kxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:56:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#kxo","()","#kxi","()","#kxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:56:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#kxo","()","#kxi","()","#kxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:57:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#sxe","()","#sxi","()","#sxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:57:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#sxe","()","#sxi","()","#sxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:57:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#sxe","()","#sxi","()","#sxuru", ^~~~~~~~ ~~~~~~~~ ctow.c:58:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","#L5", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:59:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5r", "Ը","#G5r", "Ը","#S5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:59:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5r", "Ը","#G5r", "Ը","#S5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:59:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#K5r", "Ը","#G5r", "Ը","#S5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:60:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#T5r", "йԸ","#B5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:60:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#T5r", "йԸ","#B5r", ^~~~ ~~~~~~~~~~~~ ctow.c:61:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5r", "Ը","#R5r", "Ը","#W5r", ^~~~ ~~~~~~~~~~~~ ctow.c:61:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5r", "Ը","#R5r", "Ը","#W5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:61:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ը","#M5r", "Ը","#R5r", "Ը","#W5r", ^~~~~~~~~~~~ ~~~~~~~~~~~~ ctow.c:62:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ƻ","#KY", "ƻ","#KYT", "ƻ","#KYna", ^~~~~~~~~~~~ ~~~~ ctow.c:62:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ƻ","#KY", "ƻ","#KYT", "ƻ","#KYna", ^~~~~~~~~~~~ ~~~~ ctow.c:62:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ƻ","#KY", "ƻ","#KYT", "ƻ","#KYna", ^~~~~~~~~~~~ ~~~~ ctow.c:63:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ƻ","#KYmi", "ƻ","#KYme", ^~~~~~~~~~~~ ~~~~ ctow.c:63:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ƻ","#KYmi", "ƻ","#KYme", ^~~~~~~~~~~~ ~~~~ ctow.c:64:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()&̾","#T00", "ư","#T04", "ư","#T06", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:64:30: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()&̾","#T00", "ư","#T04", "ư","#T06", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:64:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()&̾","#T00", "ư","#T04", "ư","#T06", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:65:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T07", "ư","#T08", "ư","#T09", ^~~~~~~~~~~~~~~~ ctow.c:65:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T07", "ư","#T08", "ư","#T09", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:65:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T07", "ư","#T08", "ư","#T09", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:66:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#T10", "ư","","#T15", "","#T16", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:66:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#T10", "ư","","#T15", "","#T16", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:66:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#T10", "ư","","#T15", "","#T16", ^~~~~~~~~~~~~~~~ ctow.c:66:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#T10", "ư","","#T15", "","#T16", ^~~~~~~~~~~~~~~~ ctow.c:67:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T31", "","#T36","","#T37", ^~~~~~~~~~~~~~~~ ctow.c:67:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T31", "","#T36","","#T37", ^~~~~~~~~~~~~~~~ ctow.c:67:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#T31", "","#T36","","#T37", ^~~~~~~~~~~~~~~~ ctow.c:68:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","ư","#T05", "","ư()","#F00", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:68:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","ư","#T05", "","ư()","#F00", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ctow.c:68:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","ư","#T05", "","ư()","#F00", ^~~~~~~~~~~~~~~~ ctow.c:68:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","ư","#T05", "","ư()","#F00", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:69:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","ư","#F01", "","ư","#F02", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:69:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","ư","#F01", "","ư","#F02", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ctow.c:69:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","ư","#F01", "","ư","#F02", ^~~~~~~~~~~~~~~~ ctow.c:69:48: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "()","ư","#F01", "","ư","#F02", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ctow.c:70:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư()","#F03", "","#F04", "","#F06", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:70:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư()","#F03", "","#F04", "","#F06", ^~~~~~~~~~~~~~~~ ctow.c:70:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư()","#F03", "","#F04", "","#F06", ^~~~~~~~~~~~~~~~ ctow.c:71:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#F12", "","#F14", "Ϣλ","#RT", "³,ư","#CJ", ^~~~~~~~~~~~~~~~ ctow.c:71:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#F12", "","#F14", "Ϣλ","#RT", "³,ư","#CJ", ^~~~~~~~~~~~~~~~ ctow.c:71:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#F12", "","#F14", "Ϣλ","#RT", "³,ư","#CJ", ^~~~ ~~~~ ctow.c:71:50: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#F12", "","#F14", "Ϣλ","#RT", "³,ư","#CJ", ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ ctow.c:72:6: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ñ","#KJ", ^~~~~~~~~~~~~~~~ ctow.c:73:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#PRE", "","#SUC", ^~~~~~~~ ~~~~~~~~ ctow.c:73:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#PRE", "","#SUC", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:74:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#NNPRE", "","Ƭ","#JS", "","#JSSUC", ^~~~~~~~ ~~~~~~~~~~~~~~~~ ctow.c:74:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#NNPRE", "","Ƭ","#JS", "","#JSSUC", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:74:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#NNPRE", "","Ƭ","#JS", "","#JSSUC", ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:74:54: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#NNPRE", "","Ƭ","#JS", "","#JSSUC", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:75:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","#JNSUC", "Ƭ̾","#CNPRE", "̾","#CNSUC1", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:75:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","#JNSUC", "Ƭ̾","#CNPRE", "̾","#CNSUC1", ^~~~~~~~ ~~~~~~~~ ctow.c:75:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "̾","#JNSUC", "Ƭ̾","#CNPRE", "̾","#CNSUC1", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:76:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#N2T17", "()&̾","#N2T30", ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:76:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#N2T17", "()&̾","#N2T30", ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:77:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#D2T35", "ƻ첽ư","#D2KY", ^~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:77:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#D2T35", "ƻ첽ư","#D2KY", ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ ctow.c:78:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#SNPRE", "̾","#CNSUC2", "","#N2T35", ^~~~~~~~ ~~~~~~~~ ctow.c:78:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#SNPRE", "̾","#CNSUC2", "","#N2T35", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:78:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ƭ","#SNPRE", "̾","#CNSUC2", "","#N2T35", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:79:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#K2T15", "","#K2T35", "Ʋ","#ND2KY", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:79:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#K2T15", "","#K2T35", "Ʋ","#ND2KY", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:79:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#K2T15", "","#K2T35", "Ʋ","#ND2KY", ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:80:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ʋ","#N2KYT", "ư","#N2T10", ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:80:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "Ʋ","#N2KYT", "ư","#N2T10", ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:81:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#N2T15","ư","#N2T18", ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:81:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "ư","#N2T15","ư","#N2T18", ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:82:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#N2R5","","#N2K5", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:82:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] "","#N2R5","","#N2K5", ^~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:86:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ask_default_hinshi_size() ^ int ctow.c:99:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (new = (char *)malloc(strlen(s) +1)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctow.c:99:11: note: place parentheses around the assignment to silence this warning if (new = (char *)malloc(strlen(s) +1)) ^ ( ) ctow.c:99:11: note: use '==' to turn this assignment into an equality comparison if (new = (char *)malloc(strlen(s) +1)) ^ == ctow.c:94: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 *salloc(s) ^ ctow.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chghinshi(hinshi, size, taiou, fsize) ^ ctow.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] read_hinshi(fp, taiou) ^ int ctow.c:165:17: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] taiou[size] = '\0'; ^~~~ ctow.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_hinshi(fp, taiou) ^ ctow.c:170: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_hindo(iroha_hinshi) ^ ctow.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] itow_write(fp, yomi, hinshi, kouho, hindo) ^ int ctow.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctow.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ctow.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int ctow.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctow.c:24:13: warning: unused variable 'rcs' [-Wunused-variable] static char rcs[]="@(#) 112.1 $Id: ctow.c,v 1.3.2.3 2003/12/27 17:15:22 aida_s Exp $"; ^ 110 warnings generated. --- ctow --- rm -f ctow clang -o ctow -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib ctow.o -L../../lib/RKindep -lRKindep making all in cmd/dpromdic... --- dpromdic.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c dpromdic.c dpromdic.c:44:25: 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 struct RkRxDic *RkwOpenRoma() ; ^ /var/tmp/work/inputmethod/canna-server/work/.buildlink/include/canna/RK.h:234:32: note: conflicting prototype is here canna_export(struct) RkRxDic * RkwOpenRoma pro((char *)); ^ dpromdic.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int dpromdic.c:90:11: warning: passing arguments to 'printch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printch(*s) ; ^ dpromdic.c:98:11: warning: passing arguments to 'printch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printch(*s) ; ^ dpromdic.c:107:11: warning: passing arguments to 'printch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printch(*s) ; ^ dpromdic.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] main(argc, argv) ^ dpromdic.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printch(s) ^ dpromdic.c:45:6: 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] void printch(); ^ dpromdic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 112.1 $Id: dpromdic.c,v 1.3.2.2 2003/12/27 17:15:22 aida_s Exp $"; ^ 9 warnings generated. --- dpromdic --- rm -f dpromdic clang -o dpromdic -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib dpromdic.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in cmd/dpxdic... --- dpxdic.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHYOUJUN_GRAM=\"/var/dict/canna/canna/fuzokugo.cbd\" -I/opt/pkg/include -c dpxdic.c dpxdic.c:80:37: warning: passing arguments to 'RkGetGramName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((ptr = (char *)RkGetGramName(gram, row)) != NULL) { ^ dpxdic.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_a_cand(gram, wrec, or) ^ dpxdic.c:124:43: warning: passing arguments to 'RkGetGramName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (gram && (ptr = (char *)RkGetGramName(gram, row))) { ^ dpxdic.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_a_icand(gram, wrec) ^ dpxdic.c:144:21: warning: passing arguments to '_RkCandNumber' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nc = _RkCandNumber(wrec); ^ dpxdic.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] show_a_wrec(gram, wrec, yomi, n) ^ dpxdic.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loadDic(dic) ^ dpxdic.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] loadPage(dic, id) ^ dpxdic.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] offset2ptr(dic, off, which) ^ dpxdic.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] off2ptr(dic, off, id) ^ dpxdic.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_nip(gram, dic, yomi, n, p, pg) ^ dpxdic.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compit(a, b) ^ dpxdic.c:347:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] show_nid(gram, dic, yomi, n, ptr) ^ dpxdic.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dpxdic.c:451:28: warning: passing arguments to '_RkCalcUnlog2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dic->pgsz = _RkCalcUnlog2(hd.data[HD_L2P].var) + 1; ^ dpxdic.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getdic(dic, filenm, dmnm) ^ dpxdic.c:460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (argc, argv) ^ int dpxdic.c:500:27: warning: passing arguments to 'RkOpenGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!(gram = RkOpenGram(HYOUJUN_GRAM))) { ^ dpxdic.c:460: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 (argc, argv) ^ dpxdic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: dpxdic.c,v 1.7.2.2 2003/12/27 17:15:22 aida_s Exp $"; ^ 20 warnings generated. --- dpxdic --- rm -f dpxdic clang -o dpxdic -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib dpxdic.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/dicar... --- dicar.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c dicar.c dicar.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] actmessage(msg, name) ^ dicar.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getatomicname(hd, name) ^ dicar.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] PrintHeader(hd) ^ dicar.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openForRead(name) ^ dicar.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openForWrite(name) ^ dicar.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] closeForWrite(fd, name) ^ dicar.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyfile(src, dst, siz) ^ dicar.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceDic( fd ) ^ dicar.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xgetDic(fd, fname) ^ dicar.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] getchild(fd, childdic) ^ dicar.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remakeDic(src, atm, dst) ^ dicar.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleteDic(src, dst, fname) ^ dicar.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doTrace(argn, args) ^ dicar.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doExtract(argn, args) ^ dicar.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doReplace(argn, args) ^ dicar.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doCreate(argn, args) ^ dicar.c:480:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doDelete(argn, args) ^ int dicar.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dicar.c:499:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dicar.c:501:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argn, args) ^ int dicar.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dicar.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: dicar.c,v 1.4.2.2 2003/12/27 17:15:22 aida_s Exp $"; ^ 22 warnings generated. --- dicar --- rm -f dicar clang -o dicar -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib dicar.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/forcpp... --- forcpp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c forcpp.c forcpp.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] e2j() ^ int forcpp.c:72:1: warning: non-void function does not return a value [-Wreturn-type] } ^ forcpp.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] j2e() ^ int forcpp.c:97:1: warning: non-void function does not return a value [-Wreturn-type] } ^ forcpp.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void catch(sig) ^ forcpp.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(n, args) ^ int forcpp.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] forcpp.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 112.1 $Id: forcpp.c,v 1.2 2003/02/01 19:34:21 aida_s Exp $"; ^ 8 warnings generated. --- forcpp --- rm -f forcpp clang -o forcpp -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib forcpp.o -L../../lib/RKindep -lRKindep making all in cmd/forsort... --- forsort.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c forsort.c forsort.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] e2j() ^ int forsort.c:61:1: warning: non-void function does not return a value [-Wreturn-type] } ^ forsort.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] j2e() ^ int forsort.c:78:1: warning: non-void function does not return a value [-Wreturn-type] } ^ forsort.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(n, args) ^ int forsort.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] forsort.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 112.1 $Id: forsort.c,v 1.2 2003/02/01 19:34:21 aida_s Exp $"; ^ 7 warnings generated. --- forsort --- rm -f forsort clang -o forsort -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib forsort.o -L../../lib/RKindep -lRKindep making all in cmd/kpdic... --- kpdic.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c kpdic.c kpdic.c:66:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"kk","","k"}, ^~~~~~~~ kpdic.c:67:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"ss","","s"}, ^~~~~~~~ kpdic.c:68:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"tt","","t"}, ^~~~~~~~ kpdic.c:69:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"hh","","h"}, ^~~~~~~~ kpdic.c:70:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"mm","","m"}, ^~~~~~~~ kpdic.c:71:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"yy","","y"}, ^~~~~~~~ kpdic.c:72:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"rr","","r"}, ^~~~~~~~ kpdic.c:73:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"ww","","w"}, ^~~~~~~~ kpdic.c:74:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"gg","","g"}, ^~~~~~~~ kpdic.c:75:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"zz","","z"}, ^~~~~~~~ kpdic.c:76:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"dd","","d"}, ^~~~~~~~ kpdic.c:77:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"bb","","b"}, ^~~~~~~~ kpdic.c:78:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"pp","","p"}, ^~~~~~~~ kpdic.c:79:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"cc","","c"}, ^~~~~~~~ kpdic.c:80:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"ff","","f"}, ^~~~~~~~ kpdic.c:81:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"jj","","j"}, ^~~~~~~~ kpdic.c:82:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"qq","","q"}, ^~~~~~~~ kpdic.c:83:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {0,"vv","","v"} ^~~~~~~~ kpdic.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] alert(fmt, arg) ^ kpdic.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] fatal(fmt, arg) ^ kpdic.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getWORD(s, news, word, maxword) ^ kpdic.c:170:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *allocs (s) ^ kpdic.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] freeallocs(roman, nKey) ^ kpdic.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compar(p, q) ^ kpdic.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int kpdic.c:291:62: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alert(gettxt("cannacmd:25", "multiply defined key <%s>"), roma); ^~~~ kpdic.c:300:50: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'char *' [-Wint-conversion] "More than %d romaji rules are given."), maxkey); ^~~~~~ kpdic.c:336:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] roman[nKey].roma = allocs(def[p].roma); ^~~~~~~~~~~ kpdic.c:337:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] roman[nKey].kana = allocs(def[p].kana); ^~~~~~~~~~~ kpdic.c:338:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] roman[nKey].temp = allocs(def[p].intr); ^~~~~~~~~~~ kpdic.c:347:51: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'char *' [-Wint-conversion] fatal("more than %d romaji rules are given.", maxkey); ^~~~~~ kpdic.c:223: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(argc, argv) ^ kpdic.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chk_dflt(c) int c ; { ^ kpdic.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 102.1 $Id: kpdic.c,v 1.4.2.2 2003/12/27 17:15:23 aida_s Exp $"; ^ 34 warnings generated. --- kpdic --- rm -f kpdic clang -o kpdic -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib kpdic.o -L../../lib/RKindep -lRKindep making all in cmd/mergewd... --- mergewd.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c mergewd.c mergewd.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] us_len(us) ^ mergewd.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] euctous(src, srclen, dest, destlen) ^ mergewd.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(n, args) ^ int mergewd.c:119:10: warning: variable 'krec' set but not used [-Wunused-but-set-variable] int krec = 0; ^ mergewd.c:108: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(n, args) ^ mergewd.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 112.1 $Id: mergewd.c,v 1.1.1.1.4.2 2003/12/27 17:15:23 aida_s Exp $"; ^ 6 warnings generated. --- mergeword --- rm -f mergeword clang -o mergeword -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib mergewd.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/splitwd... --- splitwd.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c splitwd.c splitwd.c:60:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uchar *getword(p,Word) ^ splitwd.c:77:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct tango *newtango(tsuduri,hinshi) ^ splitwd.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void savetango(tsuduri, hinshi) ^ splitwd.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void save_factor(line, nline) ^ splitwd.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_factor(tp) ^ splitwd.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] catch(sig) ^ splitwd.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] splitword(fp, name) ^ splitwd.c:221:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main( argc, argv ) ^ int splitwd.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitwd.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[] = "@(#) 112.1 $Id: splitwd.c,v 1.2.4.2 2003/12/27 17:15:23 aida_s Exp $"; ^ 10 warnings generated. --- splitword --- rm -f splitword clang -o splitword -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib splitwd.o -L../../lib/RKindep -lRKindep making all in cmd/wtoc... --- wtoc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c wtoc.c wtoc.c:58:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#T35"},{"̾","#JN"},{"̾","#CN"},{"̾&̾","#JCN"}, ^~~~~~~~ wtoc.c:58:21: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#T35"},{"̾","#JN"},{"̾","#CN"},{"̾&̾","#JCN"}, ^~~~~~~~ wtoc.c:58:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#T35"},{"̾","#JN"},{"̾","#CN"},{"̾&̾","#JCN"}, ^~~~~~~~ wtoc.c:58:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#T35"},{"̾","#JN"},{"̾","#CN"},{"̾&̾","#JCN"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:59:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ͭ̾","#KK"},{"","#NN"}, ^~~~~~~~~~~~~~~~ wtoc.c:59:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ͭ̾","#KK"},{"","#NN"}, ^~~~~~~~~~~~~~~~ wtoc.c:60:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#KSr"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:61:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#K5r"},{"Ը","#G5r"},{"Ը","#S5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:61:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#K5r"},{"Ը","#G5r"},{"Ը","#S5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:61:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#K5r"},{"Ը","#G5r"},{"Ը","#S5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:62:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#T5r"},{"ʹԸ","#N5"},{"йԸ","#B5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:62:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#T5r"},{"ʹԸ","#N5"},{"йԸ","#B5r"}, ^~~~ ~~~~~~~~~~~~ wtoc.c:62:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#T5r"},{"ʹԸ","#N5"},{"йԸ","#B5r"}, ^~~~ ~~~~~~~~~~~~ wtoc.c:63:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#M5r"},{"Ը","#R5r"},{"Ը","#W5r"}, ^~~~ ~~~~~~~~~~~~ wtoc.c:63:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#M5r"},{"Ը","#R5r"},{"Ը","#W5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:63:45: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ը","#M5r"},{"Ը","#R5r"},{"Ը","#W5r"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~ wtoc.c:64:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#KS"},{"","#KSr"},{"(Ԥ)","#C5r"}, ^~~~~~~~~~~~~~~~ wtoc.c:64:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#KS"},{"","#KSr"},{"(Ԥ)","#C5r"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~ wtoc.c:64:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#KS"},{"","#KSr"},{"(Ԥ)","#C5r"}, ^~~~~~~~~~~~~~~~ ~~~~ ~~~~ wtoc.c:65:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#SX"},{"()","#ZX"},{"()&̾","#T30"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ wtoc.c:65:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#SX"},{"()","#ZX"},{"()&̾","#T30"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ wtoc.c:65:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#SX"},{"()","#ZX"},{"()&̾","#T30"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ wtoc.c:66:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#kxo"},{"()","#kxi"},{"()","#kxuru"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:66:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#kxo"},{"()","#kxi"},{"()","#kxuru"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:66:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#kxo"},{"()","#kxi"},{"()","#kxuru"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:67:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#sxi"},{"()","#sxuru"},{"()","#sxe"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:67:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#sxi"},{"()","#sxuru"},{"()","#sxe"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:67:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#sxi"},{"()","#sxuru"},{"()","#sxe"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:68:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"()","#L5"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:69:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ƻ","#KY"}, ^~~~~~~~~~~~ ~~~~ wtoc.c:70:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#T05"},{"ư","#T05"},{"ư()","#F00"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~ wtoc.c:70:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#T05"},{"ư","#T05"},{"ư()","#F00"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~ wtoc.c:70:50: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#T05"},{"ư","#T05"},{"ư()","#F00"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~ wtoc.c:71:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#F14"},{"Ϣλ","#RT"},{"³,ư","#CJ"}, ^~~~~~~~~~~~~~~~ wtoc.c:71:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#F14"},{"Ϣλ","#RT"},{"³,ư","#CJ"}, ^~~~ ~~~~ wtoc.c:71:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#F14"},{"Ϣλ","#RT"},{"³,ư","#CJ"}, ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~ wtoc.c:72:7: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ñ","#KJ"}, ^~~~~~~~~~~~~~~~ wtoc.c:73:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ","#PRE"},{"","#SUC"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:73:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ","#PRE"},{"","#SUC"}, ^~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:74:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ","#NNPRE"},{"","#JS"},{"Ƭ","#JS"}, ^~~~~~~~ ~~~~~~~~~~~~~~~~ wtoc.c:74:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ","#NNPRE"},{"","#JS"},{"Ƭ","#JS"}, ^~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:74:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ","#NNPRE"},{"","#JS"},{"Ƭ","#JS"}, ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:75:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"","#JSSUC"}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:76:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#JNSUC"},{"Ƭ̾","#CNPRE"},{"̾","#CNSUC1"}, ^~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:76:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#JNSUC"},{"Ƭ̾","#CNPRE"},{"̾","#CNSUC1"}, ^~~~~~~~ ~~~~~~~~ wtoc.c:76:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"̾","#JNSUC"},{"Ƭ̾","#CNPRE"},{"̾","#CNSUC1"}, ^~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:77:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#N2T17"},{"()&̾","#N2T30"}, ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:77:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#N2T17"},{"()&̾","#N2T30"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:78:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#D2T35"},{"ƻ첽ư","#D2KY"}, ^~~~~~~~~~~~~~~~ ~~~~~~~~ wtoc.c:78:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"ư","#D2T35"},{"ƻ첽ư","#D2KY"}, ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~ wtoc.c:79:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ()","#PRE"},{"Ƭ()","#PRE"},{"","#T35"} ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ wtoc.c:79:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ()","#PRE"},{"Ƭ()","#PRE"},{"","#T35"} ^~~~~~~~ ~~~~~~~~ ~~~~~~~~ wtoc.c:79:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"Ƭ()","#PRE"},{"Ƭ()","#PRE"},{"","#T35"} ^~~~~~~~~~~~~~~~ wtoc.c:82: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 *salloc(s) ^ wtoc.c:97: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 *chghinshi( hinshi, taiou, fshurui ) ^ wtoc.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int read_hinshi( fp, taiou ) ^ wtoc.c:141:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wtoi_write( fp, yomi, hinshi, kouho, hindo ) ^ int wtoc.c:147:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(yomi,""); ^~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ wtoc.c:147:12: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(yomi,""); ^~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:135:27: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ wtoc.c:148:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat(kouho,""); ^~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ wtoc.c:148:12: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(kouho,""); ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:135:27: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ wtoc.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wtoi_write( fp, yomi, hinshi, kouho, hindo ) ^ wtoc.c:154:1: warning: non-void function does not return a value [-Wreturn-type] } ^ wtoc.c:156:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int suuji(kazu) ^ wtoc.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc,argv) ^ int wtoc.c:219:17: warning: passing 'uchar[10]' (aka 'unsigned char[10]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d = suuji(nd); ^~ wtoc.c:220:38: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wtoi_write( fpo, y, chghinshi( h, taiou, fshurui ), k, d ); ^ wtoc.c:220:27: warning: passing 'char *' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wtoi_write( fpo, y, chghinshi( h, taiou, fshurui ), k, d ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wtoc.c:168: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(argc,argv) ^ wtoc.c:24:13: warning: unused variable 'rcsid' [-Wunused-variable] static char rcsid[]="@(#) 112.1 $Id: wtoc.c,v 1.2.2.2 2003/12/27 17:15:23 aida_s Exp $"; ^ 70 warnings generated. --- wtoc --- rm -f wtoc clang -o wtoc -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib wtoc.o -L../../lib/RKindep -lRKindep making all in cmd/mkromdic... --- mkromdic --- rm -f mkromdic /usr/bin/cpp -traditional -D__GNUC__ -traditional -D__GNUC__ -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I../../include -DCPP='/usr/bin/cpp -traditional -D__GNUC__ -traditional -D__GNUC__ -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED ' mkromdic In file included from :417: :1:9: warning: '__GNUC__' macro redefined [-Wmacro-redefined] #define __GNUC__ 1 ^ :7:9: note: previous definition is here #define __GNUC__ 4 ^ 1 warning generated. chmod a+x mkromdic making all in cmd/mkbindic... --- mkbindic --- rm -f mkbindic /usr/bin/cpp -traditional -D__GNUC__ -traditional -D__GNUC__ -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I../../include -DCPP='/usr/bin/cpp -traditional -D__GNUC__ -traditional -D__GNUC__ -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED ' mkbindic In file included from :417: :1:9: warning: '__GNUC__' macro redefined [-Wmacro-redefined] #define __GNUC__ 1 ^ :7:9: note: previous definition is here #define __GNUC__ 4 ^ :109:9: warning: missing terminating '"' character [-Winvalid-pp-token] dic_ck="`echo $dic_name | \ ^ :112:8: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :127:16: warning: missing terminating '"' character [-Winvalid-pp-token] dic_ck="`echo $dic_name | \ ^ :131:18: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :142:14: warning: missing terminating '"' character [-Winvalid-pp-token] cpp_text="`echo $text_file | \ ^ :147:4: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :154:14: warning: missing terminating '"' character [-Winvalid-pp-token] spl_text="`echo $text_file | \ ^ :159:4: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :166:14: warning: missing terminating '"' character [-Winvalid-pp-token] bck_text="`echo $text_file | \ ^ :171:4: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :177:9: warning: missing terminating '"' character [-Winvalid-pp-token] out="`echo $text_file | \ ^ :182:4: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ :196:11: warning: missing terminating '"' character [-Winvalid-pp-token] child="`echo $text_file | \ ^ :201:4: warning: missing terminating ' character [-Winvalid-pp-token] }'`"; ^ 15 warnings generated. chmod a+x mkbindic making all in cmd/dpbindic... --- dpbindic --- rm -f dpbindic /usr/bin/cpp -traditional -D__GNUC__ -traditional -D__GNUC__ -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I../../include dpbindic In file included from :417: :1:9: warning: '__GNUC__' macro redefined [-Wmacro-redefined] #define __GNUC__ 1 ^ :7:9: note: previous definition is here #define __GNUC__ 4 ^ 1 warning generated. chmod a+x dpbindic making all in cmd/chkconc... --- chkconc.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I../../lib/RK -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHYOUJUN_GRAM=\"/var/dict/canna/canna/fuzokugo.cbd\" -I/opt/pkg/include -c chkconc.c chkconc.c:24:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(ac, av) ^ int chkconc.c:44:26: warning: passing arguments to 'RkOpenGram' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(gram = RkOpenGram(fzk))) { ^ chkconc.c:55:23: warning: passing arguments to 'RkGetGramNum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] row = RkGetGramNum(gram, av[i]); ^ chkconc.c:66:42: warning: passing arguments to 'RkGetGramName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(stdout, " %s", RkGetGramName(gram, curr.rowcol)); ^ chkconc.c:74:42: warning: passing arguments to 'RkGetGramName' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(stdout, " %s", RkGetGramName(gram, curr.rowcol)); ^ chkconc.c:24: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) ^ 6 warnings generated. --- chkconc --- rm -f chkconc clang -o chkconc -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib chkconc.o -L../../lib/RK -lRK -L../../lib/RKindep -lRKindep making all in cmd/canlisp... --- canlisp.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c canlisp.c canlisp.c:40:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int canlisp.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] canlisp.c:24:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "$Id: canlisp.c,v 1.3 2003/10/02 07:40:30 aida_s Exp $"; ^ 3 warnings generated. --- canlisp --- rm -f canlisp clang -o canlisp -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib canlisp.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in cmd/cannacheck... --- main.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DCHECK_COMMAND -I/opt/pkg/include -c main.c main.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv,envp) ^ int main.c:76:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf(" \"%s\" ³ޤ\n", p); ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:76:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf(" \"%s\" ³ޤ\n", p); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~ main.c:78:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("³ΥФǤ\n"); ^~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ main.c:36: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(argc, argv,envp) ^ main.c:23:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "@(#) 102.1 $Id: main.c,v 1.6.2.2 2003/12/27 17:15:21 aida_s Exp $"; ^ 6 warnings generated. --- cannacheck --- rm -f cannacheck clang -o cannacheck -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib main.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in cmd/cannastat... --- cannastat.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c cannastat.c cannastat.c:132: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(argc, argv) ^ cannastat.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_wide_reply(reply, len, argflag, flag) ^ cannastat.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DispInfo( client, flag ) ^ cannastat.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DispProto( client ) ^ cannastat.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateData( readbuf, who, cinfolen ) ^ cannastat.c:616: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_check_str(dst, src, len) ^ cannastat.c:633: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_check_str_adv(dst, recvlen, receivep, requiredsize) ^ 7 warnings generated. --- cannastat --- rm -f cannastat clang -o cannastat -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib cannastat.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in cmd/cshost... --- cshost.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c cshost.c cshost.c:68: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(argc, argv) ^ cshost.c:155:16: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wp += strlen( wp ) + 1 ; ^~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ cshost.c:160:17: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wp += strlen( wp ) + 1 ; ^~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ cshost.c:24:13: warning: unused variable 'sccs_id' [-Wunused-variable] static char sccs_id[]="@(#) NEC UNIX( PC-UX/EWS-UX ) cshost.c 2.1 91/11/11 11:17:51"; ^ cshost.c:25:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "$Id: cshost.c,v 1.3.2.2 2003/12/27 17:15:22 aida_s Exp $"; ^ 5 warnings generated. --- cshost --- rm -f cshost clang -o cshost -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib cshost.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in cmd/catdic... --- can.o --- --- rutil.o --- --- can.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c can.c --- rutil.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c rutil.c rutil.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RkDefineLine(cx_num, name, line) ^ int rutil.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rutil.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] CopyDic(cx_num, dirname, dicname1, dicname2, mode) ^ int rutil.c:212:31: warning: passing arguments to 'RkGetWordTextDic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((ret = RkGetWordTextDic(cx_num, dirname, dic1_bk, buf, BUFLEN)) >= 0) { ^ rutil.c:223:6: warning: call to undeclared function 'RkCreateDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RkCreateDic(cx_num, dicname2, mode); ^ rutil.c:225:12: warning: call to undeclared function 'rmDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)rmDictionary(cx_num, dicname2 ,mode); ^ rutil.c:248:7: warning: call to undeclared function 'PrintMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintMessage(ret, dic1_bk); ^ rutil.c:250:2: warning: call to undeclared function 'RkCreateDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RkCreateDic(cx_num, dicname2, mode); ^ rutil.c:252:8: warning: call to undeclared function 'rmDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)rmDictionary(cx_num,dicname2, mode); ^ rutil.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] CopyDic(cx_num, dirname, dicname1, dicname2, mode) ^ rutil.c:261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintMessage(ret, dicname) ^ int rutil.c:274:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_mem); ^~~~~~~ rutil.c:274:27: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_mem); ^ "%s", rutil.c:300:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_abnl); ^~~~~~~~ rutil.c:300:23: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_abnl); ^ "%s", rutil.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintMessage(ret, dicname) ^ rutil.c:304:1: warning: non-void function does not return a value [-Wreturn-type] } ^ rutil.c:306:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] makeDictionary(cn, dicname, mode) ^ int rutil.c:324:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:324:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:335:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_mnt); ^~~~~~~ rutil.c:335:26: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_mnt); ^ "%s", rutil.c:341:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_fq); ^~~~~~ rutil.c:341:28: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_fq); ^ "%s", rutil.c:348:12: warning: call to undeclared function 'RkCreateDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] switch ( RkCreateDic( cn, dicname, mode) ) { ^ rutil.c:362:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_mem); ^~~~~~~ rutil.c:362:27: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_mem); ^ "%s", rutil.c:383:9: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdin)) != 0) { ^ rutil.c:424:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_cnt); ^~~~~~~ rutil.c:424:26: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_cnt); ^ "%s", rutil.c:432:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:432:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:439:12: warning: call to undeclared function 'RkCreateDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] switch ( RkCreateDic( cn, dicname, mode) ) { ^ rutil.c:451:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_mem); ^~~~~~~ rutil.c:451:27: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_mem); ^ "%s", rutil.c:474:9: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdin)) != 0) { ^ rutil.c:512:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_fq); ^~~~~~ rutil.c:512:26: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_fq); ^ "%s", rutil.c:516:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_cnt); ^~~~~~~ rutil.c:516:26: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_cnt); ^ "%s", rutil.c:529:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:529:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makeDictionary(cn, dicname, mode) ^ rutil.c:559:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:559:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:570:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_mnt); ^~~~~~~ rutil.c:570:26: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_mnt); ^ "%s", rutil.c:576:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_fq); ^~~~~~ rutil.c:576:29: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_fq); ^ "%s", rutil.c:583:11: warning: call to undeclared function 'RkRemoveDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] switch (RkRemoveDic(cn, dicname, mode)) { ^ rutil.c:611:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_cnt); ^~~~~~~ rutil.c:611:27: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_cnt); ^ "%s", rutil.c:619:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:619:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:626:11: warning: call to undeclared function 'RkRemoveDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] switch (RkRemoveDic(cn, dicname, mode)) { ^ rutil.c:654:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_cnt); ^~~~~~~ rutil.c:654:27: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_cnt); ^ "%s", rutil.c:662:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr, msg_abnl); ^~~~~~~~ rutil.c:662:24: note: treat the string as an argument to avoid this (void)fprintf(stderr, msg_abnl); ^ "%s", rutil.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rmDictionary(cn, dicname,mode) ^ rutil.c:675:41: warning: parameter 'j' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:38: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:35: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:32: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:29: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:26: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:23: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:20: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:17: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:14: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Message(fmt, a, b, c, d, e, f, g, h, i, j) ^ rutil.c:675:1: warning: a function definition 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, h, i, j) ^ rutil.c:27:13: warning: unused variable 'rcs' [-Wunused-variable] static char rcs[] = "@(#) 112.1 $Id: rutil.c,v 1.3.2.2 2003/12/27 17:15:21 aida_s Exp $"; ^ --- can.o --- can.c:81:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern RkDeleteLine(); ~~~~~~ ^ int can.c:82:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern RkDefineLine(); ~~~~~~ ^ int can.c:83:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern rmDitionary(); ~~~~~~ ^ int can.c:284:12: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:232", "Process was intrrupted.")); ^ can.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] StopAll(sig) ^ can.c:302:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(r_file); ^ can.c:318:10: warning: call to undeclared function 'RkCreateDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) RkCreateDic(cx_num, r_dic, mode); ^ can.c:320:10: warning: call to undeclared function 'rmDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) rmDictionary(cx_num, r_dic , mode ); ^ can.c:326:12: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:232", "Process was intrrupted.")); ^ can.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefreshAll(sig) ^ can.c:352:5: warning: call to undeclared function 'RkwGetProtocolVersion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] RkwGetProtocolVersion(&majv, &minv); ^ can.c:418:22: warning: passing arguments to 'RkDeleteLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = RkDeleteLine(cx_num, r_dic, line) ; ^ can.c:421:22: warning: passing arguments to 'RkDefineLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = RkDefineLine(cx_num, r_dic, line) ; ^ can.c:424:13: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:59", "write error \"%s\""), line); ^ can.c:427:13: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:60", ^ can.c:431:13: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:61", ^ can.c:440:12: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(""); ^ can.c:442:9: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:233", "too long line at %d"),lineno); ^ can.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseFile(fp) ^ can.c:453:9: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:64", ^ can.c:458:9: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:65", ^ can.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dicname_chk(dic) ^ can.c:470:37: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] struct passwd *pass = getpwuid( getuid() ); ^ can.c:491:29: 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 *username = NULL, *getenv(), *getlogin() ; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ can.c:493:37: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] struct passwd *pass = getpwuid( getuid() ) ; ^ can.c:518:11: warning: call to undeclared function 'RkChmodDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkChmodDic(cx_num,opt_dic1,mode) ; ^ can.c:561:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ovwrite_chk(dicname,mode) ^ int can.c:566:11: warning: call to undeclared function 'RkChmodDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkChmodDic(cx_num,dicname,mode) ; ^ can.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ovwrite_chk(dicname,mode) ^ can.c:610:16: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) Message(gettxt("cannacmd:63", ^ can.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Addwords(fp) ^ can.c:619:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] add_main (argc,argv) ^ int can.c:630:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argv); ^ can.c:638:9: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdout)) == 0) { ^ can.c:647:13: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:66", ^ can.c:663:12: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:69", "Addwords has done on \"%s\"."), r_dic); ^ can.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_main (argc,argv) ^ can.c:672:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cat_main(argc,argv) ^ int can.c:676:11: 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] FILE *fopen(), *fp = stdout; ^ can.c:691:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:758:10: warning: call to undeclared function 'RkGetWordTextDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (RkGetWordTextDic(cx_num,dirnamep,dicname_bk,buf,BUFLEN) >= 0) { ^ can.c:779:5: warning: call to undeclared function 'DownLoadDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(DownLoadDic(fp, dirnamep) < 0) { ^ can.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cat_main(argc,argv) ^ can.c:791:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DownLoadDic(fp, dirname) ^ int can.c:808:13: warning: call to undeclared function 'RkGetWordTextDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((ret = RkGetWordTextDic(cx_num,dirname,dicname_bk,buf, ^ can.c:830:6: warning: call to undeclared function 'PrintMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintMessage(ret, dicname); ^ can.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DownLoadDic(fp, dirname) ^ can.c:842:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cp_main(argc,argv) ^ int can.c:860:3: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:913:13: warning: call to undeclared function 'RkCopyDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkCopyDic(cx_num,dirnamep,dicname1,dicname2,mode_cp); ^ can.c:915:8: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdin)) != 0) { ^ can.c:926:14: warning: call to undeclared function 'RkRemoveDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkRemoveDic(cx_num,dicname2,mode_cp); ^ can.c:936:5: warning: call to undeclared function 'PrintMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintMessage(ret,dicname1); ^ can.c:950:5: warning: call to undeclared function 'PrintMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintMessage(ret,dicname2); ^ can.c:953:5: warning: call to undeclared function 'PrintMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintMessage(ret,dicname1); ^ can.c:976:11: warning: call to undeclared function 'makeDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (makeDictionary(cx_num, dicname2, mode) < 0) { ^ can.c:985:10: warning: call to undeclared function 'CopyDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(CopyDic(cx_num, dirnamep, dicname1, dicname2, mode)) { ^ can.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp_main(argc,argv) ^ can.c:1003:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] del_main (argc,argv) ^ int can.c:1014:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1023:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdin)) == 0) { ^ can.c:1030:13: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:115", ^ can.c:1047:12: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:118", "Delwords has done on \"%s\"."), r_dic); ^ can.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] del_main (argc,argv) ^ can.c:1057:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ls_main(argc,argv) ^ int can.c:1082:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1176:14: warning: call to undeclared function 'RkListDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] bufcnt = RkListDic(cx_num, user + user_offset, buf, BUFLEN ); ^ can.c:1186:12: warning: call to undeclared function 'RkChmodDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkChmodDic(cx_num,p,mode); ^ can.c:1239:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void)fprintf(stderr,msg_abnl); ^~~~~~~~ can.c:1239:27: note: treat the string as an argument to avoid this (void)fprintf(stderr,msg_abnl); ^ "%s", can.c:1062:12: warning: unused variable 'arg' [-Wunused-variable] int i, arg, j; ^ can.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ls_main(argc,argv) ^ can.c:1262:9: warning: call to undeclared function 'makeDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (makeDictionary(cx_num, (unsigned char *)r_dic, mode) != 0) { ^ can.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Upload(fp, flag) ^ can.c:1274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] mk_main (argc,argv) ^ int can.c:1293:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1300:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(stderr,msg_sfq); ^~~~~~~ can.c:1300:31: note: treat the string as an argument to avoid this (void) fprintf(stderr,msg_sfq); ^ "%s", can.c:1304:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] (void) fprintf(stderr,msg_l); ^~~~~ can.c:1304:31: note: treat the string as an argument to avoid this (void) fprintf(stderr,msg_l); ^ "%s", can.c:1318:11: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isatty(fileno(stdout)) == 0) { ^ can.c:1327:11: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(gettxt("cannacmd:149", ^ can.c:1345:14: warning: passing arguments to 'Message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Message(""); ^ can.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mk_main (argc,argv) ^ can.c:1367:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] mv_main(argc,argv) ^ int can.c:1384:3: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1412:13: warning: call to undeclared function 'renameDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = renameDictionary(cx_num, dic1, dic2, mode); ^ can.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mv_main(argc,argv) ^ can.c:1421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] renameDictionary(cn, dicname1, dicname2, force) ^ int can.c:1433:12: warning: call to undeclared function 'RkRenameDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] switch ( RkRenameDic( cn, dicname1, dicname2, force) ) { ^ can.c:1494:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,msg_abnl ); ^~~~~~~~ can.c:1494:22: note: treat the string as an argument to avoid this fprintf(stderr,msg_abnl ); ^ "%s", can.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] renameDictionary(cn, dicname1, dicname2, force) ^ can.c:1510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] rm_main(argc,argv) ^ int can.c:1522:3: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1542:13: warning: call to undeclared function 'rmDictionary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = rmDictionary(cx_num, rm_dic, mode) ; ^ can.c:1514:8: warning: unused variable 'i' [-Wunused-variable] int i, j , ret , undel ; ^ can.c:1515:7: warning: unused variable 'isflag' [-Wunused-variable] int isflag = 0; ^ can.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rm_main(argc,argv) ^ can.c:1570:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ch_main(argc,argv) ^ int can.c:1575:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1587:11: warning: call to undeclared function 'RkChmodDic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkChmodDic(cx_num,opt_dic1,mode); ^ can.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ch_main(argc,argv) ^ can.c:1624:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sy_main(argc,argv) ^ int can.c:1629:5: warning: call to undeclared function 'scan_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scan_opt(argc,argv,&argc); ^ can.c:1628:15: warning: unused variable 'mode' [-Wunused-variable] int ret ,mode ; ^ can.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sy_main(argc,argv) ^ can.c:1661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kill_main(argc,argv) ^ int can.c:1709:11: warning: call to undeclared function 'RkKillServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ret = RkKillServer(); ^ can.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kill_main(argc,argv) ^ can.c:1735:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] can_ver() ^ int can.c:1776:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc,argv) ^ int can.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] can.c:1813:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] scan_opt(argc,argv,argcp) ^ int can.c:1871:4: warning: call to undeclared function 'shrink_opt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] shrink_opt(argc,p,2); ^ can.c:1850:17: warning: unused variable 'i' [-Wunused-variable] int opt_code , i ; ^ can.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_opt(argc,argv,argcp) ^ can.c:2016:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shrink_opt(argc,argv,n) ^ int can.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] can.c:2024:1: warning: non-void function does not return a value [-Wreturn-type] } ^ can.c:24:13: warning: unused variable 'rcs' [-Wunused-variable] static char rcs[] = "@(#) 112.1 $Id: can.c,v 1.4 2003/02/01 19:34:20 aida_s Exp $"; ^ --- rutil.o --- 53 warnings generated. --- RKdelline.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I../../include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c RKdelline.c --- can.o --- 117 warnings generated. --- RKdelline.o --- RKdelline.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RkDeleteLine(cx_num, name, line) ^ int RKdelline.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RKdelline.c:23:13: warning: unused variable 'rcs_id' [-Wunused-variable] static char rcs_id[] = "@(#) 112.1 $Id: RKdelline.c,v 1.3 2003/10/02 07:40:30 aida_s Exp $"; ^ 3 warnings generated. --- catdic --- rm -f catdic clang -o catdic -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib can.o rutil.o RKdelline.o -Wl,-rpath,/opt/pkg/lib -L/opt/pkg/lib -lcanna -L../../lib/RKindep -lRKindep making all in ./doc... => Creating /var/tmp/work/inputmethod/canna-server/work/.rc.d/canna