Snippets for ace-of-penguins 1.4 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/ace-of-penguins/1.4/150arm64-default.log.
-
stack.c:551:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 551 | } | ^ -
table.c:344:13: warning: enumeration value 'ev_none' not handled in switch [-Wswitch] 344 | switch (event.type) | ^~~~~~~~~~ -
table.c:515:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 515 | save[0] = (int)clip_saves; | ^~~~~~~~~~~~~~~ -
table.c:548:16: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] 548 | clip_saves = (int *)clip_saves[0]; | ^~~~~~~~~~~~~~~~~~~~ -
imagelib.c:28:1: warning: non-void function does not return a value [-Wreturn-type] 28 | } | ^ -
imagelib.c:109:17: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | rv = (image *)malloc (sizeof(image)); | ^ -
xwin.c:324:5: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | (char *)&mwm_hints, PROP_MWM_HINTS_ELEMENTS); | ^~~~~~~~~~~~~~~~~~ -
xwin.c:849:14: warning: assigning to 'const char *' from 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 849 | file_bytes = src->file_data; | ^ ~~~~~~~~~~~~~~ -
xwin.c:903:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 903 | ximage->data = (unsigned char *)malloc(ximage->bytes_per_line * (xrotate ? width : height)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xwin.c:916:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 916 | xmask->data = (unsigned char *)malloc(xmask->bytes_per_line * (xrotate ? width : height)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./make-imglib.c:61:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 61 | while (de = readdir(dir)) { | ~~~^~~~~~~~~~~~~~ -
./make-imglib.c:207:20: warning: call to undeclared library function 'isgraph' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | while (*next && !isgraph(*next)) next++; | ^ -
./make-imglib.c:260:69: warning: format specifies type 'char *' but the argument has type 'FILE *' (aka 'struct __sFILE *') [-Wformat] 260 | fprintf(stderr, "Unable to open dependency file %s for writing\n", depfile); | ~~ ^~~~~~~ -
canfield.c:262:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 262 | else if (stack_count_cards(talon)) | ^ -
mastermind.c:63:1: warning: non-void function does not return a value [-Wreturn-type] 63 | } | ^ -
taipedit.c:266:1: warning: non-void function does not return a value [-Wreturn-type] 266 | } | ^ -
taipei.c:196:1: warning: non-void function does not return a value [-Wreturn-type] 196 | } | ^