Snippets for aalib 1.4.r5 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/aalib/1.4.r5_14/150arm64-default.log.
-
aamktabl.c:78:10: warning: unsequenced modification and access to 'p1' [-Wunsequenced] 72 | if ((p1=dist(parameters[i].p[0], | ~~~~~~~~~~~~~~~~~~~~~~~~ 73 | parameters[i].p[1], | ~~~~~~~~~~~~~~~~~~~ 74 | parameters[i].p[2], | ~~~~~~~~~~~~~~~~~~~ 75 | parameters[i].p[3], | ~~~~~~~~~~~~~~~~~~~ 76 | parameters[i].p[4], | ~~~~~~~~~~~~~~~~~~~ 77 | p1, p2, p3, p4, sum)) >= | ~~~~~~~~~~~~~~~~~~~~ 78 | (p1=dist(parameters[table[pos]].p[0], | ^ -
aaregist.c:38:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | if (!strcmp(t, aa_drivers[i]->name) || !strcmp(t, aa_drivers[i]->shortname)) { | ^ -
aakbdreg.c:37:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | if (!strcmp(t, aa_kbddrivers[i]->name) || !strcmp(t, aa_kbddrivers[i]->shortname)) { | ^ -
aamoureg.c:33:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | if (!strcmp(t, aa_mousedrivers[i]->name) || !strcmp(t, aa_mousedrivers[i]->shortname)) { | ^ -
aainfo.c:12:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | exit(1); | ^ -
aatest.c:8:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 8 | strcpy(s, "line editor."); | ^ -
aatest.c:11:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | exit(1); | ^ -
aasavefont.c:10:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | exit(1); | ^ -
aafire.c:51:3: warning: call to undeclared function 'srandomdev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | srandomdev(); | ^ -
aafire.c:56:7: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | exit (1); | ^ -
aafire.c:96:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | char *bitmap = aa_image (context); | ^ ~~~~~~~~~~~~~~~~~~ -
aafire.c:99:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | for (p = bitmap; p <= (unsigned char *) (END); p += 1) | ^ ~~~~~~ -
aafire.c:113:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | char *bitmap = aa_image (context); | ^ ~~~~~~~~~~~~~~~~~~ -
aafire.c:118:12: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | loop = random () % 3, sloop++;; | ^ -
aafire.c:121:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 121 | for (p = (char *) bitmap + XSIZ * (YSIZ + 0); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~