+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/plan-1.9nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/plan-1.9nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for plan-1.9nb1 --- linux --- env CF="-W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX" L1F="-L/usr/pkg/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11" L2F="-lc" MYCC=gcc make all --- main.o --- --- popup.o --- --- main.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c main.c --- popup.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c popup.c --- main.o --- main.c: In function 'non_interactive': main.c:454:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", &pid); ^~~~~~~~~~~~~~~~~~~~~~ --- popup.o --- popup.c: In function 'run_daemon': popup.c:209:3: warning: missing sentinel in function call [-Wformat=] execl(path, DAEMON_FN, 0); ^~~~~ --- print.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c -DLIB=\"/usr/pkg/libexec/plan\" print.c print.c: In function 'create_print_popup': print.c:107:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(print_form, XmNhelpCallback, (XtCallbackProc) ^ print.c:118:6: warning: missing sentinel in function call [-Wformat=] NULL, 0); ^~~~ print.c:140:6: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)mode_callback, ^ print.c:159:4: warning: missing sentinel in function call [-Wformat=] XtVaSetValues(w, XmNselectColor, color[COL_TOGGLE], 0); ^~~~~~~~~~~~~ print.c:176:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ print.c:191:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ print.c:206:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ print.c:223:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ print.c:294:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ print.c:296:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc)help_callback, ^ print.c:309:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc)done_callback, ^ print.c:311:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc)help_callback, ^ print.c:326:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc)help_callback, ^ print.c:328:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc)help_callback, ^ In file included from print.c:29: print.c:334:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(print_shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ print.c: In function 'OutStr': print.c:781:4: warning: this statement may fall through [-Wimplicit-fallthrough=] putc(' ', fp); ^~~~~~~~~~~~~ print.c:783:5: note: here case '\\': ^~~~ --- gotomenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c gotomenu.c gotomenu.c: In function 'create_goto_popup': gotomenu.c:83:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ gotomenu.c:108:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNactivateCallback, (XtCallbackProc) ^ gotomenu.c:119:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ gotomenu.c:134:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ In file included from gotomenu.c:20: gotomenu.c:140:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)done_callback, (XtPointer)shell); ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- network.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c -DLIB=\"/usr/pkg/libexec/plan\" network.c --- calmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c calmenu.c calmenu.c: In function 'create_cal_widgets': calmenu.c:104:3: warning: missing sentinel in function call [-Wformat=] XtVaSetValues(menubar, XmNmenuHelpWidget, w, 0); ^~~~~~~~~~~~~ calmenu.c:118:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)filemenu_callback, ^ calmenu.c:127:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(fmenu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:138:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)delpast_callback, ^ calmenu.c:146:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(fmenu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:158:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)configmenu_callback, ^ calmenu.c:166:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(menu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:172:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)language_callback, FIX_MENUBAR NULL); ^ calmenu.c:173:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(menu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:180:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)language_callback, (XtPointer)n); ^ calmenu.c:180:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc)language_callback, (XtPointer)n); ^ calmenu.c:197:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)search_callback, ^ calmenu.c:209:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(menu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:231:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)view_callback, ^ calmenu.c:243:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(menu, XmNhelpCallback, (XtCallbackProc)help_callback, ^ calmenu.c:259:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)help_pulldown, ^ calmenu.c: In function 'search_callback': calmenu.c:697:38: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] create_user_sel_popup(menubar, -1, (BOOL (*)())list_by_user); ^ --- monmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c monmenu.c monmenu.c: In function 'create_month_view': monmenu.c:89:38: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(all, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:127:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNactivateCallback, (XtCallbackProc) ^ monmenu.c:129:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:144:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNactivateCallback, (XtCallbackProc) ^ monmenu.c:146:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:157:48: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mainmenu.year, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:172:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNactivateCallback, (XtCallbackProc) ^ monmenu.c:174:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:189:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNactivateCallback, (XtCallbackProc) ^ monmenu.c:191:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(arrow, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:207:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mainmenu.month, XmNhelpCallback, (XtCallbackProc) ^ monmenu.c:231:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mainmenu.cal, XmNhelpCallback, (XtCallbackProc) ^ --- mondraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c mondraw.c --- editmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c editmenu.c editmenu.c: In function 'create_list_widgets': editmenu.c:349:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:370:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->confirm, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:372:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->confirm, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:385:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->undo, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:387:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->undo, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:400:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->dup, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:402:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->dup, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:415:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->del, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:417:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->del, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:429:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:431:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:443:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->done, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:445:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->done, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:456:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->pin, XmNvalueChangedCallback, (XtCallbackProc) ^ editmenu.c:458:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->pin, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:471:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->own, XmNvalueChangedCallback, (XtCallbackProc) ^ editmenu.c:473:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->own, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c:495:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(scroll, XmNhelpCallback, (XtCallbackProc) ^ In file included from editmenu.c:36: editmenu.c:511:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(w->shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ editmenu.c: In function 'create_entry_widgets': editmenu.c:658:7: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)list_entry, ^ editmenu.c:659:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)(x + y * SC_N)); ^ editmenu.c:662:7: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)list_entry, ^ editmenu.c:663:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)(x + y * SC_N)); ^ editmenu.c:666:7: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)help_callback, ^ editmenu.c: In function 'edit_list_button': editmenu.c:858:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->text, XmNactivateCallback, (XtCallbackProc) ^ editmenu.c:860:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w->text, XmNhelpCallback, (XtCallbackProc) ^ editmenu.c: In function 'list_widget_pos': editmenu.c:754:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:755:4: note: here case SC_I_DATE: ^~~~ editmenu.c:761:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:762:4: note: here case SC_I_TIME: ^~~~ editmenu.c:768:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:769:4: note: here case SC_I_ADVANCE: ^~~~ editmenu.c:775:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:776:4: note: here case SC_L_DATE: ^~~~ editmenu.c:780:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:781:4: note: here case SC_L_TIME: ^~~~ editmenu.c:785:9: warning: this statement may fall through [-Wimplicit-fallthrough=] *ypos += Y_ROW; ^ editmenu.c:786:4: note: here case SC_L_ADVANCE: ^~~~ --- editdraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c editdraw.c --- edit.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c edit.c edit.c: In function 'got_entry_press': edit.c:114:5: warning: missing sentinel in function call [-Wformat=] XtVaSetValues(lw->entry[y][x], XmNset, !on, 0); ^~~~~~~~~~~~~ edit.c:164:7: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] (BOOL (*)())got_new_user); ^ edit.c:176:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ep->notime) ^ edit.c:178:4: note: here case SC_ENDDATE: ^~~~ edit.c:237:32: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ep->rep_every != 86400 || ~~~~~~~~~~~~~~~~~~~~~~~^~ ep->rep_last < ep->time - ep->time % 86400 + 86400) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:240:4: note: here case SC_I_ENDDATE: ^~~~ --- msgmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c msgmenu.c msgmenu.c: In function 'create_text_popup': msgmenu.c:107:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ msgmenu.c:122:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNactivateCallback, (XtCallbackProc) ^ msgmenu.c:124:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNhelpCallback, (XtCallbackProc) ^ msgmenu.c:137:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNactivateCallback, (XtCallbackProc) ^ msgmenu.c:139:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNhelpCallback, (XtCallbackProc) ^ msgmenu.c:150:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNactivateCallback, (XtCallbackProc) ^ msgmenu.c:152:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNhelpCallback, (XtCallbackProc) ^ msgmenu.c:164:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNactivateCallback, (XtCallbackProc) ^ msgmenu.c:166:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNhelpCallback, (XtCallbackProc) ^ msgmenu.c:193:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNhelpCallback, (XtCallbackProc) ^ --- cycmenu.o --- --- msgmenu.o --- In file included from msgmenu.c:24: msgmenu.c:198:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- cycmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c cycmenu.c cycmenu.c: In function 'create_recycle_popup': cycmenu.c:126:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:138:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ cycmenu.c:140:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:152:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ cycmenu.c:154:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:170:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:183:54: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(last_toggle, XmNvalueChangedCallback, (XtCallbackProc) ^ cycmenu.c:201:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(last, XmNactivateCallback, (XtCallbackProc) ^ cycmenu.c:218:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:232:55: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(every_toggle, XmNvalueChangedCallback, (XtCallbackProc) ^ cycmenu.c:250:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(every, XmNactivateCallback, (XtCallbackProc) ^ cycmenu.c:276:56: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(yearly_toggle, XmNvalueChangedCallback, (XtCallbackProc) ^ cycmenu.c:278:48: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(yearly_toggle, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:295:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:325:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)nth_callback, (XtPointer)day); ^ cycmenu.c:325:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc)nth_callback, (XtPointer)day); ^ cycmenu.c:346:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cycmenu.c:347:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wkday_callback, (XtPointer)d); ^ cycmenu.c:367:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cycmenu.c:402:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cycmenu.c:403:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] day_callback, (XtPointer)day); ^ In file included from cycmenu.c:25: cycmenu.c:408:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- cyccalc.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c cyccalc.c cyccalc.c: In function 'recycle': cyccalc.c:199:13: warning: 'tm1w.tm_mon' may be used uninitialized in this function [-Wmaybe-uninitialized] if (warn && ~~~~~^~ tm.tm_mon==tm1w.tm_mon && tm.tm_mday==tm1w.tm_mday) ~~~~~~~~~~~~~~~~~~~~~~ cyccalc.c:200:31: warning: 'tm1w.tm_mday' may be used uninitialized in this function [-Wmaybe-uninitialized] if (warn && ~~~~~~~ tm.tm_mon==tm1w.tm_mon && tm.tm_mday==tm1w.tm_mday) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cyccalc.c:222:23: warning: 'tmw.tm_wday' may be used uninitialized in this function [-Wmaybe-uninitialized] if (warn && (w & 1 << tmw.tm_wday)) { ~~^~~~~~~~~~~~~~ cyccalc.c:234:18: warning: 'tmw.tm_mday' may be used uninitialized in this function [-Wmaybe-uninitialized] ((d & 1) && tmw.tm_mday == mlenw))) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cyccalc.c:215:30: warning: 'tm.tm_wday' may be used uninitialized in this function [-Wmaybe-uninitialized] if (day >= tday && (w & 1 << tm.tm_wday)) { ~~^~~~~~~~~~~~~ cyccalc.c:231:18: warning: 'tm.tm_mday' may be used uninitialized in this function [-Wmaybe-uninitialized] ((d & 1) && tm.tm_mday == mlen))) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cyccalc.c:197:6: warning: 'tm1.tm_mday' may be used uninitialized in this function [-Wmaybe-uninitialized] if (day >= tday && tm.tm_mon == tm1.tm_mon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && tm.tm_mday == tm1.tm_mday) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cyccalc.c:196:20: warning: 'tm1.tm_mon' may be used uninitialized in this function [-Wmaybe-uninitialized] if (day >= tday && tm.tm_mon == tm1.tm_mon ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- keymenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c keymenu.c --- excmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c excmenu.c --- keymenu.o --- keymenu.c: In function 'create_keyword_popup': keymenu.c:89:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:118:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ keymenu.c:120:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:131:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ keymenu.c:133:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:145:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ keymenu.c:147:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:161:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:178:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNactivateCallback, (XtCallbackProc) ^ keymenu.c:180:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:193:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ keymenu.c:195:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:210:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ keymenu.c:212:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ keymenu.c:227:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ keymenu.c:229:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from keymenu.c:22: keymenu.c:234:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- excmenu.o --- excmenu.c: In function 'create_except_popup': excmenu.c:158:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:182:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:215:51: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text_w[i], XmNactivateCallback, (XtCallbackProc) ^ excmenu.c:216:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] text_callback, (XtPointer)i); ^ excmenu.c:226:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ excmenu.c:227:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] split_callback, (XtPointer)i); ^ excmenu.c:228:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:240:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ excmenu.c:241:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] clear_callback, (XtPointer)i); ^ excmenu.c:242:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:276:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:289:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:301:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:313:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:325:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:337:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:349:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ excmenu.c:364:5: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)acol_callback, (XtPointer)i); ^ excmenu.c:364:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc)acol_callback, (XtPointer)i); ^ excmenu.c:383:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(acol_w, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:437:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ excmenu.c:439:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ excmenu.c:454:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ excmenu.c:456:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from excmenu.c:25: excmenu.c:463:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- cnfmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c cnfmenu.c cnfmenu.c: In function 'create_config_popup': cnfmenu.c:132:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc)help_callback, ^ cnfmenu.c:148:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc)help_callback, ^ cnfmenu.c:174:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:176:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:185:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:187:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:200:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:202:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:219:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(ewarn_prog, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:221:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(ewarn_prog, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:240:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:266:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:268:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:277:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:279:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:292:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:294:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:311:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(lwarn_prog, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:313:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(lwarn_prog, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:332:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:358:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:360:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:369:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:371:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:384:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ cnfmenu.c:386:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:403:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(alarm_prog, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:405:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(alarm_prog, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:419:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:436:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mailer, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:438:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mailer, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:452:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:469:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(timeout, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:471:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(timeout, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:489:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ cnfmenu.c:491:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ cnfmenu.c:506:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc)help_callback, ^ cnfmenu.c:508:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc)help_callback, ^ In file included from cnfmenu.c:24: cnfmenu.c:513:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- yearmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c yearmenu.c yearmenu.c: In function 'create_year_menu': yearmenu.c:87:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ yearmenu.c:110:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmDrawingAreaCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mainmenu.yearcal, XmNinputCallback, (XtCallbackProc) ^ yearmenu.c:112:53: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmDrawingAreaCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(mainmenu.yearcal, XmNexposeCallback, (XtCallbackProc) ^ In file included from yearmenu.c:26: yearmenu.c:121:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- yeardraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c yeardraw.c --- holmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c holmenu.c holmenu.c: In function 'create_holiday_popup': holmenu.c:99:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ holmenu.c:111:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNactivateCallback, (XtCallbackProc) ^ holmenu.c:113:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNhelpCallback, (XtCallbackProc) ^ holmenu.c:125:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNactivateCallback, (XtCallbackProc) ^ holmenu.c:127:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNhelpCallback, (XtCallbackProc) ^ holmenu.c:139:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNactivateCallback, (XtCallbackProc) ^ holmenu.c:141:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(but, XmNhelpCallback, (XtCallbackProc) ^ holmenu.c:180:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNhelpCallback, (XtCallbackProc) ^ In file included from holmenu.c:22: holmenu.c:185:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- adjmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c adjmenu.c --- weekmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c weekmenu.c --- adjmenu.o --- adjmenu.c: In function 'create_adjust_popup': adjmenu.c:204:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc)help_callback, ^ adjmenu.c:229:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc)help_callback, ^ adjmenu.c:253:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(adjust_w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:277:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form2, XmNhelpCallback, (XtCallbackProc)help_callback, ^ adjmenu.c:287:37: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w2, XmNhelpCallback, (XtCallbackProc)help_callback, ^ adjmenu.c:303:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(tzone_w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:346:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(toggle3_w, XmNvalueChangedCallback, (XtCallbackProc) ^ adjmenu.c:356:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(toggle0_w, XmNvalueChangedCallback, (XtCallbackProc) ^ adjmenu.c:366:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(toggle1_w, XmNvalueChangedCallback, (XtCallbackProc) ^ adjmenu.c:376:52: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(toggle2_w, XmNvalueChangedCallback, (XtCallbackProc) ^ adjmenu.c:404:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(begin_w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:433:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(end_w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:448:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:450:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ adjmenu.c:465:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:467:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ adjmenu.c:482:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ adjmenu.c:484:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from adjmenu.c:24: adjmenu.c:493:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- weekmenu.o --- weekmenu.c: In function 'create_week_menu': weekmenu.c:83:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:95:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:97:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:108:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:110:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:121:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:123:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:134:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:136:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:147:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:149:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ weekmenu.c:162:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ weekmenu.c:164:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from weekmenu.c:25: weekmenu.c:217:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- weekdraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c weekdraw.c --- weekcalc.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c weekcalc.c --- servmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c servmenu.c servmenu.c: In function 'create_serv_popup': servmenu.c:117:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ servmenu.c:144:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(text, XmNactivateCallback, (XtCallbackProc) ^ servmenu.c:164:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ servmenu.c:175:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ servmenu.c:186:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ servmenu.c:196:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ servmenu.c:219:5: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)add_callback, (XtPointer)0); ^ In file included from servmenu.c:22: servmenu.c:227:4: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)done_callback, (XtPointer)shell); ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- usermenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c -DLIB=\"/usr/pkg/libexec/plan\" usermenu.c usermenu.c: In function 'create_user_popup': usermenu.c:309:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:322:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:324:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:335:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:337:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:348:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:350:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:360:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:362:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:373:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:375:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:386:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:388:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c:420:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(scroll, XmNhelpCallback, (XtCallbackProc) ^ In file included from usermenu.c:31: usermenu.c:434:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ usermenu.c: In function 'create_user_rows': usermenu.c:573:6: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)list_callback, ^ usermenu.c:574:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)(C_GROUP + y * NCOLUMNS ^ usermenu.c:578:6: warning: cast between incompatible function types from 'struct _WidgetRec * (*)(struct _WidgetRec *, void *, XEvent *, Boolean *)' {aka 'struct _WidgetRec * (*)(struct _WidgetRec *, void *, union _XEvent *, char *)'} to 'void (*)(struct _WidgetRec *, void *, XEvent *, Boolean *)' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *, char *)'} [-Wcast-function-type] (XtEventHandler)call_popup_callback, ^ usermenu.c:579:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)y); ^ usermenu.c:584:6: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)list_callback, ^ usermenu.c:585:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)(x + y * NCOLUMNS)); ^ usermenu.c:587:6: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] (XtCallbackProc)help_callback, ^ usermenu.c: In function 'edit_user_button': usermenu.c:682:49: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(textwidget, XmNactivateCallback, (XtCallbackProc) ^ usermenu.c:683:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] got_text, (XtPointer)(x + y * NCOLUMNS)); ^ usermenu.c:684:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(textwidget, XmNhelpCallback, (XtCallbackProc) ^ usermenu.c: In function 'list_callback': usermenu.c:1048:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (y == 1) { ^ usermenu.c:1052:5: note: here case C_NAME: ^~~~ --- confmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c confmenu.c confmenu.c: In function 'create_calconfig_popup': confmenu.c:131:41: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(scroll, XmNhelpCallback, (XtCallbackProc)help_callback, ^ confmenu.c:145:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ confmenu.c:147:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:159:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNactivateCallback, (XtCallbackProc) ^ confmenu.c:161:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(help, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:197:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:199:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:214:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:216:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:231:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:233:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:248:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:250:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:265:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:267:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:282:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:284:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:300:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:302:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:315:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:333:42: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(defwarn, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:371:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:373:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:388:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:390:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:405:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:407:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:422:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:424:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:439:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:441:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:456:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:458:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:473:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:475:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:515:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:530:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(ndays, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:541:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:554:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:569:38: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(min, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:581:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:594:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:609:38: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(max, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:621:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:637:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:639:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:655:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:657:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ confmenu.c:673:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ confmenu.c:675:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from confmenu.c:26: confmenu.c:680:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- yovmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c yovmenu.c --- yovdraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c yovdraw.c --- yovmenu.o --- yovmenu.c: In function 'create_yov_menu': yovmenu.c:112:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:125:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:127:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:139:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:141:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:153:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:155:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:166:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:168:37: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:180:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:182:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:195:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:197:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:210:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:220:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(v, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:238:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:240:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmDrawingAreaCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ yovmenu.c:271:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:290:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ yovmenu.c:291:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] disp_callback, (XtPointer)i); ^ yovmenu.c:292:38: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:305:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ yovmenu.c:307:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ yovmenu.c:320:44: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ yovmenu.c:322:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from yovmenu.c:27: yovmenu.c:357:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ yovmenu.c: In function 'other_callback': yovmenu.c:501:49: warning: cast between incompatible function types from 'void (*)(int)' to 'int (*)()' [-Wcast-function-type] create_user_sel_popup(widget, config.yov_user, (BOOL (*)())callback); ^ --- yovcalc.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c yovcalc.c --- daymenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c daymenu.c daymenu.c: In function 'create_day_menu': daymenu.c:88:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:100:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:102:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:113:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:115:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:126:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:128:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:139:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:141:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:153:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:155:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ daymenu.c:168:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ daymenu.c:170:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from daymenu.c:29: daymenu.c:223:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- daydraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c daydraw.c --- daycalc.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c daycalc.c --- usersel.o --- --- psdraw.o --- --- usersel.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c usersel.c --- psdraw.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c psdraw.c --- usersel.o --- usersel.c: In function 'create_user_sel_popup': usersel.c:89:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ usersel.c:123:43: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(done, XmNactivateCallback, (XtCallbackProc) ^ usersel.c:137:47: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNvalueChangedCallback, (XtCallbackProc) ^ usersel.c:138:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] user_sel_callback, (XtPointer)u); ^ In file included from usersel.c:22: usersel.c:143:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- xutil.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c xutil.c --- help.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c help.c help.c: In function 'help_callback': help.c:108:39: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(form, XmNhelpCallback, (XtCallbackProc) ^ help.c:120:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ help.c:122:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ help.c:133:40: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNactivateCallback, (XtCallbackProc) ^ help.c:135:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ help.c:162:36: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, char *)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(w, XmNhelpCallback, (XtCallbackProc) ^ In file included from help.c:30: help.c:167:46: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XmAddWMProtocolCallback(shell, closewindow, (XtCallbackProc) ^ /home/pbulk/build/time/plan/work/.buildlink/include/Xm/Protocols.h:58:18: note: in definition of macro 'XmAddWMProtocolCallback' protocol, callback, closure) ^~~~~~~~ --- xutil.o --- xutil.c: In function 'drag_init': xutil.c:382:19: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, XButtonEvent *, char **, int)' {aka 'void (*)(struct _WidgetRec *, struct <anonymous> *, char **, int)'} to 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} [-Wcast-function-type] action.proc = (XtActionProc)canvas_callback; ^ --- dbase.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c dbase.c dbase.c: In function 'find_next_trigger': dbase.c:684:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ep->early_warn && ^ dbase.c:693:6: note: here case 1: ^~~~ dbase.c:694:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ep->late_warn && ^ dbase.c:703:6: note: here case 2: ^~~~ --- file_r.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c file_r.c --- file_w.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c file_w.c --- convert.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c convert.c --- util.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c -DPATH=\"/usr/pkg/libexec/plan:/usr/pkg/bin:/usr/pkg/share/plan\" util.c --- time.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c time.c --- sublist.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c sublist.c --- parser.c --- yacc -d parser.y --- lex.yy.c --- lex parser.lex --- holiday.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -DCPP_PATH=\"'/usr/bin/cpp -P -I/usr/pkg/share/plan'\" -c -DLIB=\"/usr/pkg/libexec/plan\" holiday.c --- parser.c --- mv y.tab.c parser.c --- language.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c language.c --- g_dbase.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c g_dbase.c --- g_dbfile.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c g_dbfile.c --- g_formfile.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c g_formfile.c --- g_formop.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c g_formop.c --- vcalendar_w.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c vcalendar_w.c --- daemon.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c daemon.c --- notifier.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c notifier.c --- daemon.o --- daemon.c: In function 'main': daemon.c:171:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ daemon.c:172:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ daemon.c: In function 'exec_program': daemon.c:558:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!quote && p[1]) ^ daemon.c:560:7: note: here default: ^~~~~~~ daemon.c:603:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd[0]); ^~~~~~~~~~ daemon.c:628:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd[1], msg, msgsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c: In function 'write_script': daemon.c:684:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ daemon.c: In function 'read_last_alarm': daemon.c:1100:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%ld",&result); ^~~~~~~~~~~~~~~~~~~~~~~~ --- notifier.o --- notifier.c: In function 'main': notifier.c:220:7: warning: cast between incompatible function types from '__attribute__((noreturn)) void (*)(int)' to 'void (*)(void *, XtIntervalId *)' {aka 'void (*)(void *, long unsigned int *)'} [-Wcast-function-type] (XtTimerCallbackProc)exit, 0); ^ --- notmenu.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c notmenu.c notmenu.c: In function 'create_widgets': notmenu.c:116:45: warning: cast between incompatible function types from 'void (*)(struct _WidgetRec *, int, XmToggleButtonCallbackStruct *)' {aka 'void (*)(struct _WidgetRec *, int, struct <anonymous> *)'} to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(snooze, XmNactivateCallback, (XtCallbackProc) ^ notmenu.c:131:46: warning: cast between incompatible function types from '__attribute__((noreturn)) void (*)(int)' to 'void (*)(struct _WidgetRec *, void *, void *)' [-Wcast-function-type] XtAddCallback(dismiss, XmNactivateCallback, (XtCallbackProc) ^ --- netplan.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -DNOBODY_UID=32767 -DNOBODY_GID=39 -c -DLIB=\"/usr/pkg/libexec/plan\" netplan.c --- netplan_acl.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c netplan_acl.c --- netplan.o --- netplan.c: In function 'reallocate': netplan.c:95:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!p) fatal("no memory"); return(p);} ^~ netplan.c:95:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!p) fatal("no memory"); return(p);} ^~~~~~ netplan.c: In function 'main': netplan.c:322:17: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] *)&addr, &n)) < 0) ^~ In file included from netplan.c:25: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ netplan.c:190:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^~~~~~~~~~~~~~~~~ netplan.c:192:3: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ netplan.c:202:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(nobody_gid); ^~~~~~~~~~~~~~~~~~ netplan.c:203:3: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(nobody_gid); ^~~~~~~~~~~~~~~~~~~ netplan.c:213:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(nobody_uid); ^~~~~~~~~~~~~~~~~~ netplan.c:214:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(nobody_uid); ^~~~~~~~~~~~~~~~~~~ netplan.c:240:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ netplan.c:241:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ netplan.c:248:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/usr/tmp"); ^~~~~~~~~~~~~~~~~ --- netplan_acl.o --- netplan_acl.c: In function 'acl_verify': netplan_acl.c:463:16: warning: value computed is not used [-Wunused-value] !found && i++) ^~ netplan_acl.c: In function 'ident_id': netplan_acl.c:563:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(idfd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- lex.yy.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c lex.yy.c lex.yy.c:1623:16: warning: 'input' defined but not used [-Wunused-function] #else ^ lex.yy.c:1580:17: warning: 'yyunput' defined but not used [-Wunused-function] ^ --- parser.o --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -c parser.c y.tab.c: In function 'yyparse': y.tab.c:1245:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] y.tab.c:1758:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] --- pland --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -o pland daemon.o dbase.o file_r.o util.o time.o cyccalc.o network.o convert.o language.o g_dbase.o g_dbfile.o g_formfile.o g_formop.o -lc --- notifier --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -o notifier notifier.o notmenu.o -L/usr/pkg/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11 --- netplan --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -o netplan netplan.o netplan_acl.o -L/usr/local/lib -lc --- plan --- gcc -O2 -DPLANLOCK=\""/tmp/.plan%d"\" -DPLANDLOCK=\""/tmp/.pland%d"\" -W -Wall -I/usr/pkg/include -DNOLOCK -DLINUX -o plan main.o popup.o print.o gotomenu.o network.o calmenu.o monmenu.o mondraw.o editmenu.o editdraw.o edit.o msgmenu.o cycmenu.o cyccalc.o keymenu.o excmenu.o cnfmenu.o yearmenu.o yeardraw.o holmenu.o adjmenu.o weekmenu.o weekdraw.o weekcalc.o servmenu.o usermenu.o confmenu.o yovmenu.o yovdraw.o yovcalc.o daymenu.o daydraw.o daycalc.o usersel.o psdraw.o xutil.o help.o dbase.o file_r.o file_w.o convert.o util.o time.o sublist.o parser.o lex.yy.o holiday.o language.o g_dbase.o g_dbfile.o g_formfile.o g_formop.o vcalendar_w.o -L/usr/pkg/lib -L/usr/lib/X11R6/lib -lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11