+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xfinans-5.9nb4/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xfinans-5.9nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xfinans-5.9nb4 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c window.c window.c: In function 'Quit': window.c:235:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 235 | unlink("fplot.plt"); | ^~~~~~ window.c: In function 'MenuSelect': window.c:343:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 343 | int pane_num = (int) client_data; | ^ window.c: In function 'create_menu': window.c:637:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 637 | (XtPointer) menu_names[i].opcode); | ^ window.c: In function 'mainWindow': window.c:1903:3: warning: implicit declaration of function 'load_configuration'; did you mean 'save_configuration'? [-Wimplicit-function-declaration] 1903 | load_configuration(); | ^~~~~~~~~~~~~~~~~~ | save_configuration window.c:1906:3: warning: implicit declaration of function 'ReadTransfers'; did you mean 'RunTransfers'? [-Wimplicit-function-declaration] 1906 | ReadTransfers(); | ^~~~~~~~~~~~~ | RunTransfers window.c: In function 'opdaterPostList': window.c:1926:3: warning: implicit declaration of function 'opdaterSearchList'; did you mean 'opdaterSaldoList'? [-Wimplicit-function-declaration] 1926 | opdaterSearchList(); | ^~~~~~~~~~~~~~~~~ | opdaterSaldoList window.c:1928:27: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 1928 | XawListChange(postList, postStrings(), 0,0, TRUE); | ^~~~~~~~~~~~~ | | | char ** In file included from window.h:15, from window.c:10: /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, window.c: In function 'opdaterKontoList': window.c:1932:28: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 1932 | XawListChange(kontoList, kontoStrings(), 0,0, TRUE); | ^~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, window.c: In function 'PosteringPopup': window.c:2106:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2106 | i=(int) client_data; | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c icon.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c check.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c search.c search.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] 38 | searchInit(void) { | ^~~~~~~~~~ search.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] 44 | searchFree(void) { /* New strategy: reuse */ | ^~~~~~~~~~ search.c: In function 'opdaterSearchList': search.c:79:29: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 79 | XawListChange(searchList, searchStrings(searchStr,MAXLI,text,sort), 0,0, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** In file included from searchp.h:15, from search.c:5: /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, search.c: In function 'SearchPopup': search.c:251:5: warning: implicit declaration of function 'updateMarkWithText' [-Wimplicit-function-declaration] 251 | updateMarkWithText(SEARCH_LABEL,popup); | ^~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c info.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c saldo.c saldo.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] 30 | saldoInit(void) { | ^~~~~~~~~ saldo.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | saldoFree(void) { | ^~~~~~~~~ saldo.c: In function 'saldoFree': saldo.c:43:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 43 | free(saldoStr[i]); | ^~~~ saldo.c:12:1: note: include '' or provide a declaration of 'free' 11 | #include "allocmem.h" +++ |+#include 12 | saldo.c:43:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 43 | free(saldoStr[i]); | ^~~~ saldo.c:43:5: note: include '' or provide a declaration of 'free' saldo.c: In function 'opdaterSaldoList': saldo.c:132:28: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 132 | XawListChange(saldoList, saldoStrings(saldoStr,MAXLI), 0,0, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** In file included from saldop.h:15, from saldo.c:5: /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, saldo.c: In function 'SaldoPopup': saldo.c:256:5: warning: implicit declaration of function 'updateMarkWithText' [-Wimplicit-function-declaration] 256 | updateMarkWithText(LIST_BALANCES,popup); | ^~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c error.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c plot.c plot.c: In function 'PlotOk': plot.c:294:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 294 | unlink(file[i]); | ^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c xfError.c xfError.c: In function 'xfError': xfError.c:11:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 11 | exit(1); | ^~~~ xfError.c:7:1: note: include '' or provide a declaration of 'exit' 6 | #include "error.h" +++ |+#include 7 | xfError.c:11:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 11 | exit(1); | ^~~~ xfError.c:11:5: note: include '' or provide a declaration of 'exit' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c printCheck.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c sletKonto.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c opretKonto.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c konto.c konto.c: In function 'saveKonto': konto.c:158:3: warning: implicit declaration of function 'savePoster' [-Wimplicit-function-declaration] 158 | savePoster(konti[aktuelKonto].file_name); | ^~~~~~~~~~ konto.c: In function 'nyKonto': konto.c:209:5: warning: implicit declaration of function 'parseDate'; did you mean 'prevDate'? [-Wimplicit-function-declaration] 209 | d=parseDate(dato); | ^~~~~~~~~ | prevDate gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c post.c post.c: In function 'writeTransactionsToFile': post.c:123:13: warning: implicit declaration of function 'nosemicolon'; did you mean 'XK_semicolon'? [-Wimplicit-function-declaration] 123 | nosemicolon(buf), | ^~~~~~~~~~~ | XK_semicolon gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c pante.c pante.c: In function 'pantePostStrings': pante.c:47:33: warning: implicit declaration of function 'dateString' [-Wimplicit-function-declaration] 47 | sprintf(buf, "%s %9.2f", dateString(dato), restgaeld ); | ^~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c aktie.c aktie.c: In function 'aktiePostStrings': aktie.c:57:30: warning: implicit declaration of function 'dateString' [-Wimplicit-function-declaration] 57 | sprintf(buf, "%s %s", dateString(p->dato), p->tekst ); | ^~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c konto_io.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c post_io.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c main.c main.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] 15 | main(int argc, char **argv) | ^~~~ main.c: In function 'main': main.c:22:9: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 22 | if( chdir(work_directory) ) | ^~~~~ main.c:41:3: warning: implicit declaration of function 'config_default' [-Wimplicit-function-declaration] 41 | config_default(); /* set default configuration */ | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c clist.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c rente.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c gregor.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c psOutput.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c datoPrint.c datoPrint.c: In function 'datoPrint': datoPrint.c:103:3: warning: implicit declaration of function 'zeroAddStrncpy' [-Wimplicit-function-declaration] 103 | zeroAddStrncpy(buf, dateString(today()), 79); | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c str.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c allocmem.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c hyper.c hyper.c: In function 'readIndex': hyper.c:62:18: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 62 | hl.linenum=atoi(buf); | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c stringstack.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c average.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c config.c config.c: In function 'toggle_show_all': config.c:87:3: warning: implicit declaration of function 'updateMarkWithText' [-Wimplicit-function-declaration] 87 | updateMarkWithText(ALL_POSTINGS, show_all); | ^~~~~~~~~~~~~~~~~~ config.c: In function 'config_default': config.c:191:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 191 | strcpy(printCommand, DEFAULT_PRINT_COMMAND); /* default value */ | ^~~~~~ config.c:14:1: note: include '' or provide a declaration of 'strcpy' 13 | #include "displayLimit.h" +++ |+#include 14 | config.c:191:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 191 | strcpy(printCommand, DEFAULT_PRINT_COMMAND); /* default value */ | ^~~~~~ config.c:191:3: note: include '' or provide a declaration of 'strcpy' config.c: In function 'load_configuration': config.c:207:17: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 207 | date_format=atoi(buf); | ^~~~ config.c:223:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 223 | l=strlen(buf); | ^~~~~~ config.c:223:7: note: include '' or provide a declaration of 'strlen' config.c:223:7: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] config.c:223:7: note: include '' or provide a declaration of 'strlen' config.c:227:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 227 | strcpy(printCommand,DEFAULT_PRINT_COMMAND); | ^~~~~~ config.c:227:7: note: include '' or provide a declaration of 'strcpy' config.c:241:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 241 | strcpy(dateFormatString, DEFAULT_DATE_FORMAT_STRING); /* default value */ | ^~~~~~ config.c:241:9: note: include '' or provide a declaration of 'strcpy' config.c:302:3: warning: implicit declaration of function 'date_format_change' [-Wimplicit-function-declaration] 302 | date_format_change(); | ^~~~~~~~~~~~~~~~~~ config.c:314:3: warning: implicit declaration of function 'winSetPrintCommand'; did you mean 'getPrintCommand'? [-Wimplicit-function-declaration] 314 | winSetPrintCommand(printCommand); | ^~~~~~~~~~~~~~~~~~ | getPrintCommand gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c date.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c period.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c transNum.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c focus.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c category.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c categoryWindow.c categoryWindow.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] 47 | categoryWindowInit(void) { | ^~~~~~~~~~~~~~~~~~ categoryWindow.c:55:1: warning: return type defaults to 'int' [-Wimplicit-int] 55 | categoryWindowFree(void) { | ^~~~~~~~~~~~~~~~~~ categoryWindow.c: In function 'categoryWindowFree': categoryWindow.c:58:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 58 | free(categoryWindowStr[i]); | ^~~~ categoryWindow.c:17:1: note: include '' or provide a declaration of 'free' 16 | #include "programConfig.h" +++ |+#include 17 | categoryWindow.c:58:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 58 | free(categoryWindowStr[i]); | ^~~~ categoryWindow.c:58:5: note: include '' or provide a declaration of 'free' categoryWindow.c: In function 'updateCategoryWindowList': categoryWindow.c:77:37: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 77 | XawListChange(categoryWindowList, categoryWindowStrings(categoryWindowStr,MAX_CATEGORIES,word), 0,0, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char ** In file included from categoryWindowp.h:15, from categoryWindow.c:6: /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, categoryWindow.c: In function 'runEngine': categoryWindow.c:274:3: warning: implicit declaration of function 'writeAllTransactionsToFile' [-Wimplicit-function-declaration] 274 | writeAllTransactionsToFile(TRANSACTION_FILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ categoryWindow.c:278:3: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] 278 | system(buf); | ^~~~~~ categoryWindow.c: In function 'CategoryWindowStatus': categoryWindow.c:287:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 287 | unlink(TRANSACTION_FILE); | ^~~~~~ categoryWindow.c: In function 'CategoryWindowTransList': categoryWindow.c:304:5: warning: implicit declaration of function 'indxOfCategorySelection'; did you mean 'indxOfPostSelection'? [-Wimplicit-function-declaration] 304 | i=indxOfCategorySelection(); | ^~~~~~~~~~~~~~~~~~~~~~~ | indxOfPostSelection gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c newCategory.c newCategory.c: In function 'NewCategoryGetValue': newCategory.c:224:12: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 224 | c.number=atoi(p); | ^~~~ newCategory.c:236:24: warning: implicit declaration of function 'AllocateMemory' [-Wimplicit-function-declaration] 236 | c.definition=(char *)AllocateMemory(l+1); | ^~~~~~~~~~~~~~ newCategory.c:236:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 236 | c.definition=(char *)AllocateMemory(l+1); | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c fileView.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c multiSort.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c recur.c recur.c: In function 'Close': recur.c:473:41: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 473 | XawListChange(recurList,transferStrings(),0,0,True); | ^~~~~~~~~~~~~~~~~ | | | char ** In file included from window.h:15, from recur.c:15: /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, recur.c: In function 'AddTransfer': recur.c:531:27: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 531 | XawListChange(recurList,list,0,0,True); | ^~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, recur.c: In function 'makeTransferDialog': recur.c:734:17: warning: implicit declaration of function 'create_menu' [-Wimplicit-function-declaration] 734 | create_menu(RECUR_UNIT_MENU, "recurUnitMenu", widgets.Unit); | ^~~~~~~~~~~ recur.c:823:17: warning: implicit declaration of function 'saveFocusInfo' [-Wimplicit-function-declaration] 823 | saveFocusInfo(widgets.Date, widgets.Period, transferForm, okButton, 1); | ^~~~~~~~~~~~~ recur.c:865:4: warning: implicit declaration of function 'jumpTo' [-Wimplicit-function-declaration] 865 | jumpTo(widgets.Date); /* set input focus */ | ^~~~~~ recur.c: In function 'EditTransfer': recur.c:952:41: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 952 | XawListChange(recurList,transferStrings(),0,0,True); | ^~~~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, recur.c: In function 'RunUpTo': recur.c:978:33: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 978 | XawListChange(recurList,transferStrings(),0,0,True); | ^~~~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, recur.c: In function 'EditRecurringTransfers': recur.c:1276:33: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 1276 | XawListChange(recurList,transferStrings(),0,0,True); | ^~~~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, recur.c: In function 'ConfirmTransferDelete': recur.c:1312:29: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 1312 | XawListChange(recurList,transferStrings(),0,0,True); | ^~~~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/finance/xfinans/work/.buildlink/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c displayLimit.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/local/include -I/usr/include -c displayLimitWindow.c displayLimitWindow.c: In function 'createDisplayLimitWindowWidgets': displayLimitWindow.c:128:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 128 | sprintf(buf, "%d", get_display_before_days()); | ^~~~~~~ displayLimitWindow.c:30:1: note: include '' or provide a declaration of 'sprintf' 29 | #include "displayLimitWindow.h" +++ |+#include 30 | displayLimitWindow.c:128:3: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] 128 | sprintf(buf, "%d", get_display_before_days()); | ^~~~~~~ displayLimitWindow.c:128:3: note: include '' or provide a declaration of 'sprintf' rm -f xfinans LD_RUN_PATH=/opt/local/lib gcc -o xfinans -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib window.o icon.o check.o search.o info.o saldo.o error.o plot.o xfError.o printCheck.o sletKonto.o opretKonto.o konto.o post.o pante.o aktie.o konto_io.o post_io.o main.o clist.o rente.o gregor.o psOutput.o datoPrint.o str.o allocmem.o hyper.o stringstack.o average.o config.o date.o period.o transNum.o focus.o category.o categoryWindow.o newCategory.o fileView.o multiSort.o recur.o displayLimit.o displayLimitWindow.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lsocket -lnsl -R/opt/local/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata