=> 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/i18n.c:97:19: warning: array subscript is of type 'char' [-Wchar-subscripts] 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); ^ ~~~~~~~~~~~~~~~~~~~ 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)) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/uri.o -c src/uri.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/bignum.o -c src/bignum.c 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/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)); ^~~~~~~~~~~~~~ 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) ^~~ 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/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. 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); ^ ~~~~~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/twofish2.o -c src/twofish2.c 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/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/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)) ^~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt.o -c src/crypt.c 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt0.o -c src/crypt0.c 1 warning generated. 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 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)])) ^~~~ 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/crypt3.o -c src/crypt3.c 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt4.o -c src/crypt4.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. 3 warnings generated. 48 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 clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt8.o -c src/crypt8.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/fec.o -c src/fec.c 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 src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/client.o -c src/client.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peermsg.o -c src/peermsg.c 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:71src/crypt8.c::64:155 :note6: expanded from macro 'LOGS' : warning: logprintf(level, __function__, __FILE__, __LINE__, logappend msg)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); ^ ~~~~~~~~~~~~~~~ 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/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) ^~~ 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/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 clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/png.o -c src/png.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/unicode.o -c src/unicode.c 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 2 errors generated. Makefile:165: recipe for target 'obj/bignum.o' failed gmake: *** [obj/bignum.o] Error 1 gmake: *** Waiting for unfinished jobs.... 1 warning generated. 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/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/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/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/png.c:1175:13src/peer.c:: 1684warning: :assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]16 : warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] png->img = xcalloc(png->size, sizeof(uint8_t)); 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/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/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/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/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/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/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/peer.c:4747: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: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/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)) ^~~~ 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/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/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/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/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/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/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/news.c:256: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' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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/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/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) { ~~~~ ~~~~~~^~~~ 8 warnings generated. 7 warnings generated. 1 warning 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