+ 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/xinvest-2.6.9nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xinvest-2.6.9nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xinvest-2.6.9nb3 --- account.o --- --- askuser.o --- --- account.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c account.c --- askuser.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c askuser.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/Xm.h:59, from askuser.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- account.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from account.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- calendar.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c calendar.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from calendar.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- account.o --- account.c: In function 'displayAccount': account.c:530:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) managedAccount ); ^ account.c:544:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) managedAccount ); ^ account.c:590:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer)new); ^ account.c: In function 'accountDirty': account.c:792:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int num = (int)client_data; ^ account.c: In function 'makeAccountMenu': account.c:1032:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) accountCB, (XtPointer) (item + 3) ); ^ --- calendar.o --- calendar.c: In function 'createMonth': calendar.c:172:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) dayCB, (XtPointer) day); ^ calendar.c: In function 'dayCB': calendar.c:284:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int next_day = (int)client_data; ^ calendar.c: In function 'monthCB': calendar.c:314:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int which = (int)client_data; ^ calendar.c: In function 'yearUpDnCB': calendar.c:331:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int dir = (int)client_data; ^ --- color.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c color.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from color.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- drawing.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c drawing.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/Xm.h:59, from drawing.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ drawing.c: In function 'redrawDrawing': drawing.c:158:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] suppress((int)data == 1); /* Expose or user update */ ^ --- edit.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c edit.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/Xm.h:59, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/XmAll.h:27, from edit.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ edit.c: In function 'editCB': edit.c:42:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int reason = (int) client_data; ^ --- fileXi.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c fileXi.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34, from fileXi.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- functions.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c functions.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from functions.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- fileXi.o --- fileXi.c: In function 'loadfile': fileXi.c:189:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return( (int)NULL ); ^ fileXi.c:199:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return( (int)NULL ); ^ fileXi.c:205:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return( (int)NULL ); ^ fileXi.c:290:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)NULL ); ^ fileXi.c:301:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)NULL ); ^ fileXi.c:313:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)NULL ); ^ fileXi.c:335:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)NULL ); ^ fileXi.c:344:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return( (int)NULL ); ^ fileXi.c: In function 'fileCB': fileXi.c:478:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] loadfileselect (w, (XtPointer)client_data, (XtPointer)call_data); ^ --- graph.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c graph.c --- help.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c help.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- graph.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34, from graph.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ graph.c: In function 'graph_pselect': graph.c:382:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int which = (int) client_data; ^ graph.c:400:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^ graph.c: In function 'displayGraph': graph.c:451:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^ graph.c: In function 'graph_vselect': graph.c:507:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int which = (int)client_data; ^ graph.c: In function 'graph_hselect': graph.c:552:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int which = (int) client_data; ^ graph.c:573:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] constCheckPoint ( False, (int)NULL ); ^ graph.c: In function 'graph_option': graph.c:603:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int option = (int) client_data; ^ --- nav.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c nav.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from nav.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- pixmap.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c pixmap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pixmap.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- portfolio.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c portfolio.c In file included from /usr/include/ctype.h:25, from portfolio.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ portfolio.c: In function 'portTraverse': portfolio.c:138:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int item = (int) client_data; ^ portfolio.c: In function 'portAddSubList': portfolio.c:430:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int function = (int) client_data; ^ portfolio.c: In function 'mknodes': portfolio.c:1240:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, element ); ^ portfolio.c: In function 'delnodes': portfolio.c:1340:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, current ); ^ portfolio.c:1359:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] node = (NODE *) exists ( parent, current ); ^ portfolio.c: In function 'exists': portfolio.c:1489:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)current->child ); ^ portfolio.c:1492:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( (int)current ); ^ --- pref.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c pref.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from pref.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pref.c: In function 'prefDateOpt': pref.c:203:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] loptLocDate = (int) which; ^ pref.c: In function 'prefCurrOpt': pref.c:208:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] loptLocCurr = (int) which; ^ pref.c: In function 'prefPrecOpt': pref.c:215:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lprec = (int) which; ^ pref.c: In function 'prefProc': pref.c:225:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int) which) { ^ pref.c: In function 'prefCreatePreference': pref.c:631:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) prefProc, (XtPointer)num ); ^ --- rate.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c rate.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from rate.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- remoteXi.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c remoteXi.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from remoteXi.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- report.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c report.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from report.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ report.c: In function 'reportCustomStartEnd': report.c:224:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)client_data == 0) { ^ report.c: In function 'reportCustomWarp': report.c:253:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int) client_data) { ^ report.c: In function 'reportDraw': report.c:1459:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)client_data == ALLOW) { ^ report.c: In function 'reportGenerate': report.c:1821:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] reportDraw (reportDrawing, (XtPointer)resize, (XtPointer)NULL); ^ --- resource.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c resource.c In file included from /usr/include/ctype.h:25, from resource.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- session.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c session.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from session.c:36: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- sessionXi.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c sessionXi.c --- status.o --- --- sessionXi.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sessionXi.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- status.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c status.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from status.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- sessionXi.o --- sessionXi.c: In function 'restoreState': sessionXi.c:128:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, QF_LINE_LEN, savefile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- status.o --- status.c: In function 'statusCB': status.c:171:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)client_data != 0) { ^ --- tooltips.o --- --- trans.o --- --- tooltips.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c tooltips.c --- trans.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c trans.c --- tooltips.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/Xm.h:59, from /home/pbulk/build/finance/xinvest/work/.buildlink/include/Xm/XmAll.h:27, from tooltips.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- trans.o --- In file included from /usr/include/ctype.h:25, from trans.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- util.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c util.c In file included from /usr/include/errno.h:25, from util.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xinvest.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c xinvest.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xinvest.c:35: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ --- xutil.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include/X11 -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSHAPE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c xutil.c --- xinvest.o --- xinvest.c: In function 'main': xinvest.c:1016:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) graph_vselect, (XtPointer) i ); ^ xinvest.c:1502:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtCallbackProc) calcTextSel, (XtPointer) i ); ^ xinvest.c: In function 'toolCB': xinvest.c:1785:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int which = (int) client_data; ^ --- xutil.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xutil.c:33: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xutil.c: In function 'makeMenuPulldown': xutil.c:152:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) numbuttons ); ^ xutil.c: In function 'makeButtonbar': xutil.c:274:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) i ); ^ xutil.c:280:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) i ); ^ --- Xinvest --- rm -f Xinvest cc -o Xinvest -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/pkg/lib account.o askuser.o calendar.o color.o drawing.o edit.o fileXi.o functions.o graph.o help.o nav.o pixmap.o portfolio.o pref.o rate.o remoteXi.o report.o resource.o session.o sessionXi.o status.o tooltips.o trans.o util.o xinvest.o xutil.o -Wl,-R/usr/pkg/lib -lXm -lXpm -lXt -lSM -lICE -lXext -lXext -lX11 -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib session.o: In function `sessSaveFile': session.c:(.text+0xb3): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'