* Package: app-i18n/skkfep-0.87-r1:0 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking skkfep-0.87.tar.gz to /var/tmp/portage/app-i18n/skkfep-0.87-r1/work >>> Source unpacked in /var/tmp/portage/app-i18n/skkfep-0.87-r1/work >>> Preparing source in /var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87 ... * Applying skkfep-gentoo.patch ... [ ok ] * Applying skkfep-system-dic.patch ... [ ok ] * Applying skkfep-annotation.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-24T18:39)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87 ... make -j4 CC=clang 'OPTIMIZE=-O2 -pipe -march=native -fno-diagnostics-color -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type -Werror=implicit-function-declaration -Werror=implicit-int' 'EXTRALIBS=-lncurses -ltinfo' awk -f extrpar `grep 'configs/.*\.h' config.h | sed 's/.*\(configs\/.*\.h\).*/\1/'` > genMakefile awk -f extrpar config.h | cat - protoMakefile >> genMakefile make -f genMakefile all make[1]: Entering directory '/var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87' clang -DUSE_LOCALE -O2 -pipe -march=native -fno-diagnostics-color -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type -Werror=implicit-function-declaration -Werror=implicit-int -c -o jc.o jc.c clang -DUSE_LOCALE -O2 -pipe -march=native -fno-diagnostics-color -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type -Werror=implicit-function-declaration -Werror=implicit-int -c -o fep.o fep.c clang -DUSE_LOCALE -O2 -pipe -march=native -fno-diagnostics-color -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type -Werror=implicit-function-declaration -Werror=implicit-int -c -o connsh.o connsh.c clang -DUSE_LOCALE -O2 -pipe -march=native -fno-diagnostics-color -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type -Werror=implicit-function-declaration -Werror=implicit-int -c -o readwrite.o readwrite.c jc.c:108: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 previous declaration [-Wdeprecated-non-prototype] 108 | FILE *file_open(),*popen(); | ^ /usr/include/stdio.h:887:14: note: conflicting prototype is here 887 | extern FILE *popen (const char *__command, const char *__modes) | ^ jc.c:110:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | main(argc,argv) | ^ | int jc.c:127:3: error: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | usage(); | ^ jc.c:132:32: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 132 | printf("%c\n",checkKanjiCode(stdin)); | ^ jc.c:136:18: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 136 | f = file_open(argv[i],"r"); | ^ jc.c:137:33: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 137 | printf("%c\n",checkKanjiCode(f)); | ^ jc.c:156:30: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 156 | cvchar[1] = checkKanjiCode(f); | ^ jc.c:166:17: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 166 | f = file_open(argv[2],"r"); | ^ jc.c:168:30: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 168 | cvchar[1] = checkKanjiCode(f); | ^ jc.c:182:2: error: call to undeclared function 'doConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | doConv(nargc,nargv,cOption[1],cOption[2]); | ^ jc.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] 110 | main(argc,argv) | ^ jc.c:188:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | doConv(argc,argv,fromCode,toCode) | ^ | int jc.c:210:5: error: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | usage(); | ^ jc.c:216:17: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 216 | f = file_open(argv[i],"r"); | ^ jc.c:218:4: error: call to undeclared function 'conv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | conv(Ibuf,Obuf,fromCode,toCode); | ^ jc.c:226:4: error: call to undeclared function 'conv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | conv(Ibuf,Obuf,fromCode,toCode); | ^ jc.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] 188 | doConv(argc,argv,fromCode,toCode) | ^ jc.c:235:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | conv(is,os,fc,tc) | ^ | int jc.c:245:23: 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] 245 | (*ToSJ[i].routine)(is,mbuf); | ^ jc.c:249:3: error: call to undeclared function 'n_impr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | n_impr(cOption); | ^ jc.c:252:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | strcpy(mbuf,is); | ^~~~ /usr/include/bits/string_fortified.h:77:33: note: passing argument to parameter '__dest' here 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^ jc.c:259:25: 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] 259 | (*FromSJ[i].routine)(mbuf,os); | ^ jc.c:263:3: error: call to undeclared function 'n_impr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | n_impr(cOption); | ^ jc.c:266:13: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | strcpy(os,mbuf); | ^~~~ /usr/include/bits/string_fortified.h:77:64: note: passing argument to parameter '__src' here 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^ jc.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 235 | conv(is,os,fc,tc) | ^ jc.c:269:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 269 | n_impr(s) | ^ | int jc.c:273:2: error: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | usage(); | ^ jc.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] 269 | n_impr(s) | ^ jc.c:277:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | putSFT(pptr,code) /* Put Shift in/out code */ | ^ | int jc.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] jc.c:284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 284 | uchar getSLb(ptr,ub) /* Get Shift-JIS Lower byte */ | ^ jc.c:308:9: warning: passing arguments to 'cConvSJ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 308 | cConvSJ(is,buf); | ^ jc.c:301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 301 | void cConvSP(is,os) | ^ jc.c:75:56: 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] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ jc.c:344:9: warning: passing arguments to 'cConvES' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 344 | cConvES(buf,os); | ^ jc.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 324 | void cConvPS(is,os) | ^ jc.c:75:66: 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] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ jc.c:351:9: warning: passing arguments to 'cConvSJ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 351 | cConvSJ(is,os); | ^ jc.c:347:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 347 | void cConvSE(is,os) | ^ jc.c:75:26: 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] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ jc.c:362:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 362 | putSFT(&q,SIcode); | ^~~~~~ jc.c:379:15: connsh.cwarning: :passing 'char *'13 :to36 :parameter warning: of atype function'unsigned char *' declaration convertswithout betweena pointersprototype tois integer types deprecatedwhere inone allis versionsof ofthe Cunique and plainis 'char'treated typeas anda thezero-parameter other prototypeis innot C2x,[-Wpointer-sign] conflicting with a379 | previous declaration p[-Wdeprecated-non-prototype]u tSFT(&q,SIco d13e | )e;x t e| r ^~~~~~n struct passwd *getpwent(), *getpwuid(), *getpwnam(); | ^ /usr/include/pwd.h:110:23: note: conflicting prototype is here 110 | extern struct passwd *getpwuid (__uid_t __uijc.cd:)396;: 15 :| ^warning: passing 'char *' to parameter of typeconnsh.c 'unsigned char *' converts :between13 :pointers49 :to warning: integera typesfunction wheredeclaration onewithout isa ofprototype theis unique deprecated plainin 'char'all typeversions andof theC otherand isis nottreated [-Wpointer-sign]as a zero-parameter 396prototype | in C2x, pconflictingu twithS FaT (previous& qdeclaration,S O c[-Wdeprecated-non-prototype]o de); | ^~~~~~ 13 | extern struct passwd *getpwent(), *getpwuid(), *gejc.ct:p354w:n6a:m (warning: )a; function | definition ^ without a prototype/usr/include/pwd.h :is116 :deprecated23 :in note: allconflicting versions ofprototype Cis andhere is not supported in C2x [-Wdeprecated-non-prototype]116 | ex t354e | rvno isdt rcuCcotn vpSaJs(siwsd, o*sg)e t p/w*n aCmo n(vceornts tS hcihfatr- J*I_S_ ntaom eJ)I S_/_rneoanln uJlIlS /(E(U1C) )*/; | | ^ ^ jc.c:75: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] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ connsh.c:111:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | establishShell() | ^ | int connsh.c:115:12: warning: a function jc.cdeclaration: 419without: 5a: prototypeerror: callis to deprecatedundeclared infunction all'put_js'; versionsISO ofC99 Cand andlater isdo treated notas supporta implicitzero-parameter function prototypedeclarations in C2x,[-Wimplicit-function-declaration] conflicting with a previous419 | declaration [-Wdeprecated-non-prototype] put_ j115s | ( *cihpa,r* ( i*pp+,1*)g,eotpe)n;v ( )| ; ^ | ^ /usr/include/stdlib.h:jc.c773::41914::5 :note: conflictingnote: didprototype youis meanhere 'puts'? 773 | extern char *getenv (const char *__name) __THROW __no/usr/include/stdio.hn:n719u:l12l: (note: ('puts'1 )declared) here_ _wur; 719 | | e ^x tern int puts (const char *__s); | ^ jc.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 405 | void cConvJS(is,os) /* Convert JIS to Shift-JIS */ | ^ jc.c:75: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 subsequent definition [-Wdeprecated-non-prototype] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ jc.c:447:4: error: call to undeclared function 'put_js'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | put_js(ub,lb,op); | ^ jc.c:436:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 436 | void cConvES(is,os) /* Convert EUC to Shift-JIS */ | ^ jc.c:75:36: 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] 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^ jc.c:457:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] connsh.c :457133 | :p2u:t _error: jcalls (tou bundeclared, lfunctionb ,'getDevice';o pISO) C99 | and^ later| intdo not support implicit function declarations [-Wimplicit-function-declaration] 133 | getDevice(&master,&slajc.cv:e457):;1 : | warning: ^a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jc.c:476:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 476 | FILE *file_open(fn,m) | ^ jc.c:108: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] 108 | FILE *file_open(),*popen(); | ^ jc.c:503:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | put_js(*ip,*(ip+1),op); | ^~ jc.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 487 | void cConvAS(is,os) /* Convert JIS to Shift-JIS */ | ^ jc.c:75:46: 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] 75 | void cConvSJ(),connsh.cc:C137o:n2v:J Serror: ()call, ctoC oundeclaredn vfunctionS E'set_winsize';( )ISO, cCC99o nandv E Slater( )do, cnotC osupportn vimplicitA Sfunction( )declarations,c C o[-Wimplicit-function-declaration]n vSP(), c137C | o nsvePtS_(w)i;n s | i ^z e(master); | ^ jc.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 522 | checkKanjiCode(f) | ^ jc.c:608:1: error: type specifier missing, defaults to 'int'; ISO C99 and laterconnsh.c : 138do: 2not: supporterror: callimplicit toint undeclared[-Wimplicit-int] function 'setEnvirons'; ISO608 | C99u sanda g elater( )do not| ^support implicit| intfunction declarations [-Wimplicit-function-declaration] 138 | setEnvirons(); | ^ readwrite.c:42:1: error: type specifier missing, defaults to 'int'; ISO C99 and 43 warning s and 17 errorslater generated . do not support implicit int [-Wimplicit-int] 42 | checkStatusAndConvCode(c,ic,oc,stat,ostat,optr,olen) | ^ | int connsh.c:196:3: error: call to undeclared function 'set_tty_sane'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | set_tty_sane(slave); | ^ connsh.c:202:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 202 | seteuid(getuid()); | ^~~~~~~ ~~~~~~~~ readwrite.c:84:4: error: call to undeclared function 'convCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | convCode(stat->lastByte,c,buf,ic,oc); | ^ connsh.c:230:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | getDevice(master,slave) | ^ | int readwrite.c:127:3: error: call to undeclared function 'convCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | convCode(stat->lastByte,c,buf,ic,oc); | ^ connsh.c:233:6: error: call to undeclared function 'openpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | if (openpty(master, slave, SlaveName, | ^ connsh.c:233:6: note: did you mean 'openat'? /usr/include/fcntl.h:233:12: note: 'openat' declared here 233 | extern int opreadwrite.c:en42a:1t: (warning: ian tfunction _definition_ fwithoutd ,a cprototypeo niss t deprecatedc hina rall *versions_ _off iCl eand, isi nnott supported_ _ino flC2xa g ,[-Wdeprecated-non-prototype] ...) 42 | | c ^h eckStatusAndConvCode(c,ic,oc,stat,ostat,optr,olen) | ^ connsh.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 230 | getDevice(master,slave) | ^ connsh.c:312:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]readwrite.c :204: 1312: | ferror: rtypee especifierD emissing,v idefaultsc eto( )'int'; ISO| ^C99 and| int later do not support implicit int [-Wimplicit-int] 204 | syncStatus(ttyno,ic,oc,istatus,ostatus) | ^ | int readwrite.c:224:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 224 | write(ttyno,codeMode[oc].socode,codeMode[oc].so_len); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connsh.c:314:readwrite.c:237:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 237 | write(ttyno,codeMode[oc].sicode,codeMode[oc].si_len); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2: error: readwrite.ccall to :undeclared204 :function1 :'chmod'; ISO C99 andwarning: alater do functionnot definitionsupport withoutimplicit afunction prototypedeclarations is [-Wimplicit-function-declaration] deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 204 | syncStatus(t t314y | n oc,himco,do(cS,liasvteaNtame, 0666); u s| , ^o status) | ^ readwrite.c:246:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 246 | writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) | ^ | intconnsh.c :315:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fep.c 315: | cho93w:n18(:S lerror: aparameterv e'code'N awasm enot, declared,0 ,defaults 0to) ;'int'; ISO| ^~~~~ ~~~~~~~~~~~~~~~ C99 and later do not support implicit int [-Wimplicit-int] 93 | kanjicode2string(code) | ^ 94 | { readwrite.c:263:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 263 | write(ttyno,wbuf,b); | ^~~~~ ~~~~~~~~~~~~ fep.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 93 | ka6n warningjsi and c9o errordsreadwrite.ce generated:2. 278s:t3r:i nwarning: gignoring( creturno dvaluee )of function| ^declared with 'warn_unused_result' attribute [-Wunused-result] 278 | write(ttyno,wbuf,b); | ^~~~~ ~~~~~~~~~~~~ readwrite.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] 246 | writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) | ^ fep.c:109:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | main(argc,argv,envp) | ^ | int readwrite.c:319:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 319 | writes(s) | ^ | int fep.c:125:24: warning: passing arguments to 'decideCode' without areadwrite.c :prototype319 :is1 : deprecatedwarning: ain functionall definitionversions withoutof aC prototypeand isis notdeprecated supportedin inall C2xversions of[-Wdeprecated-non-prototype] C and is not125 | supported in OC2xu t C[-Wdeprecated-non-prototype]o de = decideCode(argv[i]+2); | ^ readwrite.c:326:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 326 | writefep.c1:(127c:)26 : | warning: ^passing arguments| intto 'decideCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 127 | Writereadwrite.cC:o326d:e1 := warning: dae cfunctioni ddefinitione Cwithouto dae (prototypea risg v [deprecatedi ]in+ 2all) ;versions of| ^C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:332:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | writeShTty(s,l) | ^ | int readwrite.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:340:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 340 | writeTty(s,l) | ^ | int readwrite.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:348:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 348 | writeShell1(c) | ^ | int readwrite.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:354:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | writeShells(s) | ^ | int readwrite.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] readwrite.c:361:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 361 | writeTtyShell1(c) | ^ | int readwrite.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] readwrite.c:367:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 367 | writeTtyShells(s) | ^ | int readwrite.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] readwrite.c:374:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | bell() | ^ | int readwrite.c:379:1: error: type specifier missing, defaults to 'int'; ISO C99 and later dofep.c not: 168support: 4implicit: interror: call[-Wimplicit-int] to undeclared function379 | c'setEscape';o nISOv CC99o dande (laterc 1 ,doc 2not, osupportb uimplicitf ,functioni cdeclarations, o c[-Wimplicit-function-declaration]) | ^ | 168int | setEscape(SimpleEsc); | ^ fep.c:172:4: error: call to undeclared function 'setEscape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | setEscape(ViEsc); | ^ fep.c:176:4: error: call to undeclared function 'setEscape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | setEscape(EmacsEsc); | ^ readwrite.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 16 warnings and 15 errors generated. fep.c:220:2: error: call tomake[1]: *** [: jc.o] Error 1 undeclared function 'setKanaKey'; make[1]: *** Waiting for unfinished jobs.... ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | setKanaKey(); | ^ fep.c:221:2: error: call to undeclared function 'getTCstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | getTCstr(); | ^ make[1]: *** [: connsh.o] Error 1 fep.c:222:2: error: call to undeclared function 'tty_ready'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | tty_ready(); | ^ fep.c:223:2: error: call to undeclared function 'get_winsize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | get_winsize(); | ^ fep.c:224:2: error: call to undeclared function 'set_tty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | set_tty(); | ^ fep.c:225:2: error: call to undeclared function 'set_int'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | set_int(); | ^ fep.c:232:19: warning: passing arguments to 'openSKK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 232 | UserDic = openSKK(UserDicName); | ^ fep.c:234:21: warning: passing arguments to 'openSKK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 234 | SystemDic = openSKK(SYSTEM_DIC_NAME); | ^ make[1]: *** [: readwrite.o] Error 1 fep.c:237:3: error: call to undeclared function 'reset_tty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | reset_tty(); | ^ fep.c:238:3: error: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | Exit(1); | ^ fep.c:242:6: error: call to undeclared function 'openSKKserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | if (openSKKserv() != -1) | ^ fep.c:247:2: error: call to undeclared function 'establishShell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | establishShell(); | ^ fep.c:264:5: error: call to undeclared function 'writeShTty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | writeShTty(shellBuf,i); | ^ fep.c:276:10: warning: passing arguments to 'thru' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 276 | thru(c); | ^ fep.c:278:25: 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] 278 | (*CurrentKeymap[c])(c,o); | ^ fep.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] 109 | main(argc,argv,envp) | ^ fep.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 286 | decideCode(s) | ^ fep.c:22: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 subsequent definition [-Wdeprecated-non-prototype] 22 | kanjicode decideCode(); | ^ fep.c:314:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | flushOut(minchar) | ^ | int fep.c:333:4: error: call to undeclared function 'writeShTty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | writeShTty(shellBuf,i); | ^ fep.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 314 | flushOut(minchar) | ^ fep.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] 344 | nulcmd(c) | ^ In file included from fep.c:7: ./functions.h:1:22: 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] 1 | void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); | ^ fep.c:353:2: error: call to undeclared function 'writeTtyShell1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | writeTtyShell1(c); | ^ fep.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 350 | thru(c) | ^ In file included from fep.c:7: ./functions.h:1: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] 1 | void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 15 warnings and 20 errors generated. make[1]: *** [: fep.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87' make: *** [Makefile:5: all] Error 2 * ERROR: app-i18n/skkfep-0.87-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-i18n/skkfep-0.87-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/skkfep-0.87-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-i18n:skkfep-0.87-r1:20231126-225730.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/skkfep-0.87-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/skkfep-0.87-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87' * S: '/var/tmp/portage/app-i18n/skkfep-0.87-r1/work/skkfep-0.87'