Snippets for aewan 1.0.01 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/aewan/1.0.01_2/150arm64-default.log.
-
aewan.c:142:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 142 | printw(msg); | ^~~ -
aeff.c:91:40: warning: incompatible function pointer types passing 'int (gzFile)' (aka 'int (struct gzFile_s *)') to parameter of type 'int (*)(void *)' [-Wincompatible-function-pointer-types] 91 | autod_assign( line, freadline_ex(f, gzgetc) ); | ^~~~~~ -
aeff.c:196:42: warning: incompatible function pointer types passing 'int (gzFile)' (aka 'int (struct gzFile_s *)') to parameter of type 'int (*)(void *)' [-Wincompatible-function-pointer-types] 196 | autod_assign(line, freadline_ex(f->f, gzgetc)); | ^~~~~~ -
debug_aewl.c:22:14: warning: call to undeclared function 'filedlg_show'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | char *s = filedlg_show("Test Dialog"); | ^ -
debug_aewl.c:22:10: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] 22 | char *s = filedlg_show("Test Dialog"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./helpdlg.h:35:9: warning: '_btco_aewan_helpdlg_h' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 35 | #ifndef _btco_aewan_helpdlg_h | ^~~~~~~~~~~~~~~~~~~~~ -
vlayer.c:12:32: warning: variable 'doc' is uninitialized when used within its own initialization [-Wuninitialized] 12 | Document *doc = (Document*) doc; | ~~~ ^~~ -
bores/kurses.c:142:8: warning: variable 'maxy' set but not used [-Wunused-but-set-variable] 142 | int maxy, maxx; | ^ -
bores/util.c:219:28: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] 219 | while (ch != '\n' && ch != -1) { | ~~ ^ ~~