Snippets for nvi 1.81.6 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/99pjzwhax6hjhffqkybbafn4ajf9gls9-nvi-1.81.6.drv.
-
../dist/../ex/ex_cscope.c:500:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 500 | (void)fprintf(csc->to_fp, "%d%s\n", search, tqp->tag + 2); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %ld -
../dist/../ex/ex_script.c:786:1: warning: old-style function definition [-Wold-style-definition] 786 | sscr_pty(amaster, aslave, name, termp, winp) | ^~~~~~~~ -
../dist/../ex/ex_script.c:812:40: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 812 | (void) chown(line, getuid(), ttygid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../dist/../ex/ex_visual.c:84:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'db_recno_t' {aka 'unsigned int'} [-Wformat=] 84 | "%luz%c%lu", sp->lno, pos, cmdp->count); | ~~^ ~~~~~~~ | | | | | db_recno_t {aka unsigned int} | long unsigned int | %u -
../dist/../ex/ex_visual.c:86:53: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'db_recno_t' {aka 'unsigned int'} [-Wformat=] 86 | len = snprintf(buf, sizeof(buf), "%luz%c", sp->lno, pos); | ~~^ ~~~~~~~ | | | | | db_recno_t {aka unsigned int} | long unsigned int | %u -
../dist/../common/key.c:298:42: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] 298 | sp->cname[len++] = octdigit[(ch & mask) >> shift]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../dist/../common/main.c:389:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 389 | (void)write(STDOUT_FILENO, p, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../dist/../common/recover.c:849:23: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 849 | (void)system(buf); | ^~~~~~~~~~~ -
../dist/../vi/vi.h:320:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'db_recno_t' {aka 'unsigned int'} [-Wformat=] 320 | #define O_NUMBER_FMT "%7lu " /* O_NUMBER format, length. */ | ^~~~~~~ -
../dist/../vi/vs_refresh.c:825:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'db_recno_t' {aka 'unsigned int'} [-Wformat=] 825 | snprintf(buf, sizeof(buf), "%lu,%lu", sp->lno, curcol + 1); | ~~^ ~~~~~~~ | | | | | db_recno_t {aka unsigned int} | long unsigned int | %u -
../dist/../regex/engine.c:48:17: warning: old-style function definition [-Wold-style-definition] 48 | #define matcher smatcher | ^~~~~~~~ -
../dist/../regex/engine.c:51:17: warning: old-style function definition [-Wold-style-definition] 51 | #define dissect sdissect | ^~~~~~~~ -
../dist/../regex/engine.c:52:17: warning: old-style function definition [-Wold-style-definition] 52 | #define backref sbackref | ^~~~~~~~ -
../dist/../regex/engine.c:49:17: warning: old-style function definition [-Wold-style-definition] 49 | #define fast sfast | ^~~~~ -
../dist/../regex/engine.c:50:17: warning: old-style function definition [-Wold-style-definition] 50 | #define slow sslow | ^~~~~ -
../dist/../regex/engine.c:53:17: warning: old-style function definition [-Wold-style-definition] 53 | #define step sstep | ^~~~~ -
../dist/../regex/engine.c:59:17: warning: old-style function definition [-Wold-style-definition] 59 | #define matcher lmatcher | ^~~~~~~~ -
../dist/../regex/engine.c:62:17: warning: old-style function definition [-Wold-style-definition] 62 | #define dissect ldissect | ^~~~~~~~ -
../dist/../regex/engine.c:63:17: warning: old-style function definition [-Wold-style-definition] 63 | #define backref lbackref | ^~~~~~~~ -
../dist/../regex/engine.c:60:17: warning: old-style function definition [-Wold-style-definition] 60 | #define fast lfast | ^~~~~ -
../dist/../regex/engine.c:61:17: warning: old-style function definition [-Wold-style-definition] 61 | #define slow lslow | ^~~~~ -
../dist/../regex/engine.c:64:17: warning: old-style function definition [-Wold-style-definition] 64 | #define step lstep | ^~~~~ -
../dist/../cl/cl_funcs.c:242:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | (void)write(STDOUT_FILENO, "\07", 1); /* \a */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~