=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/pico", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for pico-4.10nb2 make args are 'CC=/home/pbulk/work/editors/pico/work/.cwrapper/bin/libtool --mode=compile gcc' 'LDCC=/home/pbulk/work/editors/pico/work/.cwrapper/bin/libtool --mode=link gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib' 'PREFIX=/opt/pkg' 'OPTIMIZE= -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -I/opt/pkg/include/ncurses' 'EXTRALDFLAGS=-lncurses' so5 Including LDAP functionality Making Pico and Pilot make CC=/home/pbulk/work/editors/pico/work/.cwrapper/bin/libtool --mode=compile gcc LDCC=/home/pbulk/work/editors/pico/work/.cwrapper/bin/libtool --mode=link gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib PREFIX=/opt/pkg OPTIMIZE= -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -I/opt/pkg/include/ncurses EXTRALDFLAGS=-lncurses -f makefile.sol rm -f os.h ln -s osdep/os-sol.h os.h /home/pbulk/work/editors/pico/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -I/opt/pkg/include/ncurses -Dconst= -Dsv4 -DPOSIX -DJOB_CONTROL -DMOUSE -I/opt/pkg/include/ncurses -c attach.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -I/home/pbulk/work/editors/pico/work/.buildlink/include/ncurses -Dconst= -Dsv4 -DPOSIX -DJOB_CONTROL -DMOUSE -c attach.c -fPIC -DPIC -o .libs/attach.o attach.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] 60 | AskAttach(cmnt, lm) | ^~~~~~~~~ attach.c: In function 'AskAttach': attach.c:60:1: warning: old-style function definition [-Wold-style-definition] attach.c:63:1: error: number of arguments doesn't match prototype 63 | { | ^ In file included from headers.h:78, from attach.c:30: efunc.h:47:13: error: prototype declaration 47 | extern int AskAttach PROTO((char *, LMLIST **)); | ^~~~~~~~~ attach.c:109:22: error: too many arguments to function 'mlreply'; expected 0, have 5 109 | status = mlreply(upload ? "Name to give uploaded attachment: " | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | : "File to attach: ", | ~~~~~~~~~~~~~~~~~~~~ efunc.h:130:13: note: declared here 130 | extern int mlreply PROTO((char *, char *, int, int, EXTRAKEYS *)); | ^~~~~~~ attach.c:114:20: error: too many arguments to function 'mlreply'; expected 0, have 5 114 | status = mlreply("Attachment comment: ", cmnt, NLINE, QNODQT, NULL); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ efunc.h:130:13: note: declared here 130 | extern int mlreply PROTO((char *, char *, int, int, EXTRAKEYS *)); | ^~~~~~~ attach.c:122:18: error: too many arguments to function 'Pmaster->helper'; expected 0, have 3 122 | (*Pmaster->helper)(Pmaster->attach_help, "Attach Help", 1); | ~^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from headers.h:76: pico.h:206:13: note: declared here 206 | int (*helper)(); /* Pine's help function */ | ^~~~~~ attach.c:124:21: error: too many arguments to function 'restore_pico_state'; expected 0, have 1 124 | restore_pico_state(saved_state); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ efunc.h:115:14: note: declared here 115 | extern void restore_pico_state PROTO((VARS_TO_SAVE *)); | ^~~~~~~~~~~~~~~~~~ attach.c:125:21: error: too many arguments to function 'free_pico_state'; expected 0, have 1 125 | free_pico_state(saved_state); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~ efunc.h:116:14: note: declared here 116 | extern void free_pico_state PROTO((VARS_TO_SAVE *)); | ^~~~~~~~~~~~~~~ attach.c:128:17: error: too many arguments to function 'pico_refresh'; expected 0, have 2 128 | pico_refresh(FALSE, 1); | ^~~~~~~~~~~~ efunc.h:330:14: note: declared here 330 | extern int pico_refresh PROTO((int, int)); | ^~~~~~~~~~~~ attach.c:133:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 133 | emlwrite("No Attachment %s help yet!", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:169:50: error: too many arguments to function 'gethomedir'; expected 0, have 1 169 | ? opertree : gethomedir(NULL), | ^~~~~~~~~~ ~~~~ efunc.h:221:15: note: declared here 221 | extern char *gethomedir PROTO((int *)); | ^~~~~~~~~~ attach.c:177:58: error: too many arguments to function 'gethomedir'; expected 0, have 1 177 | ? opertree : gethomedir(NULL)); | ^~~~~~~~~~ ~~~~ efunc.h:221:15: note: declared here 221 | extern char *gethomedir PROTO((int *)); | ^~~~~~~~~~ attach.c:180:25: error: too many arguments to function 'pico_fncomplete'; expected 0, have 3 180 | if(!pico_fncomplete(bfn, fname, l - 1)) | ^~~~~~~~~~~~~~~ ~~~ pico.h:579:7: note: declared here 579 | int pico_fncomplete PROTO((char *, char *, int)); | ^~~~~~~~~~~~~~~ attach.c:195:32: error: too many arguments to function 'isdir'; expected 0, have 3 195 | if(*fn == '\0' || !isdir(fn, NULL, NULL)) | ^~~~~ ~~ efunc.h:219:13: note: declared here 219 | extern int isdir PROTO((char *, long *, time_t *)); | ^~~~~ attach.c:201:27: error: too many arguments to function 'gethomedir'; expected 0, have 1 201 | : gethomedir(NULL))); | ^~~~~~~~~~ ~~~~ efunc.h:221:15: note: declared here 221 | extern char *gethomedir PROTO((int *)); | ^~~~~~~~~~ attach.c:202:24: error: too many arguments to function 'FileBrowse'; expected 0, have 7 202 | if((fbrv = FileBrowse(fn, NLINE, bfn, NLINE, sz, | ^~~~~~~~~~ ~~ efunc.h:85:13: note: declared here 85 | extern int FileBrowse PROTO((char *, int, char *, int, char *, int, | ^~~~~~~~~~ attach.c:212:21: error: too many arguments to function 'emlwrite'; expected 0, have 2 212 | emlwrite("\007Can't malloc space for filename", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:225:21: error: too many arguments to function 'AttachUpload'; expected 0, have 2 225 | if(!AttachUpload(fn, sz)){ | ^~~~~~~~~~~~ ~~ attach.c:49:12: note: declared here 49 | int AttachUpload(); | ^~~~~~~~~~~~ attach.c:243:17: error: too many arguments to function 'AttachCancel'; expected 0, have 1 243 | AttachCancel(fn); | ^~~~~~~~~~~~ ~~ attach.c:50:12: note: declared here 50 | int AttachCancel(); | ^~~~~~~~~~~~ attach.c:244:17: error: too many arguments to function 'pico_refresh'; expected 0, have 2 244 | pico_refresh(FALSE,1); | ^~~~~~~~~~~~ efunc.h:330:14: note: declared here 330 | extern int pico_refresh PROTO((int, int)); | ^~~~~~~~~~~~ attach.c:246:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 246 | emlwrite("\007File name too BIG, cannot select!", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:254:15: error: too many arguments to function 'AttachCancel'; expected 0, have 1 254 | AttachCancel(fn); | ^~~~~~~~~~~~ ~~ attach.c:50:12: note: declared here 50 | int AttachCancel(); | ^~~~~~~~~~~~ attach.c:255:15: error: too many arguments to function 'pico_refresh'; expected 0, have 2 255 | pico_refresh(FALSE, 1); | ^~~~~~~~~~~~ efunc.h:330:14: note: declared here 330 | extern int pico_refresh PROTO((int, int)); | ^~~~~~~~~~~~ attach.c:257:15: error: too many arguments to function 'emlwrite'; expected 0, have 2 257 | emlwrite("\007File name too big, cannot select!", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:264:13: error: too many arguments to function 'pico_refresh'; expected 0, have 2 264 | pico_refresh(FALSE, 1); | ^~~~~~~~~~~~ efunc.h:330:14: note: declared here 330 | extern int pico_refresh PROTO((int, int)); | ^~~~~~~~~~~~ attach.c:279:20: error: too many arguments to function 'AttachCancel'; expected 0, have 1 279 | return(AttachCancel((upload && i == 1) ? fn : NULL)); | ^~~~~~~~~~~~ attach.c:50:12: note: declared here 50 | int AttachCancel(); | ^~~~~~~~~~~~ attach.c:285:21: error: too many arguments to function 'fixpath'; expected 0, have 2 285 | fixpath(fn, NLINE); /* names relative to ~ */ | ^~~~~~~ ~~ efunc.h:226:14: note: declared here 226 | extern void fixpath PROTO((char *, size_t)); | ^~~~~~~ attach.c:286:30: error: too many arguments to function 'AttachUpload'; expected 0, have 2 286 | status = AttachUpload(fn, sz); | ^~~~~~~~~~~~ ~~ attach.c:49:12: note: declared here 49 | int AttachUpload(); | ^~~~~~~~~~~~ attach.c:287:21: error: too many arguments to function 'pico_refresh'; expected 0, have 2 287 | pico_refresh(FALSE, 1); | ^~~~~~~~~~~~ efunc.h:330:14: note: declared here 330 | extern int pico_refresh PROTO((int, int)); | ^~~~~~~~~~~~ attach.c:306:32: error: too many arguments to function 'compresspath'; expected 0, have 3 306 | && !compresspath(opertree, fn, NLINE)){ | ^~~~~~~~~~~~ ~~~~~~~~ efunc.h:228:13: note: declared here 228 | extern int compresspath PROTO((char *, char *, int)); | ^~~~~~~~~~~~ attach.c:307:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 307 | emlwrite( | ^~~~~~~~ 308 | "Restricted mode allows attachments from %s only: too many ..'s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:313:29: error: too many arguments to function 'fixpath'; expected 0, have 2 313 | fixpath(fn, NLINE); /* names relative to ~ */ | ^~~~~~~ ~~ efunc.h:226:14: note: declared here 226 | extern void fixpath PROTO((char *, size_t)); | ^~~~~~~ attach.c:314:51: error: too many arguments to function 'in_oper_tree'; expected 0, have 1 314 | if((gmode&MDTREE) && !in_oper_tree(fn)){ | ^~~~~~~~~~~~ ~~ efunc.h:159:13: note: declared here 159 | extern int in_oper_tree PROTO((char *)); | ^~~~~~~~~~~~ attach.c:315:33: error: too many arguments to function 'emlwrite'; expected 0, have 2 315 | emlwrite( | ^~~~~~~~ 316 | "\007Restricted mode allows attachments from %s only", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:322:38: error: too many arguments to function 'fexist'; expected 0, have 3 322 | if((status = fexist(fn, "r", &attsz)) != FIOSUC){ | ^~~~~~ ~~ efunc.h:218:13: note: declared here 218 | extern int fexist PROTO((char *, char *, off_t *)); | ^~~~~~ attach.c:323:29: error: too many arguments to function 'fioperr'; expected 0, have 2 323 | fioperr(status, fn); /* file DOESN'T exist! */ | ^~~~~~~ ~~~~~~ efunc.h:225:14: note: declared here 225 | extern void fioperr PROTO((int, char *)); | ^~~~~~~ attach.c:329:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 329 | emlwrite("\007Can't malloc space for filename", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:335:43: error: too many arguments to function 'prettysz'; expected 0, have 1 335 | strcpy(new->size, prettysz(attsz)); | ^~~~~~~~ ~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:340:30: error: too many arguments to function 'AttachCancel'; expected 0, have 1 340 | return(AttachCancel((upload && i == 1) ? fn : NULL)); | ^~~~~~~~~~~~ attach.c:50:12: note: declared here 50 | int AttachCancel(); | ^~~~~~~~~~~~ attach.c: In function 'AttachUpload': attach.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | AttachUpload(fn, sz) | ^~~~~~~~~~~~ attach.c:364:1: error: number of arguments doesn't match prototype 364 | { | ^ attach.c:49:12: error: prototype declaration 49 | int AttachUpload(); | ^~~~~~~~~~~~ attach.c:368:9: error: too many arguments to function 'emlwrite'; expected 0, have 2 368 | emlwrite("\007Restricted mode disallows uploaded command", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:372:39: error: too many arguments to function 'Pmaster->upload'; expected 0, have 2 372 | if(Pmaster && Pmaster->upload && (*Pmaster->upload)(fn, &l)){ | ~^~~~~~~~~~~~~~~~~ ~~ pico.h:213:13: note: declared here 213 | int (*upload)(); /* callback to rcv uplaoded text */ | ^~~~~~ attach.c:373:20: error: too many arguments to function 'prettysz'; expected 0, have 1 373 | strcpy(sz, prettysz((off_t)l)); | ^~~~~~~~ ~~~~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c: In function 'AttachCancel': attach.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | AttachCancel(fn) | ^~~~~~~~~~~~ attach.c:387:1: error: number of arguments doesn't match prototype 387 | { | ^ attach.c:50:12: error: prototype declaration 50 | int AttachCancel(); | ^~~~~~~~~~~~ attach.c:388:5: error: too many arguments to function 'emlwrite'; expected 0, have 2 388 | emlwrite("Attach cancelled", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c: At top level: attach.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] 404 | SyncAttach() | ^~~~~~~~~~ attach.c: In function 'SyncAttach': attach.c:434:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 434 | (void *) (ki + 1)); | ^ attach.c:433:13: error: too many arguments to function 'emlwrite'; expected 0, have 2 433 | emlwrite("\007Can't allocate space for %d known attachment array entries", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:455:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 455 | (void *) nbld); | ^ attach.c:454:9: error: too many arguments to function 'emlwrite'; expected 0, have 2 454 | emlwrite("\007Can't allocate space for %d build array entries", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:468:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 468 | (void *) nbld); | ^ attach.c:467:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 467 | emlwrite("\007Can't resize build array to %d entries ", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:474:21: error: too many arguments to function 'ParseAttach'; expected 0, have 8 474 | if(status = ParseAttach(&lp, &offset, file, NLINE, size, | ^~~~~~~~~~~ ~~~ attach.c:45:12: note: declared here 45 | int ParseAttach(); | ^~~~~~~~~~~ attach.c:488:17: error: too many arguments to function 'in_oper_tree'; expected 0, have 1 488 | && (!in_oper_tree(file) | ^~~~~~~~~~~~ ~~~~ efunc.h:159:13: note: declared here 159 | extern int in_oper_tree PROTO((char *)); | ^~~~~~~~~~~~ attach.c:489:20: error: too many arguments to function 'compresspath'; expected 0, have 3 489 | || !compresspath(file, fn, NLINE))) | ^~~~~~~~~~~~ ~~~~ efunc.h:228:13: note: declared here 228 | extern int compresspath PROTO((char *, char *, int)); | ^~~~~~~~~~~~ attach.c:516:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 516 | emlwrite("\007Can't realloc filename space",NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:529:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 529 | emlwrite("\007Can't realloc space for size", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:543:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 543 | emlwrite("\007Can't realloc description", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:560:26: error: too many arguments to function 'NewAttach'; expected 0, have 3 560 | if((tp = NewAttach(file, atol(size), comment)) == NULL){ | ^~~~~~~~~ ~~~~ attach.c:46:12: note: declared here 46 | PATMT *NewAttach(); | ^~~~~~~~~ attach.c:589:17: error: too many arguments to function 'ZotAttach'; expected 0, have 1 589 | ZotAttach(knwn[i]); | ^~~~~~~~~ ~~~~~~~ attach.c:47:12: note: declared here 47 | void ZotAttach(); | ^~~~~~~~~ attach.c: At top level: attach.c:616:1: warning: return type defaults to 'int' [-Wimplicit-int] 616 | ParseAttach(lp, off, fn, fnlen, sz, cmnt, cmntlen, no) | ^~~~~~~~~~~ attach.c: In function 'ParseAttach': attach.c:616:1: warning: old-style function definition [-Wold-style-definition] attach.c:623:1: error: number of arguments doesn't match prototype 623 | { | ^ attach.c:45:12: error: prototype declaration 45 | int ParseAttach(); | ^~~~~~~~~~~ attach.c:696:17: error: too many arguments to function 'sinserts'; expected 0, have 4 696 | sinserts((*lp == NULL) ? &lprev->text[*off] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | : &(*lp)->text[*off], | ~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:714:17: error: too many arguments to function 'sinserts'; expected 0, have 4 714 | sinserts((*lp == NULL) ? &lprev->text[*off] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 715 | : &(*lp)->text[*off], | ~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:735:25: error: too many arguments to function 'sinserts'; expected 0, have 4 735 | sinserts((*lp)->text, *off, "", 0); | ^~~~~~~~ ~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:736:25: error: too many arguments to function 'sinserts'; expected 0, have 4 736 | sinserts(&lprev->text[strlen(lprev->text)-j], j, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:742:25: error: too many arguments to function 'sinserts'; expected 0, have 4 742 | sinserts((*lp == NULL) ? &lprev->text[j] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 743 | : &(*lp)->text[j], | ~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:755:17: error: too many arguments to function 'sinserts'; expected 0, have 4 755 | sinserts((*lp == NULL) ? &lprev->text[(*off) - (p - tmp)] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 756 | : &(*lp)->text[(*off) - (p - tmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:776:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 776 | (void *)(int)c); | ^ attach.c:775:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 775 | emlwrite("\007Attchmnt: '%c' not allowed in file name", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:798:23: error: too many arguments to function 'emlwrite'; expected 0, have 2 798 | emlwrite("File name too big!",NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:802:32: error: too many arguments to function 'compresspath'; expected 0, have 3 802 | && !compresspath(opertree, fn, fnlen)){ | ^~~~~~~~~~~~ ~~~~~~~~ efunc.h:228:13: note: declared here 228 | extern int compresspath PROTO((char *, char *, int)); | ^~~~~~~~~~~~ attach.c:803:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 803 | emlwrite( | ^~~~~~~~ 804 | "Attachments allowed only from %s: too many ..'s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:811:29: error: too many arguments to function 'fixpath'; expected 0, have 2 811 | fixpath(fn, fnlen); | ^~~~~~~ ~~ efunc.h:226:14: note: declared here 226 | extern void fixpath PROTO((char *, size_t)); | ^~~~~~~ attach.c:812:40: error: too many arguments to function 'fexist'; expected 0, have 3 812 | if((status=fexist(fn, "r", &attsz)) != FIOSUC){ | ^~~~~~ ~~ efunc.h:218:13: note: declared here 218 | extern int fexist PROTO((char *, char *, off_t *)); | ^~~~~~ attach.c:813:33: error: too many arguments to function 'fioperr'; expected 0, have 2 813 | fioperr(status, fn); | ^~~~~~~ ~~~~~~ efunc.h:225:14: note: declared here 225 | extern void fioperr PROTO((int, char *)); | ^~~~~~~ attach.c:819:53: error: too many arguments to function 'in_oper_tree'; expected 0, have 1 819 | if((gmode & MDTREE) && !in_oper_tree(fn)){ | ^~~~~~~~~~~~ ~~ efunc.h:159:13: note: declared here 159 | extern int in_oper_tree PROTO((char *)); | ^~~~~~~~~~~~ attach.c:820:33: error: too many arguments to function 'emlwrite'; expected 0, have 2 820 | emlwrite("\007Attachments allowed only from %s", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:831:33: error: too many arguments to function 'sinserts'; expected 0, have 4 831 | sinserts((*lp == NULL)? | ^~~~~~~~ ~~~~~~~~~~~~~~ 832 | &lprev->text[(*off)-(p-tmp)] : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 833 | &(*lp)->text[(*off)-(p-tmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:839:33: error: too many arguments to function 'emlwrite'; expected 0, have 2 839 | emlwrite("\007Attchmnt: Problem displaying real file path", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:859:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 859 | emlwrite("\007Attchmnt: Expected ']' after \"%s\"", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:884:29: error: too many arguments to function 'emlwrite'; expected 0, have 2 884 | emlwrite("\007Attchmnt: Unknown reference: %s",fn); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:897:50: error: too many arguments to function 'prettysz'; expected 0, have 1 897 | strcpy(sz, (lblsz) ? lblsz : prettysz(attsz)); | ^~~~~~~~ ~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:899:21: error: too many arguments to function 'sinserts'; expected 0, have 4 899 | sinserts((*lp == NULL) ? &lprev->text[*off] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 900 | : &(*lp)->text[*off], | ~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:910:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 910 | (void *)(int)c); | ^ attach.c:909:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 909 | emlwrite("\007Attchmnt: '%c' not allowed in file name", | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:925:50: error: too many arguments to function 'prettysz'; expected 0, have 1 925 | strcpy(sz, (lblsz) ? lblsz : prettysz(attsz)); | ^~~~~~~~ ~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:928:21: error: too many arguments to function 'sinserts'; expected 0, have 4 928 | sinserts((*lp == NULL) ? &lprev->text[*off] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 929 | : &(*lp)->text[*off], | ~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:940:21: error: too many arguments to function 'emlwrite'; expected 0, have 2 940 | emlwrite("\007Attchmnt: Expected '(' or '\"' after %s",fn); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:954:49: error: too many arguments to function 'prettysz'; expected 0, have 1 954 | if(strcmp(sz, (lblsz) ? lblsz : prettysz(attsz))){ | ^~~~~~~~ ~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:955:50: error: too many arguments to function 'prettysz'; expected 0, have 1 955 | strcpy(sz, (lblsz) ? lblsz : prettysz(attsz)); | ^~~~~~~~ ~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:958:25: error: too many arguments to function 'sinserts'; expected 0, have 4 958 | sinserts((*lp)->text, *off, "", 0); | ^~~~~~~~ ~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:959:25: error: too many arguments to function 'sinserts'; expected 0, have 4 959 | sinserts(&lprev->text[strlen(lprev->text)-j], j, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:965:25: error: too many arguments to function 'sinserts'; expected 0, have 4 965 | sinserts((*lp == NULL) ? &lprev->text[j] | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | : &(*lp)->text[j], | ~~~~~~~~~~~~~~~~~ attach.c:48:12: note: declared here 48 | void sinserts(); | ^~~~~~~~ attach.c:978:17: error: too many arguments to function 'emlwrite'; expected 0, have 2 978 | emlwrite("\007Attchmnt: Size field missing ')': \"%s\"", tmp); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:994:21: error: too many arguments to function 'emlwrite'; expected 0, have 2 994 | emlwrite("\007Attchmnt: Malformed comment, quotes required", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1008:19: error: too many arguments to function 'emlwrite'; expected 0, have 2 1008 | emlwrite("Comment too long!",NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1013:21: error: too many arguments to function 'emlwrite'; expected 0, have 2 1013 | emlwrite("\007Attchmnt: Closing quote required at end of comment", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1031:19: error: too many arguments to function 'emlwrite'; expected 0, have 2 1031 | emlwrite(HIBIT_WARN, NULL); | ^~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1055:23: error: too many arguments to function 'emlwrite'; expected 0, have 2 1055 | emlwrite("\007Attchmnt: Comma must separate attachments", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1062:13: error: too many arguments to function 'emlwrite'; expected 0, have 2 1062 | emlwrite("\007Attchmnt: Weirdness in ParseAttach", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c: In function 'NewAttach': attach.c:1086:8: warning: old-style function definition [-Wold-style-definition] 1086 | PATMT *NewAttach(f, l, c) | ^~~~~~~~~ attach.c:1090:1: error: number of arguments doesn't match prototype 1090 | { | ^ attach.c:46:12: error: prototype declaration 46 | PATMT *NewAttach(); | ^~~~~~~~~ attach.c:1094:9: error: too many arguments to function 'emlwrite'; expected 0, have 2 1094 | emlwrite("No memory to add attachment", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1102:9: error: too many arguments to function 'emlwrite'; expected 0, have 2 1102 | emlwrite("Can't malloc name for attachment", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1109:56: error: too many arguments to function 'prettysz'; expected 0, have 1 1109 | tp->size = (char *)malloc(sizeof(char)*(strlen(prettysz((off_t)l))+1)); | ^~~~~~~~ ~~~~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:1111:13: error: too many arguments to function 'emlwrite'; expected 0, have 2 1111 | emlwrite("Can't malloc size for attachment", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1117:28: error: too many arguments to function 'prettysz'; expected 0, have 1 1117 | strcpy(tp->size, prettysz((off_t)l)); | ^~~~~~~~ ~~~~~~~~ efunc.h:50:15: note: declared here 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c:1122:9: error: too many arguments to function 'emlwrite'; expected 0, have 2 1122 | emlwrite("Can't malloc description for attachment", NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ attach.c:1131:31: error: too many arguments to function 'Pmaster->mimetype'; expected 0, have 1 1131 | if(Pmaster->mimetype && (*Pmaster->mimetype)(f) > 0){ | ~^~~~~~~~~~~~~~~~~~~ ~ pico.h:217:13: note: declared here 217 | int (*mimetype)(); /* callback to display mime type */ | ^~~~~~~~ attach.c:1136:15: error: too many arguments to function 'Pmaster->showmsg'; expected 0, have 1 1136 | rv = (*Pmaster->showmsg)('x'); | ~^~~~~~~~~~~~~~~~~~ ~~~ pico.h:207:13: note: declared here 207 | int (*showmsg)(); /* Pine's display_message */ | ^~~~~~~ attach.c:1140:11: error: too many arguments to function 'PaintBody'; expected 0, have 1 1140 | PaintBody(0); /* Yes, repaint it */ | ^~~~~~~~~ ~ efunc.h:118:14: note: declared here 118 | extern void PaintBody PROTO((int)); | ^~~~~~~~~ attach.c: In function 'QuoteAttach': attach.c:1174:1: warning: old-style function definition [-Wold-style-definition] 1174 | QuoteAttach(fn) | ^~~~~~~~~~~ attach.c:1176:1: error: number of arguments doesn't match prototype 1176 | { | ^ efunc.h:52:15: error: prototype declaration 52 | extern char *QuoteAttach PROTO((char *)); | ^~~~~~~~~~~ attach.c: In function 'ZotAttach': attach.c:1194:6: warning: old-style function definition [-Wold-style-definition] 1194 | void ZotAttach(p) | ^~~~~~~~~ attach.c:1196:1: error: number of arguments doesn't match prototype 1196 | { | ^ attach.c:47:12: error: prototype declaration 47 | void ZotAttach(); | ^~~~~~~~~ attach.c: At top level: attach.c:1220:1: warning: return type defaults to 'int' [-Wimplicit-int] 1220 | intag(s, i) | ^~~~~ attach.c: In function 'intag': attach.c:1220:1: warning: old-style function definition [-Wold-style-definition] attach.c:1223:1: error: number of arguments doesn't match prototype 1223 | { | ^ efunc.h:49:13: error: prototype declaration 49 | extern int intag PROTO((char *, int)); | ^~~~~ attach.c: In function 'prettysz': attach.c:1246:7: warning: old-style function definition [-Wold-style-definition] 1246 | char *prettysz(l) | ^~~~~~~~ attach.c:1248:1: error: number of arguments doesn't match prototype 1248 | { | ^ efunc.h:50:15: error: prototype declaration 50 | extern char *prettysz PROTO((off_t)); | ^~~~~~~~ attach.c: In function 'sinserts': attach.c:1283:1: warning: old-style function definition [-Wold-style-definition] 1283 | sinserts(ds, dl, ss, sl) | ^~~~~~~~ attach.c:1286:1: error: number of arguments doesn't match prototype 1286 | { | ^ attach.c:48:12: error: prototype declaration 48 | void sinserts(); | ^~~~~~~~ attach.c:1302:11: error: too many arguments to function 'emlwrite'; expected 0, have 2 1302 | emlwrite("\007No end of line???", NULL); /* can this happen? */ | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ efunc.h:132:14: note: declared here 132 | extern void emlwrite PROTO((char *, void *)); | ^~~~~~~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/work/editors/pico/work/pine4.64/pico *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/pico *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/pico