=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for sharity-light-1.2nb1 cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o proc.o proc.c proc.c:85:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:85:19: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:93:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:93:19: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^~~~ /usr/include/string.h:58:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:131:22: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(name); ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ proc.c:524:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char* buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:532:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:535:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:535:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^~~~~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:548:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:551:34: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:551:37: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^~~~~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:586:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:606:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:623:50: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); ^~~~ proc.c:107:32: note: passing argument to parameter 'data' here smb_decode_data(byte *p, byte *data, word *data_len, int fs) ^ proc.c:646:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:661:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = smb_request_read_raw(server, data, count); ^~~~ include/smb/smb_fs.h:158:41: note: passing argument to parameter 'target' here unsigned char *target, int max_len); ^ proc.c:671:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:698:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:726:48: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = smb_request_write_raw(server, data, count); ^~~~ include/smb/smb_fs.h:160:48: note: passing argument to parameter 'source' here unsigned const char *source, int length); ^ proc.c:756:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:760:5: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, command, 3, len + 2); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:763:20: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:763:23: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:802:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:808:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBmv, 1, olen + nlen + 4); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:810:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:810:33: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:810:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:811:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:811:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:831:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBmkdir, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:832:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:832:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:852:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBrmdir, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:853:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:853:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:868:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:875:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBunlink, 1, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:877:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:877:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:892:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:897:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBwrite, 5, 3); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:902:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:902:29: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:959:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:970:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:974:46: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:974:49: warning: passing 'char [dirlen + 5]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:974:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:976:45: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_word(p, 0); ^ proc.c:56:23: note: passing argument to parameter 'p' here smb_encode_word(byte *p, word data) ^ proc.c:976:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_word(p, 0); ^ ~~~~~~~~~~~~~~~~~~~~~ proc.c:978:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:982:46: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:982:49: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:982:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:983:47: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ proc.c:98:25: note: passing argument to parameter 'p' here smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:983:50: warning: passing 'char [21]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^~~~~~ proc.c:98:40: note: passing argument to parameter 'data' here smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:983:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1002:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_VWV(server->packet); ^ ~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1003:37: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1003:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1004:37: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1004:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1229:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_BUF(outbuf); ^ ~~~~~~~~~~~~~~~ proc.c:1217:28: warning: implicit conversion from 'int' to 'unsigned char' changes value from 4079 to 239 [-Wconstant-conversion] WSET(outbuf,smb_mdrcnt,TRANS2_MAX_TRANSFER); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ include/smb/smb.h:18:34: note: expanded from macro 'TRANS2_MAX_TRANSFER' #define TRANS2_MAX_TRANSFER (4096-17) ~~~~^~~ include/smb/smb.h:36:43: note: expanded from macro 'WSET' #define WSET(buf,pos,val) (BVAL(buf,pos)=(val), BVAL(buf,(pos)+1)=(unsigned)(val)>>8) ^ proc.c:1422:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1429:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBgetatr, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1430:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1430:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1454:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char* buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1518:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1525:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsetatr, 8, 4 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1528:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1528:33: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1528:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1529:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:90:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1529:33: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1529:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1546:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1608:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_VWV(server->packet); ^ ~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1609:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1609:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1610:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1610:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1611:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1611:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1612:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ proc.c:64:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1612:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1689:32: warning: passing 'char [17]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_name_mangle(p, server->m.server_name); ^~~~~~~~~~~~~~~~~~~~~ proc.c:127:38: note: passing argument to parameter 'name' here smb_name_mangle(byte *p, const byte *name) ^ proc.c:1690:32: warning: passing 'char [17]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_name_mangle(p, server->m.client_name); ^~~~~~~~~~~~~~~~~~~~~ proc.c:127:38: note: passing argument to parameter 'name' here smb_name_mangle(byte *p, const byte *name) ^ proc.c:1734:42: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name)); ^~~~~~~~~~~~~ proc.c:82:41: note: passing argument to parameter 'name' here smb_encode_dialect(byte *p, const byte *name, int len) ^ proc.c:1802:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.password); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1804:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.username); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1806:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, cfg_workgroup); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1807:37: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ proc.c:1808:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, OS_id); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1809:37: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ proc.c:1810:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, client_id); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1826:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.password); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1828:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.username); ^ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1854:33: warning: passing 'char [64]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, server->m.service, strlen(server->m.service)); ^~~~~~~~~~~~~~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1855:32: warning: passing 'char [64]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p,server->m.password, strlen(server->m.password)); ^~~~~~~~~~~~~~~~~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1856:33: warning: passing 'char [3]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, dev, strlen(dev)); ^~~ proc.c:90:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ 104 warnings generated. cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o sock.o sock.c sock.c:34:18: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] addr_len); ^~~~~~~~ /usr/include/sys/socket.h:632:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o rumba.o rumba.c rumba.c:81:11: warning: array subscript is of type 'char' [-Wchar-subscripts] *name = toupper(*name); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ rumba.c:377:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if(isdigit(optarg[0])){ ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ rumba.c:389:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if(isdigit(optarg[0])){ ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 3 warnings generated. cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o psinode.o psinode.c cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o kernel.o kernel.c cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o smb_abstraction.o smb_abstraction.c smb_abstraction.c:85:11: warning: array subscript is of type 'char' [-Wchar-subscripts] *name = toupper(*name); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ smb_abstraction.c:100:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s1) != tolower(*s2)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ smb_abstraction.c:100:22: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s1) != tolower(*s2)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 3 warnings generated. cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o fo_nfs.o fo_nfs.c (cd nfs; /usr/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD" "CC=cc" "ARCH= " "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized") rm -f nfs_prot_xdr.c rpcgen -c nfs_prot.x | sed 's;^#include ".*/nfs_prot.h"$;#include "nfs_prot.h";' >nfs_prot_xdr.c rm -f nfs_prot.h rpcgen -h nfs_prot.x | sed 's@char data\[NFS_FHSIZE\];@long long data\[NFS_FHSIZE / sizeof(long long)\];@' > nfs_prot.h cc -c -I. -I.. -Wall -O2 -DNETBSD -Wno-unused -Wno-switch -Wno-uninitialized -c nfs_prot_xdr.c cc -c -I. -I.. -Wall -O2 -DNETBSD mount.c mount.c:14:10: fatal error: 'rpc/rpc.h' file not found #include ^ 1 error generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.2/nfs *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sharity-light *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sharity-light