WARNING: [license.mk] Every package should define a LICENSE. ===> Building for knews-1.0nb18 making all in ./Widgets... clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ArtText.c ArtText.c:888:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ArtText.c:943:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ArtText.c:972:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (stop_off < stop->str.len) { ^ ArtText.c:1151:17: warning: variable 'button' set but not used [-Wunused-but-set-variable] int x, y, button; ^ 4 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ArtTree.c ArtTree.c:1287:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c CloseSh.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Dialogue.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c FileSel.c FileSel.c:192:1: warning: string literal of length 540 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical {" ^~~~~~~~~~~~ FileSel.c:318:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Login.c Login.c:115:1: warning: string literal of length 703 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Manager.c Manager.c:192:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Manager.c:197:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Manager.c:282:14: warning: variable 'ok' set but not used [-Wunused-but-set-variable] Boolean ok = True; ^ 3 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Menu.c Menu.c:347:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ Menu.c:347:2: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c MenuG.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c MenuKnapp.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c MenuShell.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Notice.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Knapp.c Knapp.c:291:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static void ClassInitialize() ^ void 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Message.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c PullRight.c In file included from PullRight.c:12: ./PullRightP.h:5:9: warning: 'PullRightP_h' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef PullRightP_h ^~~~~~~~~~~~ ./PullRightP.h:6:9: note: 'PullRightgP_h' is defined here; did you mean 'PullRightP_h'? #define PullRightgP_h ^~~~~~~~~~~~~ PullRightP_h 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Sash.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Scrollable.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ScrBar.c ScrBar.c:729:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ScrList.c ScrList.c:205:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ScrList.c:439:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c SeparatorG.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Shadow.c Shadow.c:439:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (class->shadow_class.alloc_shadow_pixmaps) ^ Shadow.c:469:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (w->shadow.alloced_arm_pixel) { ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c StringG.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c TextField.c TextField.c:142:1: warning: string literal of length 1522 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "CtrlA: beginning-of-line() \n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Toggle.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ToggleG.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Util.c Util.c:63:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_DEFAULT_INFO_1D(font, def); ^ ./UtilI.h:63:5: note: expanded from macro 'CI_GET_DEFAULT_INFO_1D' CI_GET_CHAR_INFO_1D (fs, fs->default_char, NULL, cs) ^ ./UtilI.h:55:2: note: expanded from macro 'CI_GET_CHAR_INFO_1D' else { \ ^ Util.c:65:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_DEFAULT_INFO_2D(font, def); ^ ./UtilI.h:92:5: note: expanded from macro 'CI_GET_DEFAULT_INFO_2D' CI_GET_CHAR_INFO_2D (fs, r, c, NULL, cs); \ ^ ./UtilI.h:80:2: note: expanded from macro 'CI_GET_CHAR_INFO_2D' else { \ ^ Util.c:72:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_CHAR_INFO_1D(font, ch, def, cs); ^ ./UtilI.h:55:2: note: expanded from macro 'CI_GET_CHAR_INFO_1D' else { \ ^ Util.c:108:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_DEFAULT_INFO_1D(font, def); ^ ./UtilI.h:63:5: note: expanded from macro 'CI_GET_DEFAULT_INFO_1D' CI_GET_CHAR_INFO_1D (fs, fs->default_char, NULL, cs) ^ ./UtilI.h:55:2: note: expanded from macro 'CI_GET_CHAR_INFO_1D' else { \ ^ Util.c:110:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_DEFAULT_INFO_2D(font, def); ^ ./UtilI.h:92:5: note: expanded from macro 'CI_GET_DEFAULT_INFO_2D' CI_GET_CHAR_INFO_2D (fs, r, c, NULL, cs); \ ^ ./UtilI.h:80:2: note: expanded from macro 'CI_GET_CHAR_INFO_2D' else { \ ^ Util.c:118:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_CHAR_INFO_1D(font, ch, def, cs); ^ ./UtilI.h:55:2: note: expanded from macro 'CI_GET_CHAR_INFO_1D' else { \ ^ Util.c:123:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] CI_GET_CHAR_INFO_2D(font, row, col, def, cs); ^ ./UtilI.h:80:2: note: expanded from macro 'CI_GET_CHAR_INFO_2D' else { \ ^ 7 warnings generated. clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c Layout.c sed 's/yy/LayYY/g' laylex_new.c > laylex.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c laygram.c clang -O2 -ansi -pedantic -Wall -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c laylex.c laylex.c:26:14: warning: result of comparison of constant 256 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] return c < 256 && is_word_sep[c]; ~ ^ ~~~ 1 warning generated. rm -f libWidgets.a ar clq libWidgets.a ArtText.o ArtTree.o CloseSh.o Dialogue.o FileSel.o Login.o Manager.o Menu.o MenuG.o MenuKnapp.o MenuShell.o Notice.o Knapp.o Message.o PullRight.o Sash.o Scrollable.o ScrBar.o ScrList.o SeparatorG.o Shadow.o StringG.o TextField.o Toggle.o ToggleG.o Util.o Layout.o laylex.o laygram.o ranlib libWidgets.a making all in ./src... clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c actions.c actions.c:237:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ actions.c:259:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ actions.c:551:11: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] XtSetArg(args[3], XtNrowSpacing, atoi(params[3])); ^ ~ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/X11/Intrinsic.h:1170:15: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^~~ actions.c:530:5: note: array 'args' declared here Arg args[3]; ^ actions.c:551:11: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] XtSetArg(args[3], XtNrowSpacing, atoi(params[3])); ^ ~ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/X11/Intrinsic.h:1170:33: note: expanded from macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^~~ actions.c:530:5: note: array 'args' declared here Arg args[3]; ^ 4 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ahead.c ahead.c:146:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c bg.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c cache.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c charset.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c child.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c color.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c connect.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c decode.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c domain.c domain.c:83:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void fix_domain_stuff() ^ void 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c expand.c expand.c:200:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c file.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c font.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c ftp.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c gif.c gif.c:53:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c jpeg.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c k_action.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c k_edit.c k_edit.c:470:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ In file included from k_edit.c:636: ./layouts/kill.h:1:1: warning: string literal of length 1121 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ In file included from k_edit.c:638: ./layouts/killg.h:1:1: warning: string literal of length 1314 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ 3 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c k_file.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c k_kill.c k_kill.c:527:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ k_kill.c:550:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c k_node.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c mailcap.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c main.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c misc.c misc.c:231:23: warning: cast to smaller integer type 'MarkScope' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] MarkScope scope = (MarkScope)client_data; ^~~~~~~~~~~~~~~~~~~~~~ misc.c:474:23: warning: cast to smaller integer type 'MarkScope' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] MarkScope scope = (MarkScope)client_data; ^~~~~~~~~~~~~~~~~~~~~~ misc.c:779:57: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (global.print_command && global.print_command != '\0') { ^~~~ (void *)0 misc.c:1191:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 4 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c newsrc.c newsrc.c:494:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ newsrc.c:600:9: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUPS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ newsrc.c:600:9: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ newsrc.c:714:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUPS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ newsrc.c:714:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ 3 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_attach.c p_attach.c:290:22: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] fputs("\r\n\r\n" + (col == 0 ? 2 : 0), fout); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ p_attach.c:290:22: note: use array indexing to silence this warning fputs("\r\n\r\n" + (col == 0 ? 2 : 0), fout); ^ & [ ] 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_check.c p_check.c:271:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!check_cancel(w, field + 7, end)) ^ p_check.c:292:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!check_cancel(w, field + 7, end)) ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_menu.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_popup.c In file included from p_popup.c:107: ./layouts/post.h:1:1: warning: string literal of length 1793 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ p_popup.c:943:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(editcmd, global.edit_command); ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ p_popup.c:943:23: note: treat the string as an argument to avoid this sprintf(editcmd, global.edit_command); ^ "%s", /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_post.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c p_setup.c p_setup.c:791:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c parse.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c partial.c partial.c:197:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (tot != c->tot) { ^ partial.c:359:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_ARTICLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ partial.c:359:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ partial.c:366:25: warning: cast to smaller integer type 'NoticeReply' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] NoticeReply reply = (NoticeReply)call_data; ^~~~~~~~~~~~~~~~~~~~~~ partial.c:531:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_HEAD); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ partial.c:531:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ 4 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c png.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c procs.c procs.c:94:25: warning: cast to smaller integer type 'NoticeReply' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] NoticeReply reply = (NoticeReply)call_data; ^~~~~~~~~~~~~~~~~~~~~~ procs.c:95:20: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int catchup = (int)client_data; ^~~~~~~~~~~~~~~~ procs.c:111:22: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] confirm_callback, (XtPointer)catchup, XtGrabExclusive); ^~~~~~~~~~~~~~~~~~ procs.c:472:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ procs.c:676:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!first) ^ 5 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c read.c read.c:211:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ read.c:223:11: warning: implicit declaration of function 'do_xface' [-Wimplicit-function-declaration] pixmap = do_xface(headers, n, &width, &height); ^ read.c:401:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ read.c:564:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (IS_BOUNDARY(buffer, ext_bound, ext_len)) ^ read.c:639:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (case_lstrncmp(headers[i] + 8, ^ read.c:861:15: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] buffer = CODE_TO_STR(NNTP_OK_ARTICLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ read.c:861:15: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ read.c:889:9: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_ARTICLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ read.c:889:9: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ read.c:988:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_ARTICLE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ read.c:988:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ 8 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c resource.c resource.c:844:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c save.c In file included from save.c:722: ./layouts/save.h:1:1: warning: string literal of length 1132 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c search.c search.c:742:25: warning: cast to smaller integer type 'SearchScope' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] SearchScope scope = (SearchScope)client_data; ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from search.c:811: ./layouts/search.h:1:1: warning: string literal of length 1762 exceeds maximum length 509 that C90 compilers are required to support [-Woverlength-strings] "vertical { " ^~~~~~~~~~~~~ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c server.c server.c:167:34: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (char *)&error, &length) == 0) { ^~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/socket.h:728:76: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ server.c:250:6: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] c = CODE_TO_STR(NNTP_ERR_FAULT) "%d This ain't happening, man!\r\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ server.c:250:6: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c sort.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c sysdeps.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c tag.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c thread.c thread.c:779:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUP); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:779:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:887:7: warning: variable 'skip' set but not used [-Wunused-but-set-variable] int skip = False; ^ thread.c:1097:12: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUP); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1097:12: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:1154:13: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUP); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1154:13: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:1191:10: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUP); /* Hack for leafnode... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1191:10: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:1197:13: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return CODE_TO_STR(NNTP_OK_GROUP); /* weird... */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1197:13: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:1290:13: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] read_group(CODE_TO_STR(NNTP_OK_GROUP), False, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1290:13: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ thread.c:1300:13: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] read_group(CODE_TO_STR(NNTP_OK_GROUP), False, first); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ~~~~~~~~^~~~~~~~~~~~~~ thread.c:1300:13: note: use array indexing to silence this warning ./codes.h:2:32: note: expanded from macro 'CODE_TO_STR' #define CODE_TO_STR(a) (a - a) + STRINGIFY(a) ^ 8 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c util.c util.c:622:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (last->last < art->no) { ^ util.c:641:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!first) ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c uudecode.c uudecode.c:167:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ uudecode.c:199:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 2 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c viewer.c viewer.c:241:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (strcmp(subtype, "gif") == 0) ^ 1 warning generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c widgets.c clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xface.c In file included from xface.c:19: /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:180:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int ReadBuf P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:183:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int WriteBuf P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:186:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void BigClear P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:189:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void BigPrint P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:196:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void GenFace P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:203:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void UnGenFace P(()) ; ^ void /Users/pbulk/build-disk/news/knews/work/.buildlink/include/compface.h:27:18: note: expanded from macro 'P' #define P(args) args ^ xface.c:59:16: warning: unused variable 'k' [-Wunused-variable] int i, j, k; ^ xface.c:98:12: warning: implicit declaration of function 'put_grey_image' [-Wimplicit-function-declaration] return put_grey_image(image, FACE_SIZE, FACE_SIZE); ^ 8 warnings generated. clang -O2 -ansi -pedantic -Wall -I../Widgets -I/opt/pkg/include -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c xutil.c xutil.c:295:25: warning: cast to smaller integer type 'NoticeReply' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] NoticeReply reply = (NoticeReply)call_data; ^~~~~~~~~~~~~~~~~~~~~~ xutil.c:296:24: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int allow_abort = (int)client_data; ^~~~~~~~~~~~~~~~ xutil.c:338:32: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] update_failed_callback, (XtPointer)allow_abort, ^~~~~~~~~~~~~~~~~~~~~~ xutil.c:389:25: warning: cast to smaller integer type 'NoticeReply' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] NoticeReply reply = (NoticeReply)call_data; ^~~~~~~~~~~~~~~~~~~~~~ xutil.c:405:25: warning: cast to smaller integer type 'NoticeReply' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-enum-cast] NoticeReply reply = (NoticeReply)call_data; ^~~~~~~~~~~~~~~~~~~~~~ xutil.c:414:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (global_cleanup(True, True)) ^ xutil.c:427:29: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] have_posts_callback, (XtPointer)do_exit, ^~~~~~~~~~~~~~~~~~ xutil.c:436:36: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] disconnect_verify_callback, (XtPointer)do_exit, ^~~~~~~~~~~~~~~~~~ 8 warnings generated. rm -f knews._man if test -z "" ; then cd `dirname knews` && ln -s `basename knews.man` `basename knews._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < knews.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >knews._man; fi rm -f knews clang -o knews -O2 -ansi -pedantic -Wall -L/opt/pkg/lib actions.o ahead.o bg.o cache.o charset.o child.o color.o connect.o decode.o domain.o expand.o file.o font.o ftp.o gif.o jpeg.o k_action.o k_edit.o k_file.o k_kill.o k_node.o mailcap.o main.o misc.o newsrc.o p_attach.o p_check.o p_menu.o p_popup.o p_post.o p_setup.o parse.o partial.o png.o procs.o read.o resource.o save.o search.o server.o sort.o sysdeps.o tag.o thread.o util.o uudecode.o viewer.o widgets.o xface.o xutil.o -L../Widgets -lWidgets -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -ljpeg -lpng -lz -lm -lcompface -L/opt/pkg/lib -lXmu -Wl,-R/opt/pkg/lib -lXpm -lXt -lSM -lICE -lXext -lX11 ld: warning: duplicate -rpath '/opt/pkg/lib' ignored