=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for entropy-0.9.1.439nb4 clang -Iinclude -I/usr/include -E -MM src/*.c >.depend clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/entropy.o -c src/entropy.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/logger.o -c src/logger.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/funclib.o -c src/funclib.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/osd.o -c src/osd.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/tools.o -c src/tools.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/i18n.o -c src/i18n.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/mime.o -c src/mime.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/temp.o -c src/temp.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/memalloc.o -c src/memalloc.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/shmalloc.o -c src/shmalloc.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/config.o -c src/config.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/base64.o -c src/base64.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sha1.o -c src/sha1.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/ek5.o -c src/ek5.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/key.o -c src/key.c src/base64.c:77:17: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*src && isspace(*src)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/uri.o -c src/uri.c src/i18n.c:97:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*lang && isspace(*lang)) ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/osd.c:98:34: warning: format specifies type 'long long' but the argument has type '__int64_t' (aka 'long') [-Wformat] LOG(L_DEBUG,("usleep(%lld)\n", usecs)); ~~~~ ^~~~~ %ld include/logger.h:67:64: note: expanded from macro 'LOG' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/osd.c:584:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] zeroes = xcalloc(1, semsize); ^ ~~~~~~~~~~~~~~~~~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/bignum.o -c src/bignum.c src/tools.c:981:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/tools.c:989:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/tools.c:997:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/tools.c:1030:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/tools.c:1038:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/tools.c:1046:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[i])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/mime.c:120:29: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*ext != '\0' && isspace(*ext)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/tools.c:1402:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] gzbuff = xmalloc(gzsize); ^ ~~~~~~~~~~~~~~~ 1 warning generated. src/tools.c:1533:8: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(uncompressed_size + 1, sizeof(char)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tools.c:1561:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(size + 1, sizeof(char)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shmalloc.c:384:4: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (uint64_t)big)); ^~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/shmalloc.c:387:13: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_shm->brk[i], (uint64_t)g_shm->max[i])); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/shmalloc.c:387:38: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_shm->brk[i], (uint64_t)g_shm->max[i])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/memalloc.c:432:13: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_mem->brk[i], (uint64_t)g_mem->max[i])); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/memalloc.c:432:38: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_mem->brk[i], (uint64_t)g_mem->max[i])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/twofish2.o -c src/twofish2.c src/shmalloc.c:1164:4: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (uint64_t)size, strerror(errno)); ^~~~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt.o -c src/crypt.c src/config.c:656:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isalnum(ch = *val)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ src/config.c:761:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(val[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/config.c:783:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(val[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt0.o -c src/crypt0.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt1.o -c src/crypt1.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt2.o -c src/crypt2.c 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt3.o -c src/crypt3.c src/uri.c:37:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:38:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:39:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:40:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:43:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:44:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:45:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:46:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:49:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:50:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:51:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:52:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt4.o -c src/crypt4.c src/uri.c:68:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:69:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:70:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:71:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:91:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:92:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:93:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:94:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:132:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:133:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:134:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:135:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:168:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('B' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:169:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'I' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:170:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'T' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:171:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:189:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:190:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:191:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:192:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:210:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:211:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:212:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:213:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:238:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:239:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:240:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:241:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:245:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:246:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:247:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:248:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:252:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:253:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:254:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:255:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt5.o -c src/crypt5.c 4 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt6.o -c src/crypt6.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt7.o -c src/crypt7.c 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt8.o -c src/crypt8.c 3 warnings generated. 48 warningsclang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/fec.o -c src/fec.c generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/file.o -c src/file.c 9 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sock.o -c src/sock.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/store.o -c src/store.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/client.o -c src/client.c src/crypt8.c:155:6: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] pad = xmalloc(insize); ^ ~~~~~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peermsg.o -c src/peermsg.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peer.o -c src/peer.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/gif.o -c src/gif.c src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ src/file.c:609:13: warning: address of array 'tfdata->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfdata->name ? tfdata->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:622:13: warning: address of array 'tfmeta->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfmeta->name ? tfmeta->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:745:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] gzbuff = xrealloc(gzbuff, CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ src/file.c:1461:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(CHUNKSIZE, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/file.c:2011:13: warning: address of array 'tfdata->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfdata->name ? tfdata->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2019:13: warning: address of array 'tfmeta->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfmeta->name ? tfmeta->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2257:9: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/png.o -c src/png.c src/file.c:2258:6: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/unicode.o -c src/unicode.c 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/vt.o -c src/vt.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/proxy.o -c src/proxy.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/news.o -c src/news.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/store_tree.o -c src/store_tree.c 2 errors generated. Makefile:165: recipe for target 'obj/bignum.o' failed gmake: *** [obj/bignum.o] Error 1 gmake: *** Waiting for unfinished jobs.... src/peer.c:648:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*sol && isspace(*sol)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:654:39: warning: array subscript is of type 'char' [-Wchar-subscripts] while (eol >= pi->peer.hostname && isspace(*eol)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/proxy.c:684:15: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (isxdigit(url[1]) && isxdigit(url[2])) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ src/proxy.c:684:35: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (isxdigit(url[1]) && isxdigit(url[2])) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ src/proxy.c:1128:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xmalloc(fcp_blocksize); ^ ~~~~~~~~~~~~~~~~~~~~~~ src/proxy.c:1159:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xmalloc(fcp_blocksize); ^ ~~~~~~~~~~~~~~~~~~~~~~ src/peer.c:1684:5: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1684:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1690:5: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1690:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:1826:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xmalloc(LINESIZE); ^ ~~~~~~~~~~~~~~~~~ src/proxy.c:1871:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] tfd->name, done, strerror(errno))); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:1901:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] tfm->name, done, strerror(errno))); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:2250:8: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] data = (char *)xcalloc(meta->size + 1, sizeof(char)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proxy.c:2618:18: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] tfdata.name, reply->content_length, strerror(errno))); ^~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:2623:18: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] tfmeta.name, TEMP_UNKNOWN_SIZE, strerror(errno))); ^~~~~~~~~~~~~~~~~ include/temp.h:30:27: note: expanded from macro 'TEMP_UNKNOWN_SIZE' #define TEMP_UNKNOWN_SIZE (size_t)-1 ^~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:3008:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(size, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vt.c:241:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalnum(dst[len])) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ src/vt.c:280:18: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types] if (NULL == (gz = gzopen(vt->fontfile, "r"))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ src/vt.c:286:16: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] while (!gzeof(gz)) { ^~ * /usr/include/zlib.h:1595:38: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORT gzeof OF((gzFile file)); ^ src/vt.c:287:22: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] if (NULL == gzgets(gz, line, sizeof(line))) ^~ * /usr/include/zlib.h:1492:42: note: passing argument to parameter 'file' here ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); ^ src/peer.c:3376:4: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] i, (unsigned)(PEERS_MAX - 1))); ^ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/vt.c:592:10: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] gzclose(gz); ^~ * /usr/include/zlib.h:1631:43: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ src/proxy.c:5329:6: warning: variable 'fd' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized] if (0 != stat(filename, &st) || ^~~~~~~~~~~~~~~~~~~~~~~~ src/proxy.c:5344:12: note: uninitialized use occurs here if (-1 != fd) { ^~ src/proxy.c:5329:6: note: remove the '||' if its condition is always false if (0 != stat(filename, &st) || ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proxy.c:5303:8: note: initialize the variable 'fd' to silence this warning int fd, rc = 0; ^ = 0 src/png.c:507:35: warning: passing 'int *' to parameter of type '__uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (0 != (rc = png_read_uint(png,&png->w))) { ^~~~~~~ src/png.c:219:41: note: passing argument to parameter 'puint' here int png_read_uint(png_t *png, uint32_t *puint) ^ src/png.c:511:35: warning: passing 'int *' to parameter of type '__uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (0 != (rc = png_read_uint(png,&png->h))) { ^~~~~~~ src/png.c:219:41: note: passing argument to parameter 'puint' here int png_read_uint(png_t *png, uint32_t *puint) ^ src/proxy.c:5767:61: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] LOGS(L_PROXY,L_ERROR,("failed to send DataLength=%x\n", size)); ~~ ^~~~ %zx include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:5776:65: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] LOGS(L_PROXY,L_ERROR,("failed to send MetadataLength=%x\n", size)); ~~ ^~~~ %zx include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:3924:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:3925:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4305:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4306:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/png.c:940:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] idat = xmalloc(gzsize); ^ ~~~~~~~~~~~~~~~ src/store_tree.c:151:22: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sha1_hexstr(sha1), size, filename)); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:172:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] size, filename, strerror(errno))); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:221:4: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] idx, sha1_hexstr(sha1))); ^~~ include/logger.h:71:64: note: expanded from macro 'LOGS' src/news.c:256 logprintf(level, __function__, __FILE__, __LINE__, logappend msg): 41 ^~~ : warning: array subscript is of type 'char' [-Wchar-subscripts] if (src[0] == '&' && src[1] == '#' && isdigit(src[2])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'src/store_tree.c :230:4: warning: #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] ^~~~ idx, sha1_hexstr(sha1))); ^~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/png.c:1175:13: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] png->img = xcalloc(png->size, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/png.c:1204:13: warning: initializing '__uint8_t *' (aka 'unsigned char *') with an expression of type '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] uint8_t *idat = xmalloc(size); ^ ~~~~~~~~~~~~~ src/store_tree.c:360:4: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] idx, sha1_hexstr(sha1))); ^~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:384:22: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sha1_hexstr(sha1), size)); ^~~~ include/logger.h:71:64: notesrc/peer.c: :expanded from macro 'LOGS'4747 :8: warning: logprintf(level, __function__, __FILE__, __LINE__, logappend msg)format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] ^~~ rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4748:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:509:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] j, ^ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:510:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] g_store->head >= g_store->tail ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:525:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] d->size, datetime_str(d->time))); ^~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:547:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] j, ^ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:548:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] g_store->head >= g_store->tail ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:568:11: warning: initializing '__uint8_t *' (aka 'unsigned char *') with an expression of type '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] uint8_t *buff = xmalloc(size); ^ ~~~~~~~~~~~~~ src/proxy.c:7453:16: warning: comparison of array 'e->board' not equal to a null pointer is always true [-Wtautological-pointer-compare] NULL != e->board && ~~~~ ~~~^~~~~ src/proxy.c:7543:19: warning: comparison of array 'e->body' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (NULL != e->body && strlen(e->body) > 0) { ~~~~ ~~~^~~~ src/png.c:1466:11: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] png->img = xcalloc(png->size, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proxy.c:7746:17: warning: comparison of array 'e->charset' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (NULL != e->charset) { ~~~~ ~~~^~~~~~~ src/store_tree.c:1032:67: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] LOGS(L_STORE,L_NORMAL,("*** purging store: %d keys to delete\n", deletes)); ~~ ^~~~~~~ %zu include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:1054:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] LOGS(L_STORE,L_NORMAL,("*** %d to go\n", deletes)); ~~ ^~~~~~~ %zu include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/proxy.c:8343:30: warning: comparison of array 'curr->name' not equal to a null pointer is always true [-Wtautological-pointer-compare] } else if (NULL != curr->name && strlen(curr->name) > 0) { ~~~~ ~~~~~~^~~~ src/png.c:1927:11: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] font8x13 = xmalloc(size); ^ ~~~~~~~~~~~~~ src/store_tree.c:1179:4: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] size, strerror(errno))); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/store_tree.c:1364:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] g_store->storecount)); ^~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:6508:19: warning: passing '__uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] offs += snprintf(&version[offs], sizeof(version) - offs, ^~~~~~~~~~~~~~ /usr/include/stdio.h:348:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ src/peer.c:6618:26: warning: passing '__uint8_t [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 == XML_Parse(par, msg->data, size, 1)) { ^~~~~~~~~ /usr/include/expat.h:782:42: note: passing argument to parameter 's' here XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); ^ src/peer.c:6621:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:6622:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:8189:8: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(CHUNKSIZE, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/peer.c:8470:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8544:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8673:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8677:24: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_crypt && isdigit(*str_crypt)) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/peer.c:8680:25: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_crypt && isspace(*str_crypt)) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 1 warning generated. 16 warnings generated. 8 warnings generated. 7 warnings generated. 5 warnings generated. 24 warnings generated. 17 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/entropy *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/entropy