<86>Jan 26 09:07:43 userdel[17352]: delete user 'rooter' <86>Jan 26 09:07:43 userdel[17352]: removed group 'rooter' owned by 'rooter' <86>Jan 26 09:07:43 userdel[17352]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 09:07:43 groupadd[17379]: group added to /etc/group: name=rooter, GID=570 <86>Jan 26 09:07:43 groupadd[17379]: group added to /etc/gshadow: name=rooter <86>Jan 26 09:07:43 groupadd[17379]: new group: name=rooter, GID=570 <86>Jan 26 09:07:43 useradd[17400]: new user: name=rooter, UID=570, GID=570, home=/root, shell=/bin/bash <86>Jan 26 09:07:43 userdel[17440]: delete user 'builder' <86>Jan 26 09:07:43 userdel[17440]: removed group 'builder' owned by 'builder' <86>Jan 26 09:07:43 userdel[17440]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 09:07:43 groupadd[17470]: group added to /etc/group: name=builder, GID=571 <86>Jan 26 09:07:43 groupadd[17470]: group added to /etc/gshadow: name=builder <86>Jan 26 09:07:43 groupadd[17470]: new group: name=builder, GID=571 <86>Jan 26 09:07:43 useradd[17497]: new user: name=builder, UID=571, GID=571, home=/usr/src, shell=/bin/bash <13>Jan 26 09:07:47 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 09:07:47 rpmi: libgdbm-devel-1.8.3-alt10 1454943334 installed Installing mars_nwe-0.99-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21367 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mars_nwe + echo 'Source #0 (mars_nwe-0.99.pl21.tar.bz2):' Source #0 (mars_nwe-0.99.pl21.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl21.tar.bz2 + /bin/tar -xf - + cd mars_nwe + /bin/chmod -c -Rf u+rwX,go-w . mode of './COPYING' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + echo 'Patch #0 (mars_nwe-0.99pl21-tools.patch.gz):' Patch #0 (mars_nwe-0.99pl21-tools.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99pl21-tools.patch.gz + /usr/bin/patch -p1 patching file tools.h + echo 'Patch #1 (mars_nwe-glibc21.patch.bz2):' Patch #1 (mars_nwe-glibc21.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-glibc21.patch.bz2 + /usr/bin/patch -p1 patching file emutli1.c + echo 'Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2):' Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl19-buffer.patch.bz2 + /usr/bin/patch -p1 patching file connect.c Hunk #1 succeeded at 824 (offset 45 lines). Hunk #2 succeeded at 885 (offset 45 lines). Hunk #3 succeeded at 1927 (offset 45 lines). patching file nameos2.c patching file namspace.c patching file nwattrib.c patching file nwbind.c Hunk #1 succeeded at 677 (offset 10 lines). patching file nwdbm.c patching file nwfile.c patching file nwqconn.c patching file nwserv.c Hunk #2 succeeded at 1290 (offset 3 lines). patching file nwvolume.c Hunk #1 succeeded at 156 (offset 12 lines). patching file unxfile.c Hunk #1 succeeded at 125 (offset 20 lines). patching file nameos2.h + echo 'Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz):' Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl20-emutli1.patch.gz + /usr/bin/patch -p1 patching file emutli1.c Hunk #1 succeeded at 339 (offset -1 lines). + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + chmod 755 mk.li + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-config.h.in.gz + sed -e s/@MAX_CONNECTIONS@/16/ -e s/@MAX_FILES@/256/ -e 's|@PATHNAME_BINDERY@|/var/lib/mars_nwe/bd|' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.1594 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + '[' -n '' ']' + NPROCS=1 + make -j1 'CFLAGS=-pipe -Wall -g -O2 -march=i586 -mtune=generic' make: Entering directory `/usr/src/RPM/BUILD/mars_nwe' make[1]: Entering directory `/usr/src/RPM/BUILD/mars_nwe/obj' rm -f Makefile.o cp ../makefile.unx makefile.c cpp -traditional -DLINUX -DUSE_GDBM -I.. makefile.c > Makefile.o rm -f makefile.c make -f Makefile.o n_all make[2]: Entering directory `/usr/src/RPM/BUILD/mars_nwe/obj' cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwserv.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwserv.c:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwserv.c: In function 'response_ipx_diag': ../nwserv.c:637:58: warning: pointer targets in passing argument 3 of 'read_interface_data' differ in signedness [-Wpointer-sign] fframe = read_interface_data((uint8*) buff, &rnet, node, &flags, dname); ^~~~ In file included from ../net.h:70:0, from ../nwserv.c:21: ../emutli1.h:25:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int read_interface_data(uint8* data, uint32 *rnet, uint8 *node, ^~~~~~~~~~~~~~~~~~~ ../nwserv.c: In function 'get_ini': ../nwserv.c:866:30: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(inhalt); ^~~~~~ In file included from ../net.h:487:0, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwserv.c:909:45: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(nd->devname, "eth0"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwserv.c:920:47: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(nd->devname, inhalt2); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwserv.c:923:32: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(inhalt3); ^~~~~~~ In file included from ../net.h:487:0, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwserv.c: In function 'main': ../nwserv.c:1294:21: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(buf); ^~~ In file included from ../net.h:487:0, from ../nwserv.c:21: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ In file included from ../net.h:69:0, from ../nwserv.c:21: ../nwserv.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwserv.c: In function 'main': ../nwserv.c:1343:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../emutli.c:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../emutli.c: In function 't_bind': ../emutli.c:163:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) == -1){ ^ In file included from /usr/include/netinet/in.h:23:0, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ../emutli.c: In function 't_rcvudata': ../emutli.c:273:53: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *) &ipxs, &sz); ^ In file included from /usr/include/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../net1.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../net1.c:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../net1.c:20: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../tools.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../tools.c:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../tools.c: In function 'get_debstr': ../tools.c:84:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(debuf+l, get_modstr(), 3); ^~~~~ In file included from ../net.h:487:0, from ../tools.c:20: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.c:84:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(debuf+l, get_modstr(), 3); ^~~~~~~~~~ In file included from ../net.h:487:0, from ../tools.c:20: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.c: In function 'get_div_pathes': ../config.h:17:27: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] # define PATHNAME_BINDERY "/var/lib/mars_nwe/bd" /* directory for bindery-files */ ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.c:362:41: note: in expansion of macro 'PATHNAME_BINDERY' new_str(path_bindery, PATHNAME_BINDERY); ^~~~~~~~~~~~~~~~ ../tools.c:140:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int x_x_xnewstr(uint8 **p, uint8 *s) ^~~~~~~~~~~ ../tools.c:364:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] wpath = path_bindery; ^ In file included from ../net.h:487:0, from ../tools.c:20: ../tools.c:374:39: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_spool, "/var/spool/nwserv"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.c:140:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int x_x_xnewstr(uint8 **p, uint8 *s) ^~~~~~~~~~~ ../tools.c:376:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] wpath = path_spool; ^ In file included from ../net.h:69:0, from ../tools.c:20: ../tools.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../tools.c: In function 'open_nw_ini': ../tools.c:281:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli1.c ../emutli1.c: In function 'read_interface_data': ../emutli1.c:81:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(data, "%lx %s %s %s %s", ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/stdio.h:450:12: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ ../emutli1.c:83:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(buff4); ^~~~~ In file included from ../net.h:37:0, from ../emutli1.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../emutli1.c:39: ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ In file included from ../net.h:37:0, from ../emutli1.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../emutli1.c:39: ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ ../emutli1.c:100:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ In file included from ../net.h:37:0, from ../emutli1.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../emutli1.c:39: ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ ../emutli1.c:100:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ ../emutli1.c:100:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^ ../emutli1.c:100:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ In file included from ../net.h:37:0, from ../emutli1.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../emutli1.c:39: ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ ../emutli1.c:105:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ In file included from ../net.h:37:0, from ../emutli1.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../emutli1.c:39: ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ ../emutli1.c:105:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ ../emutli1.c:105:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^ ../emutli1.c:105:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../emutli1.c: In function 'get_interface_frame_name': ../emutli1.c:124:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] if (name) strcpy(name, dname); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/bits/string3.h:110:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../emutli1.c: In function 'del_special_net': ../emutli1.c:165:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(id.ifr_name, name); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/bits/string3.h:110:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../emutli1.c: In function 'del_all_interfaces_nets': ../emutli1.c:207:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(id.ifr_name, name); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/bits/string3.h:110:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../emutli1.c: In function 'get_frame_name': ../emutli1.c:280:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(framename, frname); ^~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../emutli1.c: In function 'init_ipx': ../emutli1.c:362:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) != -1) ^ In file included from ../emutli1.c:34:0: /usr/include/sys/socket.h:127:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ In file included from ../net.h:69:0, from ../emutli1.c:39: ../emutli1.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwroute.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwroute.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c: In function 'insert_delete_server': ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:223:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:58: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:58: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:58: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^ ../nwroute.c:223:58: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c: In function 'init_rip_buff': ../nwroute.c:308:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rip_buff=xcmalloc(2+max_rip_entries*8); ^ ../nwroute.c: In function 'ins_rip_buff': ../nwroute.c:320:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *new_ripbuf=xcmalloc(2 + new_rip_entries*8); ^~~~~~~~ ../nwroute.c: In function 'send_sap_to_addr': ../nwroute.c:497:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy((char*)ipx_data.sip.server_name, nw->name); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwroute.c:19: /usr/include/bits/string3.h:110:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwroute.c: In function 'print_routing_info': ../nwroute.c:693:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(sname, ns->name, 20); ^~~~~ In file included from ../net.h:487:0, from ../nwroute.c:19: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwroute.c: In function 'test_ins_device_net': ../nwroute.c:822:43: warning: pointer targets in passing argument 1 of 'get_interface_frame_name' differ in signedness [-Wpointer-sign] if ((rnetframe=get_interface_frame_name(rnetdevname, rnet)) < 0) ^~~~~~~~~~~ In file included from ../net.h:70:0, from ../nwroute.c:19: ../emutli1.h:28:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int get_interface_frame_name(char *name, uint32 net); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:833:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:833:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:833:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:833:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:833:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:833:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:868:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:868:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:868:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:868:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ In file included from ../net.h:37:0, from ../nwroute.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwroute.c:19: ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:868:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^ ../nwroute.c:868:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' In file included from ../net.h:487:0, from ../nwroute.c:19: ../nwroute.c: In function 'look_for_interfaces': ../nwroute.c:965:32: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(nd->devname, "*"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ In file included from ../net.h:69:0, from ../nwroute.c:19: ../nwroute.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -o ../nwserv nwserv.o emutli.o net1.o tools.o emutli1.o nwroute.o -lcrypt cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwconn.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwconn.c:28: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwconn.c: In function 'nwconn_set_program_title': ../nwconn.c:128:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prog_title, s, 48); ^~~~~~~~~~ In file included from ../net.h:487:0, from ../nwconn.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwconn.c:128:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prog_title, s, 48); ^ In file included from ../net.h:487:0, from ../nwconn.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwconn.c: In function 'handle_ncp_serv': ../nwconn.c:333:33: warning: pointer targets in passing argument 5 of 'nw_log_file' differ in signedness [-Wpointer-sign] input->path); ^~~~~ In file included from ../nwconn.c:42:0: ../connect.h:284:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nw_log_file(int lock_flag, ^~~~~~~~~~~ ../nwconn.c:359:36: warning: pointer targets in passing argument 5 of 'nw_log_file' differ in signedness [-Wpointer-sign] input->path); ^~~~~ In file included from ../nwconn.c:42:0: ../connect.h:284:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nw_log_file(int lock_flag, ^~~~~~~~~~~ ../nwconn.c: In function 'main': ../nwconn.c:2759:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ncpresponse->connect_status = ((NCPRESPONSE*)readbuff)->connect_status; ^~~~~~~~~~~ In file included from ../net.h:69:0, from ../nwconn.c:28: ../nwconn.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwconn.c: In function 'main': ../nwconn.c:2656:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); ^~~~~~~~~ ../nwconn.c:2657:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(0); ^~~~~~~~~ ../nwconn.c:2805:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwconn.c: In function 'handle_sigusr2': ../nwconn.c:2610:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../connect.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../connect.c:25: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'build_unix_name': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:124:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, "Z/Z/Z/Z"); /* */ ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:124:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, "Z/Z/Z/Z"); /* */ ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:131:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] p += strmaxcpy(p, (char*)nwpath->path, sizeof(unixname) - nw_volumes[volume].unixnamlen -1); /* now the path */ ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:131:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] p += strmaxcpy(p, (char*)nwpath->path, sizeof(unixname) - nw_volumes[volume].unixnamlen -1); /* now the path */ ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:134:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, (char*)nwpath->fn, sizeof(unixname) - (int)(p-unixname) -1); /* and now fn */ ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:134:18: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, (char*)nwpath->fn, sizeof(unixname) - (int)(p-unixname) -1); /* and now fn */ ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:142:19: warning: pointer targets in passing argument 1 of 'dos2unixcharset' differ in signedness [-Wpointer-sign] dos2unixcharset(unixname); ^~~~~~~~ In file included from ../connect.c:53:0: ../nwfname.h:11:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *dos2unixcharset(uint8 *ss); ^~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'new_dir_handle': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:191:30: note: in expansion of macro 'xstrcpy' dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:191:30: note: in expansion of macro 'xstrcpy' dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:197:72: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] if ( ( !(dh->no_search_trustee=tru_eff_rights_exists(nwpath->volume, dh->unixname, stb, TRUSTEE_F))) ^~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'get_unix_access_rights': ../connect.c:346:15: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] if (!access(unixname, F_OK)) { ^~~~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:290:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int access (const char *__name, int __type) __THROW __nonnull ((1)); ^~~~~~ ../connect.c:348:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] if (!access(unixname, R_OK)) ^~~~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:290:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int access (const char *__name, int __type) __THROW __nonnull ((1)); ^~~~~~ ../connect.c:350:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] if (!access(unixname, W_OK)) ^~~~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:290:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int access (const char *__name, int __type) __THROW __nonnull ((1)); ^~~~~~ ../connect.c:353:17: warning: pointer targets in passing argument 1 of 'access' differ in signedness [-Wpointer-sign] if (!access(unixname, X_OK)) ^~~~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:290:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int access (const char *__name, int __type) __THROW __nonnull ((1)); ^~~~~~ ../connect.c: In function 'set_nw_user': ../connect.c:414:28: warning: pointer targets in passing argument 1 of 'nwconn_set_program_title' differ in signedness [-Wpointer-sign] nwconn_set_program_title(objname); ^~~~~~~ In file included from ../connect.c:59:0: ../nwconn.h:5:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nwconn_set_program_title(char *s); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'conn_get_nwpath_name': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:446:10: note: in expansion of macro 'xstrcpy' } else xstrcpy(volname, (char*)nw_volumes[p->volume].sysname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:446:10: note: in expansion of macro 'xstrcpy' } else xstrcpy(volname, (char*)nw_volumes[p->volume].sysname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'func_search_entry': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:574:3: note: in expansion of macro 'xstrcpy' xstrcpy(entry, (char*)nwpath->fn); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:577:3: note: in expansion of macro 'xstrcpy' xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:577:3: note: in expansion of macro 'xstrcpy' xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:583:39: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] && !tru_eff_rights_exists(volume, xkpath, &(fs->statb), TRUSTEE_F)) { ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c:606:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1 ); ^~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:606:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1 ); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:611:15: note: in expansion of macro 'xstrcpy' xstrcpy(nwpath->fn, (char*)dname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'get_dir_entry': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:646:3: note: in expansion of macro 'xstrcpy' xstrcpy(entry, (char*)nwpath->fn); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:648:3: note: in expansion of macro 'xstrcpy' xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:648:3: note: in expansion of macro 'xstrcpy' xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:653:63: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] && ( (!(no_search_trustee = tru_eff_rights_exists(volume, xkpath, statb, TRUSTEE_F))) ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c:687:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1); ^~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:687:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(kpath, (char*)name, sizeof(xkpath) - (int)(kpath-xkpath) -1); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:694:50: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] !tru_eff_rights_exists(volume, xkpath, statb, TRUSTEE_T)) { ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:699:17: note: in expansion of macro 'xstrcpy' xstrcpy(nwpath->fn, (char*)dname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'get_dh_entry': ../connect.c:790:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(dh->kpath, (char*)name, ^~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:790:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(dh->kpath, (char*)name, ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:801:53: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] && tru_eff_rights_exists(dh->volume, dh->unixname, statb, TRUSTEE_T)) ^~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c:806:27: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(unixname, dh->unixname, size_unixname-1); ^~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:806:37: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(unixname, dh->unixname, size_unixname-1); ^~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:807:25: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)search, (char*)dname, size_search-1); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:807:40: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)search, (char*)dname, size_search-1); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'conn_build_path_fn': ../connect.c:860:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)fn, (char*)p, 255); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:860:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)fn, (char*)p, 255); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:863:18: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)fn, (char*)path, 255); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:863:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)fn, (char*)path, 255); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'build_path': ../connect.c:885:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (only_dir) ? (uint8)NULL ^ ../connect.c:886:33: warning: pointer/integer type mismatch in conditional expression : path->fn, ^ ../connect.c: In function 'nw_path_directory_is_ok': ../connect.c:921:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p=nwpath->path; ^~~~~~ ../connect.c:924:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(pp, p, 6); ^~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:924:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(pp, p, 6); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:925:13: warning: pointer targets in passing argument 1 of 'up_fn' differ in signedness [-Wpointer-sign] up_fn(pp); ^~ In file included from ../connect.c:53:0: ../nwfname.h:9:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *up_fn(uint8 *ss); ^~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'build_dir_name': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:951:4: note: in expansion of macro 'xstrcpy' xstrcpy(searchpath, (char*)ppp); /* save path */ ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:964:20: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)ppp, (char*)dirs[dir_handle].path, ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:964:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)ppp, (char*)dirs[dir_handle].path, ^ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:967:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ppp += strlen(ppp); ^~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1044:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int pathlen = strlen(nwpath->path); ^~~~~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1045:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int fnlen = strlen(nwpath->fn); ^~~~~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c: In function 'conn_get_full_path': ../connect.c:1093:24: warning: pointer targets in passing argument 1 of 'slprintf' differ in signedness [-Wpointer-sign] int len = slprintf(fullpath, size_fullpath-1, "%s:%s", ^~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:92:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int slprintf(char *buf, int bufsize, char *p, ...); ^~~~~~~~ ../connect.c:1100:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] result = len + strlen(nwpath.fn); ^~~~~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c: In function 'conn_get_kpl_unxname': ../connect.c:1123:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(unixname, build_unix_name(&nwpath, 0), size_unixname-1); ^~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1123:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(unixname, build_unix_name(&nwpath, 0), size_unixname-1); ^~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'do_delete_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1226:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1226:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1228:41: warning: pointer targets in passing argument 2 of 'nw_unlink_node' differ in signedness [-Wpointer-sign] return(nw_unlink_node(nwpath->volume, unname, &(fs->statb))); ^~~~~~ In file included from ../connect.c:61:0: ../connect.h:124:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_unlink_node(int volume, uint8 *unname, struct stat *stb); ^~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'do_mv_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1259:3: note: in expansion of macro 'xstrcpy' xstrcpy(unsource, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1259:3: note: in expansion of macro 'xstrcpy' xstrcpy(unsource, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1262:44: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] tru_eff_rights_exists(nwpath->volume, unsource, &statb, ^~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c:1276:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *otopath = saved_fn; ^~~~~~~~ ../connect.c:1280:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(saved_fn, nws->destpath.fn, sizeof(saved_fn)-1); ^~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1314:5: note: in expansion of macro 'xstrcpy' xstrcpy(undest, build_unix_name(&nws->destpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1314:5: note: in expansion of macro 'xstrcpy' xstrcpy(undest, build_unix_name(&nws->destpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1316:5: note: in expansion of macro 'xstrcpy' xstrcpy(nws->destpath.fn, saved_fn); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1320:34: warning: pointer targets in passing argument 1 of 'unx_mvfile_or_dir' differ in signedness [-Wpointer-sign] result = unx_mvfile_or_dir(unsource, undest); ^~~~~~~~ In file included from ../connect.c:26:0: ../unxfile.h:22:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int unx_mvfile_or_dir(uint8 *oldname, uint8 *newname); ^~~~~~~~~~~~~~~~~ ../connect.c:1320:44: warning: pointer targets in passing argument 2 of 'unx_mvfile_or_dir' differ in signedness [-Wpointer-sign] result = unx_mvfile_or_dir(unsource, undest); ^~~~~~ In file included from ../connect.c:26:0: ../unxfile.h:22:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int unx_mvfile_or_dir(uint8 *oldname, uint8 *newname); ^~~~~~~~~~~~~~~~~ ../connect.c:1322:27: warning: pointer targets in passing argument 1 of 'unx_mvfile' differ in signedness [-Wpointer-sign] result = unx_mvfile(unsource, undest); ^~~~~~~~ In file included from ../connect.c:26:0: ../unxfile.h:21:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int unx_mvfile(uint8 *oldname, uint8 *newname); ^~~~~~~~~~ ../connect.c:1322:37: warning: pointer targets in passing argument 2 of 'unx_mvfile' differ in signedness [-Wpointer-sign] result = unx_mvfile(unsource, undest); ^~~~~~ In file included from ../connect.c:26:0: ../unxfile.h:21:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int unx_mvfile(uint8 *oldname, uint8 *newname); ^~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_mv_files': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1352:7: note: in expansion of macro 'xstrcpy' xstrcpy(destpath, build_unix_name(&mvs.destpath, 1)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1352:7: note: in expansion of macro 'xstrcpy' xstrcpy(destpath, build_unix_name(&mvs.destpath, 1)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1353:54: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] if (tru_eff_rights_exists(mvs.destpath.volume, destpath, ^~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'do_set_file_info': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1487:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1487:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1491:47: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] if (tru_eff_rights_exists(nwpath->volume, unname, &statb, TRUSTEE_M)) ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_set_file_attributes': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1570:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1570:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'nw_rmdir': ../connect.c:1582:13: warning: pointer targets in passing argument 1 of 'rmdir' differ in signedness [-Wpointer-sign] if (rmdir(unname)) { ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:837:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rmdir (const char *__path) __THROW __nonnull ((1)); ^~~~~ ../connect.c: In function 'nw_unlink_node': ../connect.c:1592:45: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] uint32 attrib=get_nw_attrib_dword(volume, unname, stb); ^~~~~~ In file included from ../connect.c:56:0: ../nwattrib.h:18:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~~ ../connect.c:1616:29: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (0 != (result=unlink(unname))){ ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ ../connect.c:1618:21: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] result=unlink(unname) ? -0x8a : 0; ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ ../connect.c:1623:31: warning: pointer targets in passing argument 2 of 'free_nw_ext_inode' differ in signedness [-Wpointer-sign] free_nw_ext_inode(volume, unname, stb->st_dev, stb->st_ino); ^~~~~~ In file included from ../connect.c:56:0: ../nwattrib.h:25:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void free_nw_ext_inode(int volume, char *unixname, int dev, ino_t inode); ^~~~~~~~~~~~~~~~~ ../connect.c: In function 'nw_creat_node': ../connect.c:1637:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] uint8 *p=path+strlen(unname); ^~~~~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1642:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(path, &stb)) return(-0x9c); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../connect.c:1646:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(path, &stb)) return(-0x9c); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../connect.c:1653:20: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] result=mkdir(unname, 0777); ^~~~~~ In file included from ../net.h:47:0, from ../connect.c:25: /usr/include/sys/stat.h:320:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ ../connect.c:1656:30: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] if (0==(result=mkdir(unname, 0755))) ^~~~~~ In file included from ../net.h:47:0, from ../connect.c:25: /usr/include/sys/stat.h:320:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ ../connect.c:1657:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(unname, act_uid, act_gid); ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../connect.c:1669:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(unname, umode_dir); ^~~~~~ In file included from ../net.h:47:0, from ../connect.c:25: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../connect.c:1680:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] exist=stat(unname, &stbuff) ? 0 : 1; ^~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../connect.c:1685:41: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] if (get_nw_attrib_dword(volume, unname, &stbuff) & FILE_ATTR_R) ^~~~~~ In file included from ../connect.c:56:0: ../nwattrib.h:18:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~~ ../connect.c:1696:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (0 > (fd=open(unname, O_CREAT|O_TRUNC|O_RDWR, 0666))) { ^~~~~~ In file included from /usr/include/fcntl.h:314:0, from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' open (const char *__path, int __oflag, ...) ^~~~ ../connect.c:1698:27: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (-1 < (fd=open(unname, O_CREAT|O_TRUNC|O_RDWR, 0600))) ^~~~~~ In file included from /usr/include/fcntl.h:314:0, from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' open (const char *__path, int __oflag, ...) ^~~~ ../connect.c:1699:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(unname, act_uid, act_gid); ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../connect.c:1703:27: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign] if (0 > (fd = creat(unname, 0777))) { ^~~~~~ In file included from /usr/include/sys/fcntl.h:1:0, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:227:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int creat (const char *__file, mode_t __mode) __nonnull ((1)); ^~~~~ ../connect.c:1705:30: warning: pointer targets in passing argument 1 of 'creat' differ in signedness [-Wpointer-sign] if (-1 < (fd = creat(unname, 0751))) ^~~~~~ In file included from /usr/include/sys/fcntl.h:1:0, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:227:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int creat (const char *__file, mode_t __mode) __nonnull ((1)); ^~~~~ ../connect.c:1706:17: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(unname, act_uid, act_gid); ^~~~~~ In file included from ../net.h:46:0, from ../connect.c:25: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../connect.c:1714:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(unname, umode_file); ^~~~~~ In file included from ../net.h:47:0, from ../connect.c:25: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../connect.c: In function 'nw_utime_node': ../connect.c:1727:16: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] if (!utime(unname, &ut)) ^~~~~~ In file included from ../connect.c:29:0: /usr/include/utime.h:45:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int utime (const char *__file, ^~~~~ ../connect.c:1730:16: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] if (!utime(unname, &ut)) { ^~~~~~ In file included from ../connect.c:29:0: /usr/include/utime.h:45:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int utime (const char *__file, ^~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_mk_rd_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1747:5: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1747:5: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1749:49: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] completition=nw_creat_node(nwpath.volume, unname, 1); ^~~~~~ ../connect.c:1628:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_creat_node(int volume, uint8 *unname, int mode) ^~~~~~~~~~~~~ ../connect.c:1752:52: warning: pointer targets in passing argument 2 of 'nw_unlink_node' differ in signedness [-Wpointer-sign] completition=nw_unlink_node(nwpath.volume, unname, &stbuff); ^~~~~~ ../connect.c:1589:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_unlink_node(int volume, uint8 *unname, struct stat *stb) ^~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'mv_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1774:5: note: in expansion of macro 'xstrcpy' xstrcpy(qfn, build_unix_name(&quellpath,0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1774:5: note: in expansion of macro 'xstrcpy' xstrcpy(qfn, build_unix_name(&quellpath,0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1794:5: note: in expansion of macro 'xstrcpy' xstrcpy(zpath, build_unix_name(&zielpath, 1)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1794:5: note: in expansion of macro 'xstrcpy' xstrcpy(zpath, build_unix_name(&zielpath, 1)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1796:49: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] tru_eff_rights_exists(quellpath.volume, qfn, &qstbuff, ^~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ ../connect.c:1800:47: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] tru_eff_rights_exists(zielpath.volume, zpath, &zstbuff, ^~~~~ In file included from ../connect.c:57:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1807:7: note: in expansion of macro 'xstrcpy' xstrcpy(unziel, build_unix_name(&zielpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1807:7: note: in expansion of macro 'xstrcpy' xstrcpy(unziel, build_unix_name(&zielpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'change_dir_entry': ../connect.c:1838:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len=strlen(path); ^~~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1840:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dir->path=xmalloc(len+2); ^ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_init_connect': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:1895:5: note: in expansion of macro 'xstrcpy' xstrcpy(nwlogin.path, (char*)login); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:1931:39: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] default_umode_dir = octtoi(buf1); ^~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:61:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int octtoi(char *buf); ^~~~~~ ../connect.c:1932:39: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] default_umode_file = octtoi(buf2); ^~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:61:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int octtoi(char *buf); ^~~~~~ ../connect.c:1949:22: warning: pointer targets in passing argument 1 of 'init_nwfname' differ in signedness [-Wpointer-sign] init_nwfname(buff); ^~~~ In file included from ../connect.c:53:0: ../nwfname.h:7:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void init_nwfname(char *convfile); ^~~~~~~~~~~~ ../connect.c:1951:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] namspace_max_baseh=atoi(buff); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ ../connect.c:1953:23: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] use_mmap=atoi(buff); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ ../connect.c:1955:35: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] namspace_max_searchh=atoi(buff); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_search': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2082:10: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2082:10: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'nw_dir_get_vol_path': ../connect.c:2105:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int llen = strlen(dir->path); ^~~ In file included from ../net.h:37:0, from ../connect.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_alloc_dir_handle': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2171:6: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'nw_open_dir_handle': ../connect.c:2212:57: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] completition = tru_get_eff_rights(dh->volume, dh->unixname, &stb); ^~ In file included from ../connect.c:57:0: ../trustee.h:56:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_get_eff_dir_rights': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2312:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2312:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2317:52: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] completition=tru_get_eff_rights(nwpath.volume, unname, &stbuff); ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:56:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_creat_open_file': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2335:6: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2335:6: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 's_nw_scan_dir_info': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2370:5: note: in expansion of macro 'xstrcpy' xstrcpy(dirname, (char*)wild); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2393:49: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] return(tru_get_inherited_mask(volume, unixname, &stbuff)); ^~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:53:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2395:9: note: in expansion of macro 'xstrcpy' xstrcpy(dirname, (char*)wild); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2406:47: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] return(tru_get_inherited_mask(volume, dh->unixname, &stbuff)); ^~ In file included from ../connect.c:57:0: ../trustee.h:53:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../connect.c:25:0: ../connect.c: In function 'get_dos_file_attrib': ../connect.c:2455:44: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), ^ ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ ^ ../connect.c:2455:3: note: in expansion of macro 'U16_TO_16' U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), ^~~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:53:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../connect.c:25:0: ../connect.c: In function 'get_dos_dir_attrib': ../connect.c:2483:44: warning: pointer targets in passing argument 2 of 'tru_get_inherited_mask' differ in signedness [-Wpointer-sign] U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), ^ ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ ^ ../connect.c:2483:3: note: in expansion of macro 'U16_TO_16' U16_TO_16(tru_get_inherited_mask(volume, unixname, stb), ^~~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:53:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_scan_a_directory': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2516:8: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2516:8: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'nw_scan_a_root_dir': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2548:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2548:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 2)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c: In function 'nw_set_a_directory_entry': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2580:8: note: in expansion of macro 'xstrcpy' xstrcpy(unixname,build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2580:8: note: in expansion of macro 'xstrcpy' xstrcpy(unixname,build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2587:61: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] int result=tru_set_inherited_mask(nwpath.volume, unixname, ^~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:50:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_set_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ ../connect.c:2594:61: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] int result=tru_set_inherited_mask(nwpath.volume, unixname, ^~~~~~~~ In file included from ../connect.c:57:0: ../trustee.h:50:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_set_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'get_match': ../connect.c:2650:13: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] d=opendir(unixname); ^~~~~~~~ In file included from ../connect.c:28:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../connect.c:2665:28: warning: pointer targets in passing argument 1 of 'my_match' differ in signedness [-Wpointer-sign] 0 != (len=my_match(dirbuff->d_name, pp))) { ^~~~~~~ ../connect.c:2605:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int my_match(uint8 *s, uint8 *p) ^~~~~~~~ In file included from ../connect.c:53:0: ../connect.c: In function 'mangle_dos_name': ../nwfname.h:28:8: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] stat((path), (statbuf)) ^ ../connect.c:2684:8: note: in expansion of macro 's_stat' if (!s_stat(unixname, &stb, NULL)) /* path is ok I hope */ ^~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_add_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2699:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2699:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2707:47: warning: pointer targets in passing argument 2 of 'tru_add_trustee_set' differ in signedness [-Wpointer-sign] result=tru_add_trustee_set(nwpath.volume, unname, ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:41:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_add_trustee_set(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_del_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2723:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2723:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2728:43: warning: pointer targets in passing argument 2 of 'tru_del_trustee' differ in signedness [-Wpointer-sign] result=tru_del_trustee(nwpath.volume, unname, &stbuff, id); ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:35:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_del_trustee(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_set_dir_info': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2742:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2742:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2746:41: warning: pointer targets in passing argument 2 of 'nw_utime_node' differ in signedness [-Wpointer-sign] result=nw_utime_node(nwpath.volume, unname, &stbuff, ^~~~~~ ../connect.c:1721:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_utime_node(int volume, uint8 *unname, struct stat *stb, ^~~~~~~~~~~~~ ../connect.c:2749:52: warning: pointer targets in passing argument 2 of 'tru_set_inherited_mask' differ in signedness [-Wpointer-sign] result=tru_set_inherited_mask(nwpath.volume, unname, ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:50:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_set_inherited_mask(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../connect.c: In function 'nw_scan_for_trustee': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2784:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2784:3: note: in expansion of macro 'xstrcpy' xstrcpy(unname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../connect.c:2789:47: warning: pointer targets in passing argument 2 of 'tru_get_trustee_set' differ in signedness [-Wpointer-sign] result=tru_get_trustee_set(nwpath.volume, unname, ^~~~~~ In file included from ../connect.c:57:0: ../trustee.h:45:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_trustee_set(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'nw_log_file': ../connect.c:2817:70: warning: pointer targets in passing argument 4 of 'conn_get_kpl_path' differ in signedness [-Wpointer-sign] int completition = conn_get_kpl_path(&nwpath, &stbuff, dir_handle, data, len, 0); ^~~~ ../connect.c:1067:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int conn_get_kpl_path(NW_PATH *nwpath, struct stat *stbuff, ^~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../connect.c:25: ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2820:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../connect.c:2820:5: note: in expansion of macro 'xstrcpy' xstrcpy(unixname, build_unix_name(&nwpath, 0)); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ In file included from ../net.h:69:0, from ../connect.c:25: ../connect.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../connect.c: In function 'set_default_guid': ../connect.c:246:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'set_guid': ../connect.c:275:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:291:9: warning: ignoring return value of 'getgroups', declared with attribute warn_unused_result [-Wunused-result] getgroups(k, act_grouplist+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'get_unix_access_rights': ../connect.c:343:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(act_uid,0); ^~~~~~~~~~~~~~~~~~~ ../connect.c:344:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(act_gid); ^~~~~~~~~~~~~~~ ../connect.c:358:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(rgid); ^~~~~~~~~~~~ ../connect.c:359:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(ruid, euid); ^~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'func_search_entry': ../connect.c:585:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'do_mv_file': ../connect.c:1318:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'do_set_file_info': ../connect.c:1500:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'nw_unlink_node': ../connect.c:1603:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1617:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'nw_creat_node': ../connect.c:1655:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1657:11: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(unname, act_uid, act_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c:1668:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1679:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1697:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1699:11: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(unname, act_uid, act_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c:1704:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c:1706:11: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(unname, act_uid, act_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'nw_utime_node': ../connect.c:1729:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'mv_dir': ../connect.c:1809:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'get_dir_entry': ../connect.c:656:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'give_dh_f': ../connect.c:719:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'new_dir_handle': ../connect.c:200:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'get_match': ../connect.c:2649:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../connect.c: In function 'nw_log_file': ../connect.c:2821:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../namspace.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../namspace.c:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../namspace.c: In function 'xnwpath_2_unix': ../namspace.c:174:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len_extra = (extra_path) ? strlen(extra_path) : 0; ^~~~~~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:215:19: warning: pointer targets in passing argument 1 of 'dos2unixcharset' differ in signedness [-Wpointer-sign] dos2unixcharset(unixname); ^~~~~~~~ In file included from ../namspace.c:38:0: ../nwfname.h:11:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *dos2unixcharset(uint8 *ss); ^~~~~~~~~~~~~~~ ../namspace.c: In function 'debug_nwpath_name': ../namspace.c:239:37: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(p->volume, volname, sizeof(volname)) < 1) ^~~~~~~ In file included from ../namspace.c:39:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../namspace.c:241:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(volname) + strlen(p->path) + strlen(p->fn) + 40; ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:241:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(volname) + strlen(p->path) + strlen(p->fn) + 40; ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c: In function 'nwp_stat': ../namspace.c:226:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] xnwpath_2_unix((nwpath), (modus), 1, NULL) ^ ../namspace.c:256:16: note: in expansion of macro 'alloc_nwpath2unix' uint8 *uname=alloc_nwpath2unix(nwpath, 2); ^~~~~~~~~~~~~~~~~ ../namspace.c:257:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] int result=stat(uname, &(nwpath->statb)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../namspace.c:261:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] result = stat(uname, &(nwpath->statb)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../namspace.c: In function 'put_dbe_to_disk': ../namspace.c:308:46: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(dbe->nwpath.volume, volname, sizeof(volname)) < 1) ^~~~~~~ In file included from ../namspace.c:39:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../namspace.c:326:11: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] symlink(dbe->nwpath.path, buf); ^~~ In file included from ../net.h:46:0, from ../namspace.c:31: /usr/include/unistd.h:805:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int symlink (const char *__from, const char *__to) ^~~~~~~ ../namspace.c: In function 'del_dbe_from_disk': ../namspace.c:338:46: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(dbe->nwpath.volume, volname, sizeof(volname) ) < 1) ^~~~~~~ In file included from ../namspace.c:39:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../namspace.c: In function 'get_dbe_data_from_disk': ../namspace.c:369:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) { ^~~~~~~ In file included from ../namspace.c:39:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../namspace.c:387:19: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] l=readlink(buf, path, 511); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/bits/unistd.h:139:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (readlink (const char *__restrict __path, char *__restrict __buf, ^ ../namspace.c: In function 'add_hpath_to_nwpath': ../namspace.c:533:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int npbeg = strlen(nwpath->path); ^~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../net.h:487:0, from ../namspace.c:31: ../namspace.c:546:39: warning: pointer targets in passing argument 1 of 'gettmpstr' differ in signedness [-Wpointer-sign] k, len, gettmpstr(p, len, 0) )); ^ ../tools.h:77:32: note: in definition of macro 'XDPRINTF' # define XDPRINTF(x) xdprintf x ^ ../tools.h:94:14: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *gettmpstr(char *qs, int len, int extralen); ^~~~~~~~~ ../namspace.c:550:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pp=strrchr((char*)nwpath->path, '/'); ^ ../namspace.c:617:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p=nwpath->path; ^~~~~~ ../namspace.c:620:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(pp, p, 6); ^~ In file included from ../net.h:487:0, from ../namspace.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../namspace.c:620:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(pp, p, 6); ^ In file included from ../net.h:487:0, from ../namspace.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../namspace.c:621:13: warning: pointer targets in passing argument 1 of 'up_fn' differ in signedness [-Wpointer-sign] up_fn(pp); ^~ In file included from ../namspace.c:38:0: ../nwfname.h:9:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *up_fn(uint8 *ss); ^~~~~ ../namspace.c: In function 'insert_get_base_entry': ../namspace.c:804:41: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] if (nw_creat_node(nwpath->volume, unname, 1)) ^~~~~~ In file included from ../namspace.c:40:0: ../connect.h:125:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_creat_node(int volume, uint8 *unname, int mode); ^~~~~~~~~~~~~ ../namspace.c:808:41: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] if (nw_creat_node(nwpath->volume, unname, 0)) ^~~~~~ In file included from ../namspace.c:40:0: ../connect.h:125:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_creat_node(int volume, uint8 *unname, int mode); ^~~~~~~~~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:824:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:824:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:824:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:21: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:37: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:824:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:21: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:37: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:824:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:21: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:37: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:21: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:824:37: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ^ ../namspace.c:824:37: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c: In function 'build_base': ../namspace.c:894:37: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] if (rets) strmaxcpy(rets, pp+1, size_rets-1); ^~ In file included from ../net.h:487:0, from ../namspace.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../namspace.c: In function 'build_dos_name': ../namspace.c:947:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] return(strlen(fname)); ^~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:949:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] return(sprintf(fname, "%ld.___", (long)e->nwpath.statb.st_ino)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ In file included from ../namspace.c:31:0: ../namspace.c: In function 'build_dir_info': ../namspace.c:1124:52: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] U16_TO_16(tru_get_eff_rights(nwpath->volume, unixname, stb), p); ^ ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ ^ ../namspace.c:1124:7: note: in expansion of macro 'U16_TO_16' U16_TO_16(tru_get_eff_rights(nwpath->volume, unixname, stb), p); ^~~~~~~~~ In file included from ../namspace.c:42:0: ../trustee.h:56:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~ ../namspace.c:1162:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *p = (uint8) strlen(nwpath->fn); ^~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../namspace.c:31:0: ../namspace.c: In function 'nsp_get_eff_rights': ../namspace.c:1210:54: warning: pointer targets in passing argument 2 of 'tru_get_eff_rights' differ in signedness [-Wpointer-sign] U16_TO_16(tru_get_eff_rights(dbe->nwpath.volume, unixname, ^ ../net.h:108:47: note: in definition of macro 'X_U16_TO_16' #define X_U16_TO_16(u, b) { uint16 a=(uint16)(u); \ ^ ../namspace.c:1210:5: note: in expansion of macro 'U16_TO_16' U16_TO_16(tru_get_eff_rights(dbe->nwpath.volume, unixname, ^~~~~~~~~ In file included from ../namspace.c:42:0: ../trustee.h:56:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_eff_rights(int volume, uint8 *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~ ../namspace.c: In function 'get_add_new_entry': ../namspace.c:1255:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] nwpath.fn = nwpath.path+strlen(nwpath.path); ^~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c: In function 'search_match': ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:1525:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../namspace.c:31: ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^ ../namspace.c:1525:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../namspace.c:1537:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] statflag = stat(ds->unixname, &statb); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../namspace.c:1540:25: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] statflag = stat(ds->unixname, &statb); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ In file included from ../net.h:487:0, from ../namspace.c:31: ../namspace.c: In function 'nw_search_file_dir': ../namspace.c:1597:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(fname, path, min(sizeof(fname)-1, len)); ^ ../tools.h:79:50: note: in definition of macro 'MDEBUG' # define MDEBUG(mask, x) if (mask & debug_mask) x ^ In file included from ../net.h:487:0, from ../namspace.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../namspace.c:1643:37: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] if (NULL == (ds->fdir = opendir(ds->unixname)) ) { ^~ In file included from ../namspace.c:32:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../namspace.c:1645:24: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] ds->fdir=opendir(ds->unixname); ^~ In file included from ../namspace.c:32:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../namspace.c:1657:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ds->kpath = ds->unixname+strlen(ds->unixname); ^~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:1680:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] inode_search=atoi(entry); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ In file included from ../net.h:487:0, from ../namspace.c:31: ../namspace.c:1809:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(fname, path, min(sizeof(fname-1), len)); ^ ../tools.h:79:50: note: in definition of macro 'MDEBUG' # define MDEBUG(mask, x) if (mask & debug_mask) x ^ In file included from ../net.h:487:0, from ../namspace.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../namspace.c: In function 'nw_open_creat_file_or_dir': ../namspace.c:224:4: warning: pointer targets in passing argument 2 of 'file_creat_open' differ in signedness [-Wpointer-sign] xnwpath_2_unix((nwpath), (modus), 0, NULL) ^ ../namspace.c:1870:15: note: in expansion of macro 'nwpath_2_unix' nwpath_2_unix(&dbe->nwpath, 2), &(dbe->nwpath.statb), ^~~~~~~~~~~~~ In file included from ../namspace.c:44:0: ../nwfile.h:37:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int file_creat_open(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~ ../namspace.c: In function 'func_search_entry': ../namspace.c:1931:39: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] if (NULL == (ds->fdir = opendir(ds->unixname)) ) { ^~ In file included from ../namspace.c:32:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../namspace.c:1933:28: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] ds->fdir = opendir(ds->unixname); ^~ In file included from ../namspace.c:32:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../namspace.c:1945:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ds->kpath = ds->unixname+strlen(ds->unixname); ^~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:1966:27: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] inode_search=atoi(entry); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ ../namspace.c: In function 'delete_file_dir': ../namspace.c:2024:29: warning: pointer targets in passing argument 1 of 'rmdir_from_structures' differ in signedness [-Wpointer-sign] rmdir_from_structures(unname, dbe); ^~~~~~ ../namspace.c:489:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static void rmdir_from_structures(char *unname, DIR_BASE_ENTRY *dbe) ^~~~~~~~~~~~~~~~~~~~~ ../namspace.c: In function 'nw_delete_file_dir': ../namspace.c:2042:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] search_entry, strlen(search_entry), searchattrib, ^~~~~~~~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c: In function 'nw_add_trustee_set': ../namspace.c:2126:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] search_entry, strlen(search_entry), searchattrib, ^~~~~~~~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c: In function 'nw_del_trustee_set': ../namspace.c:2185:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] search_entry, strlen(search_entry), W_SEARCH_ATTR_ALL, ^~~~~~~~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c: In function 'nw_get_trustee_set': ../namspace.c:2205:52: warning: pointer targets in passing argument 2 of 'tru_get_trustee_set' differ in signedness [-Wpointer-sign] result=tru_get_trustee_set(dbe->nwpath.volume, unixname, ^~~~~~~~ In file included from ../namspace.c:42:0: ../trustee.h:45:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_get_trustee_set(int volume, uint8 *unixname, ^~~~~~~~~~~~~~~~~~~ ../namspace.c: In function 'nw_get_full_path_cookies': ../namspace.c:2236:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] uint8 *lastpp = dbe->nwpath.path+strlen(dbe->nwpath.path); ^~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:2244:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(dbe->nwpath.path) > 256) ^~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:2276:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l=strlen(nw_volumes[dbe->nwpath.volume].sysname); ^~~~~~~~~~ In file included from ../net.h:37:0, from ../namspace.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c: In function 'nw_modify_file_dir': ../namspace.c:226:4: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] xnwpath_2_unix((nwpath), (modus), 1, NULL) ^ ../namspace.c:2356:18: note: in expansion of macro 'alloc_nwpath2unix' uint8 *uname=alloc_nwpath2unix(&(dbe->nwpath), 2); ^~~~~~~~~~~~~~~~~ ../namspace.c:2359:28: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (-1 != (result=stat(uname, stb))){ ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../namspace.c:2368:56: warning: pointer targets in passing argument 2 of 'set_nw_attrib_dword' differ in signedness [-Wpointer-sign] result=set_nw_attrib_dword(dbe->nwpath.volume, uname, stb, ^~~~~ In file included from ../namspace.c:41:0: ../nwattrib.h:19:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int set_nw_attrib_dword(int volume, char *unixname, struct stat *stb, uint32 attrib); ^~~~~~~~~~~~~~~~~~~ ../namspace.c:2430:23: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] if (-1==utime(uname, &ut)) { ^~~~~ In file included from ../namspace.c:33:0: /usr/include/utime.h:45:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int utime (const char *__file, ^~~~~ ../namspace.c:2432:17: warning: pointer targets in passing argument 1 of 'utime' differ in signedness [-Wpointer-sign] utime(uname, &ut); ^~~~~ In file included from ../namspace.c:33:0: /usr/include/utime.h:45:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int utime (const char *__file, ^~~~~ In file included from ../net.h:69:0, from ../namspace.c:31: ../namspace.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../namspace.c: In function 'nwp_stat': ../namspace.c:260:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'get_dbe_data_from_disk': ../namspace.c:386:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'put_dbe_to_disk': ../namspace.c:322:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c:326:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(dbe->nwpath.path, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../namspace.c: In function 'del_dbe_from_disk': ../namspace.c:352:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'nw_search_file_dir': ../namspace.c:1644:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'search_match': ../namspace.c:1539:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'nw_rename_file_dir': ../namspace.c:2325:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'nw_modify_file_dir': ../namspace.c:2431:11: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../namspace.c: In function 'func_search_entry': ../namspace.c:1932:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwvolume.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwvolume.c:28: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwvolume.c: In function 'add_vol_trustee': ../nwvolume.c:96:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] vt->path=xmalloc(len+1); ^ ../nwvolume.c: In function 'volume_to_namespace_map': ../nwvolume.c:106:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(vol->unixname, &statb)) { ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwvolume.c: In function 'nw_init_volumes': ../nwvolume.c:130:24: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] max_nw_vols=atoi(buff); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../nwvolume.c:147:34: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_vol_inodes_cache, "/var/spool/nwserv/.volcache"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwvolume.c:148:28: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_attributes, "/var/nwserv/attrib"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwvolume.c:149:26: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_trustees, "/var/nwserv/trustees"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwvolume.c:252:33: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] vol->umode_dir=octtoi(umode_dirstr); ^~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:61:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int octtoi(char *buf); ^~~~~~ ../nwvolume.c:254:36: warning: pointer targets in passing argument 1 of 'octtoi' differ in signedness [-Wpointer-sign] vol->umode_file=octtoi(umode_filestr); ^~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:61:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int octtoi(char *buf); ^~~~~~ ../nwvolume.c: In function 'get_unx_home_dir': ../nwvolume.c:307:53: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] if (unxlogin && *unxlogin && NULL != (pw=getpwnam(unxlogin))) { ^~~~~~~~ In file included from ../net.h:73:0, from ../nwvolume.c:28: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ ../nwvolume.c:315:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(homedir, pw->pw_dir, len); ^~ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwvolume.c: In function 'nw_setup_vol_opts': ../nwvolume.c:365:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fname = ""; ^ ../nwvolume.c: In function 'nw_get_volume_name': ../nwvolume.c:479:17: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)volname, (char*)nw_volumes[volnr].sysname, size_volname-1); ^ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwvolume.c:479:33: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)volname, (char*)nw_volumes[volnr].sysname, size_volname-1); ^ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwvolume.c: In function 'get_volume_inode': ../nwvolume.c:618:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] result = stat(nw_volumes[volnr].unixname, stb); ^~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwvolume.c: In function 'vol_trustee_scan': ../nwvolume.c:639:26: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] if (NULL != (f=opendir(trusteepath))) { ^~~~~~~~~~~ In file included from ../nwvolume.c:30:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../nwvolume.c:646:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, size_p-1); ^~~~~~~ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwvolume.c:649:26: warning: pointer targets in passing argument 1 of 'readlink' differ in signedness [-Wpointer-sign] int l=readlink(trusteepath, path, 254); ^~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/bits/unistd.h:139:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (readlink (const char *__restrict __path, char *__restrict __buf, ^ ../nwvolume.c:649:39: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] int l=readlink(trusteepath, path, 254); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/bits/unistd.h:139:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (readlink (const char *__restrict __path, char *__restrict __buf, ^ ../nwvolume.c:662:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(unixname, &stb)) { ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwvolume.c:680:27: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] } else if ((!stat(trusteepath, &stb)) && S_ISDIR(stb.st_mode)) { ^~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwvolume.c:681:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int l=strlen(p); ^ In file included from ../net.h:37:0, from ../nwvolume.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../net.h:487:0, from ../nwvolume.c:28: ../nwvolume.c: In function 'build_volume_user_trustee': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwvolume.c:698:3: note: in expansion of macro 'xstrcpy' xstrcpy(trusteepath, path_trustees); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwvolume.c:699:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p=trusteepath+strlen(trusteepath); ^~~~~~~~~~~ In file included from ../net.h:37:0, from ../nwvolume.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwvolume.c:702:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p+=strlen(v->sysname); ^ In file included from ../net.h:37:0, from ../nwvolume.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwvolume.c: In function 'get_volume_user_trustee': ../nwvolume.c:747:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int l=strlen(v->sysname); ^ In file included from ../net.h:37:0, from ../nwvolume.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../net.h:69:0, from ../nwvolume.c:28: ../nwvolume.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfile.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwfile.c:26: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:487:0, from ../nwfile.c:26: ../nwfile.c: In function 'new_file_handle': ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwfile.c:110:3: note: in expansion of macro 'xstrcpy' xstrcpy(fh->fname, (char*)unixname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwfile.c:110:3: note: in expansion of macro 'xstrcpy' xstrcpy(fh->fname, (char*)unixname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwfile.c: In function 'file_creat_open': ../nwfile.c:287:28: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] int exist = stat(unixname, stbuff) ? 0 : 1; ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwfile.c:303:18: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] exist = stat(unixname, stbuff) ? 0 : 1; ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwfile.c:320:48: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] dwattrib = get_nw_attrib_dword(volume, unixname, stbuff); ^~~~~~~~ In file included from ../nwfile.c:38:0: ../nwattrib.h:18:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~~ ../nwfile.c:407:32: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] uint8 *p=(uint8*)strrchr(unixname, '/'); ^~~~~~~~ In file included from ../net.h:37:0, from ../nwfile.c:26: /usr/include/string.h:258:14: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *strrchr (const char *__s, int __c) ^~~~~~~ ../nwfile.c:411:27: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] completition=stat(unixname, stbuff); ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwfile.c:415:52: warning: pointer targets in passing argument 2 of 'get_nw_attrib_dword' differ in signedness [-Wpointer-sign] dwattrib = get_nw_attrib_dword(volume, unixname, stbuff); ^~~~~~~~ In file included from ../nwfile.c:38:0: ../nwattrib.h:18:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 get_nw_attrib_dword(int volume, char *unixname, struct stat *stb); ^~~~~~~~~~~~~~~~~~~ ../nwfile.c:487:35: warning: pointer targets in passing argument 2 of 'nw_creat_node' differ in signedness [-Wpointer-sign] if (nw_creat_node(volume, fh->fname, 2|8)) ^~ In file included from ../nwfile.c:37:0: ../connect.h:125:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_creat_node(int volume, uint8 *unname, int mode); ^~~~~~~~~~~~~ ../nwfile.c: In function 'fd_2_fname': ../nwfile.c:1062:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf, fh->fname, bufsize-1); ^~~ In file included from ../net.h:487:0, from ../nwfile.c:26: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwfile.c:1062:20: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf, fh->fname, bufsize-1); ^~ In file included from ../net.h:487:0, from ../nwfile.c:26: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwfile.c: In function 'nw_log_logical_record': ../nwfile.c:1191:58: warning: pointer targets in passing argument 4 of 'share_set_logrec_add_rm' differ in signedness [-Wpointer-sign] if (share_set_logrec_add_rm(lock_flag, timeout, len, data)) ^~~~ In file included from ../nwfile.c:35:0: ../nwshare.h:14:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int share_set_logrec_add_rm(int lock_flag, int timeout, int len, char *data); ^~~~~~~~~~~~~~~~~~~~~~~ ../nwfile.c:1237:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(fn, "GENERIC_LOCKFILE"); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwfile.c:1242:33: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] if (get_ini_entry(NULL, 41, buff, sizeof(buff)) && *buff) ^~~~ In file included from ../net.h:487:0, from ../nwfile.c:26: ../tools.h:45:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); ^~~~~~~~~~~~~ ../nwfile.c:1243:38: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_share_lock_files, buff); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwfile.c:1245:38: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_share_lock_files, "/var/spool/nwserv/.locks"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwfile.c:1251:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(fullpath,"%s/%s.k", path_share_lock_files, fn); ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwfile.c:1253:22: warning: pointer targets in passing argument 1 of 'find_lockfile' differ in signedness [-Wpointer-sign] lf = find_lockfile(fn); ^~ ../nwfile.c:1156:19: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static LOCK_FILE *find_lockfile(char *fn) ^~~~~~~~~~~~~ ../nwfile.c:1261:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(fullpath, O_RDWR|O_CREAT, 0600); ^~~~~~~~ In file included from /usr/include/fcntl.h:314:0, from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../nwfile.c:26: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' open (const char *__path, int __oflag, ...) ^~~~ In file included from ../net.h:69:0, from ../nwfile.c:26: ../nwfile.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwfile.c: In function 'free_file_handle': ../nwfile.c:155:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c: In function 'file_creat_open': ../nwfile.c:302:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c:410:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c:477:15: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c:495:13: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c: In function 'open_with_root_access': ../nwfile.c:212:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c: In function 'nw_close_file': ../nwfile.c:675:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c: In function 'nw_commit_file': ../nwfile.c:732:13: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c: In function 'nw_log_logical_record': ../nwfile.c:1246:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwfile.c:1260:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxfile.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../unxfile.c:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../unxfile.c: In function 'unx_mvdir': ../unxfile.c:27:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(newname, &statb)) return(EEXIST); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:28:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(oldname, &statb)) return(-1); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:30:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c:30:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c: In function 'unx_mvfile': ../unxfile.c:36:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(newname, &statb)) return(EEXIST); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:37:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(oldname, &statb)) return(-1); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:39:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c:39:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c: In function 'unx_mvfile_or_dir': ../unxfile.c:45:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(newname, &statb)) return(EEXIST); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:46:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(oldname, &statb)) return(-1); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../unxfile.c:47:19: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c:47:28: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] return( (rename(oldname, newname) < 0) ? errno : 0); ^~~~~~~ In file included from ../net.h:28:0, from ../unxfile.c:20: /usr/include/stdio.h:182:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int rename (const char *__old, const char *__new) __THROW; ^~~~~~ ../unxfile.c: In function 'unx_xrmdir': ../unxfile.c:87:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, 298); ^ In file included from ../net.h:487:0, from ../unxfile.c:20: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../unxfile.c:87:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, 298); ^~~~~~~ In file included from ../net.h:487:0, from ../unxfile.c:20: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ In file included from ../net.h:69:0, from ../unxfile.c:20: ../unxfile.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqconn.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwqconn.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../nwqconn.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwqconn.c: In function 'close_queue_job2': ../nwqconn.c:224:11: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwqconn.c:250:13: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nameos2.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nameos2.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nameos2.c: In function 'get_match': ../nameos2.c:80:26: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] if (NULL != (d=opendir(unixname))) { ^~~~~~~~ In file included from ../nameos2.c:20:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../nameos2.c:88:32: warning: pointer targets in passing argument 1 of 'my_match' differ in signedness [-Wpointer-sign] if (0 != (len=my_match(dirbuff->d_name, p+1))) { ^~~~~~~ ../nameos2.c:64:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int my_match(uint8 *s, uint8 *p) ^~~~~~~~ In file included from ../net.h:69:0, from ../nameos2.c:19: ../nameos2.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfname.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwfname.c:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../nwfname.c:23: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwshare.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwshare.c:20: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwshare.c: In function 'share_file': ../nwshare.c:190:37: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] if (get_ini_entry(NULL, 41, buff, sizeof(buff)) && *buff) ^~~~ In file included from ../net.h:487:0, from ../nwshare.c:20: ../tools.h:45:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); ^~~~~~~~~~~~~ ../nwshare.c:191:42: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_share_lock_files, buff); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwshare.c:193:42: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] new_str(path_share_lock_files, "/var/spool/nwserv/.locks"); ^ ../tools.h:34:51: note: in definition of macro 'new_str' #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) ^ ../tools.h:31:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int x_x_xnewstr(uint8 **p, uint8 *s); ^~~~~~~~~~~ ../nwshare.c: In function 'lock_unlock_pset': ../nwshare.c:671:26: warning: pointer targets in passing argument 4 of 'nw_log_logical_record' differ in signedness [-Wpointer-sign] ps->data); ^~ In file included from ../nwshare.c:23:0: ../nwfile.h:64:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_log_logical_record(int lock_flag, ^~~~~~~~~~~~~~~~~~~~~ ../nwshare.c:677:26: warning: pointer targets in passing argument 4 of 'nw_log_logical_record' differ in signedness [-Wpointer-sign] ps->data); ^~ In file included from ../nwshare.c:23:0: ../nwfile.h:64:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_log_logical_record(int lock_flag, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:69:0, from ../nwshare.c:20: ../nwshare.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwshare.c: In function 'share_file': ../nwshare.c:194:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwshare.c:197:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../extpipe.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../extpipe.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../extpipe.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../extpipe.c: In function 'x_popen': ../extpipe.c:110:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../extpipe.c:111:21: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] if (gid > -1) setgid(gid); ^~~~~~~~~~~ ../extpipe.c:112:21: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] if (uid > -1) setuid(uid); ^~~~~~~~~~~ ../extpipe.c:113:21: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] if (gid > -1) setegid(gid); ^~~~~~~~~~~~ ../extpipe.c:114:21: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] if (uid > -1) seteuid(uid); ^~~~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwattrib.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwattrib.c:21: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwattrib.c: In function 'set_nw_attrib': ../nwattrib.c:150:37: warning: pointer targets in passing argument 2 of 'tru_eff_rights_exists' differ in signedness [-Wpointer-sign] if (tru_eff_rights_exists(volume, unixname, stb, TRUSTEE_M)) ^~~~~~~~ In file included from ../nwattrib.c:26:0: ../trustee.h:57:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int tru_eff_rights_exists(int volume, uint8 *unixname, struct stat *stb, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:69:0, from ../nwattrib.c:21: ../nwattrib.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwattrib.c: In function 'get_attr_from_disk': ../nwattrib.c:80:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwattrib.c: In function 'put_attr_to_disk': ../nwattrib.c:41:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../nwattrib.c:46:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(battrib, buf); ^~~~~~~~~~~~~~~~~~~~~ ../nwattrib.c: In function 'free_attr_from_disk': ../nwattrib.c:61:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../trustee.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../trustee.c:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../trustee.c: In function 'un_nw_rights': ../trustee.c:56:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] uint8 *p = unixname+strlen(unixname); ^~~~~~~~ In file included from ../net.h:37:0, from ../trustee.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../trustee.c:72:18: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(unixname, &stbp) || ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../trustee.c:87:45: warning: pointer targets in passing argument 2 of 'get_unix_access_rights' differ in signedness [-Wpointer-sign] accp=get_unix_access_rights(&stbp,"/."); ^~~~ In file included from ../trustee.c:35:0: ../connect.h:226:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int get_unix_access_rights(struct stat *stb, uint8 *unixname); ^~~~~~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'creat_trustee_path': ../trustee.c:309:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return; ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c:318:15: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] if (symlink(path, buf)) { ^~~~ In file included from ../net.h:46:0, from ../trustee.c:31: /usr/include/unistd.h:805:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int symlink (const char *__from, const char *__to) ^~~~~~~ ../trustee.c: In function 'put_trustee_to_disk': ../trustee.c:332:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(-0xff); ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'get_trustee_from_disk': ../trustee.c:358:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'del_trustee_from_disk': ../trustee.c:387:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(result); ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'tru_vol_sernum': ../trustee.c:411:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return(-1); ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'tru_free_file_trustees_from_disk': ../trustee.c:439:34: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] if (nw_get_volume_name(volume, volname, sizeof(volname) ) < 1) return; ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c: In function 'create_trustee_node': ../trustee.c:497:36: warning: pointer targets in passing argument 2 of 'nw_get_volume_name' differ in signedness [-Wpointer-sign] (void)nw_get_volume_name(volume, volname, sizeof(volname) ); ^~~~~~~ In file included from ../trustee.c:34:0: ../nwvolume.h:116:13: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_volume_name(int volnr, uint8 *volname, int size_volname); ^~~~~~~~~~~~~~~~~~ ../trustee.c:507:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *p=buf+l; ^~~ ../trustee.c:520:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, sizeof(buf) - len -1); ^~~~~~~ In file included from ../net.h:487:0, from ../trustee.c:31: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../trustee.c: In function 'find_creat_add_trustee_node': ../trustee.c:557:17: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] if ( lstat(unixname, &lstatbuf) ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:459:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ In file included from ../trustee.c:31:0: ../trustee.c: In function 'local_tru_add_trustee_set': ../trustee.c:617:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ufn=unixname+min(strlen(unixname), volumenamelen); ^ ../net.h:79:28: note: in definition of macro 'min' #define min(a,b) (((a) < (b)) ? (a) : (b)) ^ In file included from ../net.h:37:0, from ../trustee.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from ../trustee.c:31:0: ../trustee.c:617:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ufn=unixname+min(strlen(unixname), volumenamelen); ^ ../net.h:79:41: note: in definition of macro 'min' #define min(a,b) (((a) < (b)) ? (a) : (b)) ^ In file included from ../net.h:37:0, from ../trustee.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../trustee.c: In function 'tru_add_trustee_set': ../trustee.c:645:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(unixname); ^~~~~~~~ In file included from ../net.h:37:0, from ../trustee.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../trustee.c:647:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p = unixname+len; ^~~~~~~~ ../trustee.c:648:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *volp = unixname+vollen; ^~~~~~~~ ../trustee.c:655:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(unixname, &statb)){ ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../trustee.c: In function 'find_build_trustee_node': ../trustee.c:812:27: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p = unixname+volumenamelen; ^~~~~~~~ ../trustee.c:829:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(unixname, &stb1)) { ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../trustee.c:842:27: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] if ( lstat(unixname, &lstatbuf) ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:459:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ In file included from ../net.h:69:0, from ../trustee.c:31: ../trustee.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../trustee.c: In function 'tru_vol_sernum': ../trustee.c:421:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../trustee.c: In function 'tru_free_file_trustees_from_disk': ../trustee.c:447:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../trustee.c: In function 'del_trustee_from_disk': ../trustee.c:396:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../trustee.c: In function 'tru_add_trustee_set': ../trustee.c:650:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../trustee.c: In function 'local_tru_add_trustee_set': ../trustee.c:599:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ ../trustee.c: In function 'tru_set_inherited_mask': ../trustee.c:713:7: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ cc -o ../nwconn nwconn.o emutli.o net1.o tools.o connect.o namspace.o nwvolume.o nwfile.o unxfile.o nwqconn.o nameos2.o nwfname.o nwshare.o extpipe.o nwattrib.o trustee.o -lcrypt cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../ncpserv.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../ncpserv.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../ncpserv.c:19: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../ncpserv.c: In function 'write_to_nwserv': ../ncpserv.c:87:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:88:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &connection, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:89:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &size, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:90:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, data, size); /* ipxAddr_t + socknr */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:96:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:97:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &connection, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:98:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &mode, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:103:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:104:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &connection, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:108:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ncpserv.c:109:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ../ncpserv ncpserv.o emutli.o net1.o tools.o -lcrypt cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwclient.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwclient.c:27: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../nwclient.c:27: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ cc -o ../nwclient nwclient.o emutli.o net1.o tools.o -lcrypt cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwbind.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwbind.c:35: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwbind.c: In function 'nw_test_adr_access': ../nwbind.c:232:19: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] propname, strlen(propname), ^~~~~~~~ In file included from ../nwbind.c:36:0: ../nwdbm.h:169:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_get_prop_val_by_obj_id(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c: In function 'sent_down_message': ../nwbind.c:404:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(cn->message, "MARS_NWE IS DIEING", 58); ^~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c: In function 'build_login_response': ../nwbind.c:485:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] i=strlen(pw_name); ^~~~~~~ In file included from ../net.h:37:0, from ../nwbind.c:35: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwbind.c: In function 'handle_fxx': ../nwbind.c:585:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(message, rdata+1, min(59, *rdata)); ^~~~~~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:604:26: warning: pointer targets in passing argument 4 of 'get_guid' differ in signedness [-Wpointer-sign] id, (char *) NULL) != 0) { ^ In file included from ../nwbind.c:36:0: ../nwdbm.h:253:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int get_guid(int *gid, int *uid, uint32 obj_id, uint8 *name); ^~~~~~~~ ../nwbind.c:680:30: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->servername, my_nwname, sizeof(xdata->servername)-1); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:40:41: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) ^ ../nwbind.c:768:21: note: in expansion of macro 'xstrmaxcpy' xstrmaxcpy(password, p1+1, (int) *p1); ^~~~~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:782:61: warning: pointer targets in passing argument 2 of 'nw_test_unenpasswd' differ in signedness [-Wpointer-sign] result=nw_test_unenpasswd(obj.id, password); ^~~~~~~~ In file included from ../nwbind.c:36:0: ../nwdbm.h:260:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int nw_test_unenpasswd(uint32 obj_id, uint8 *password); ^~~~~~~~~~~~~~~~~~ ../nwbind.c:816:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:816:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:863:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:863:53: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:40:46: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) ^ ../nwbind.c:892:21: note: in expansion of macro 'xstrmaxcpy' xstrmaxcpy(obj.name, (char*)(p+3), *(p+2)); ^~~~~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:938:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:938:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), (int) *(p)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:967:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)p+3, (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:967:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)p+3, (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:977:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:977:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:990:33: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:990:50: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:991:33: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)newname, (char*)(p1+1), (int) *(p1)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:991:50: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)newname, (char*)(p1+1), (int) *(p1)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1008:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1008:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), (int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1014:31: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1014:51: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1033:31: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1033:51: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1052:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3),(int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1052:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3),(int) *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1058:31: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1058:51: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->object_name, obj.name, 48); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:40:46: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) ^ ../nwbind.c:1076:23: note: in expansion of macro 'xstrmaxcpy' xstrmaxcpy(obj.name, (char*)(p+4), (int) *(p+3)); ^~~~~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1147:31: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->prop_name, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1148:38: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] prop.name, sizeof(xdata->prop_name)); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwbind.c:1228:77: warning: pointer targets in passing argument 2 of 'nw_valid_newpasswd' differ in signedness [-Wpointer-sign] 0 == (result=nw_valid_newpasswd(act_c->object_id,newpassword)) ^~~~~~~~~~~ ../nwbind.c:105:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_valid_newpasswd(uint32 obj_id, char *newpasswd) ^~~~~~~~~~~~~~~~~~ ../nwbind.c:1234:59: warning: pointer targets in passing argument 2 of 'nw_set_passwd' differ in signedness [-Wpointer-sign] result=nw_set_passwd(obj.id, newpassword, 0); ^~~~~~~~~~~ In file included from ../nwbind.c:36:0: ../nwdbm.h:261:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nw_set_passwd(uint32 obj_id, char *password, int dont_ch); ^~~~~~~~~~~~~ ../nwbind.c:1372:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1372:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+3), *(p+2)); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1391:31: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), *p); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1391:48: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)(p+1), *p); ^ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1759:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(responsedata, company); ^~~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwbind.c:1760:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] l = 1 + sprintf(responsedata+k, revision, ^~~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwbind.c:1762:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(responsedata+k, revision_date); ^~~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwbind.c:1764:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(responsedata+k, copyright); ^~~~~~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwbind.c:1756:25: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l; ^ ../nwbind.c:1790:53: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(act_c->message, msg, min(58, msglen)); ^~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1795:52: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(cc->message, msg, min(58, msglen)); ^~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1801:49: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(act_c->message, msg, min(58, msglen)); ^~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:1816:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(cn->message, "MARS_NWE has killed your connection", 58); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c: In function 'handle_bind_calls': ../nwbind.c:1967:29: warning: pointer targets in passing argument 2 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] nw_new_obj_prop(0, obj.name, obj.type, O_FL_DYNA, 0x40, ^~~ In file included from ../nwbind.c:36:0: ../nwdbm.h:244:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwbind.c: In function 'handle_ctrl': ../nwbind.c:2069:40: warning: pointer targets in passing argument 3 of 'xread' differ in signedness [-Wpointer-sign] data_len = xread(&ipxd, &offs, (char*)&conn, sizeof(int)); ^ ../nwbind.c:1997:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int xread(IPX_DATA *ipxd, int *offs, uint8 *data, int size) ^~~~~ ../nwbind.c: In function 'main': ../nwbind.c:2108:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(my_nwname, argv[1], 47); ^~~~~~~~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:2108:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(my_nwname, argv[1], 47); ^~~~ In file included from ../net.h:487:0, from ../nwbind.c:35: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwbind.c:2203:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (int) ((NCPRESPONSE*)ipx_in_data)->completition); ^ In file included from ../net.h:69:0, from ../nwbind.c:35: ../nwbind.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwbind.c: In function 'write_to_nwserv': ../nwbind.c:70:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:71:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &connection, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:72:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &mode, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:76:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:77:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &connection, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:81:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwbind.c:82:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(FD_NWSERV, &what, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwdbm.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwdbm.c:30: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwdbm.c: In function 'handle_iobj': ../nwdbm.c:241:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(iobj.name, o->name, sizeof(iobj.name)); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwdbm.c:241:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(iobj.name, o->name, sizeof(iobj.name)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c: In function 'find_obj_id': ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:24: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:35: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:35: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:24: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:35: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:35: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:24: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:35: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:35: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:24: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:35: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ ../nwdbm.c:290:35: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:290:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:290:35: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if ( (!strncmp(obj->name, o->name, sizeof(obj->name))) ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ../nwdbm.c: In function 'nw_rename_obj': ../nwdbm.c:562:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(obj->name, newname, 48); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:125:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwdbm.c:562:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(obj->name, newname, 48); ^~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:125:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ../nwdbm.c: In function 'nw_get_prop_val_by_obj_id': ../nwdbm.c:848:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:848:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_get_prop_val': ../nwdbm.c:871:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:871:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_delete_property': ../nwdbm.c:891:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:891:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:892:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop_name_x, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:892:33: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop_name_x, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_is_member_in_set': ../nwdbm.c:906:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prop.name, propname, sizeof(prop.name)); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_is_obj_in_set': ../nwdbm.c:923:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:923:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:924:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:924:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:925:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:925:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_add_obj_to_set': ../nwdbm.c:950:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:950:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:951:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:951:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:952:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:952:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_delete_obj_from_set': ../nwdbm.c:981:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:981:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:982:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:982:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)mobj.name, (char*)member_name, member_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:983:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:983:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_write_prop_value': ../nwdbm.c:1008:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1008:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1009:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1009:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_change_prop_security': ../nwdbm.c:1033:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1033:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1034:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1034:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_scan_property': ../nwdbm.c:1054:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1054:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1055:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop->name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1055:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop->name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_get_prop_val_str': ../nwdbm.c:1082:45: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] result=nw_get_prop_val_by_obj_id(q_id, 1, propname, strlen(propname), ^~~~~~~~ ../nwdbm.c:839:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_get_prop_val_by_obj_id(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1086:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] result=strlen(buff); ^~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c: In function 'nw_create_obj': ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1110:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:45: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:54: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:54: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:45: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:54: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:54: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:45: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:54: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:54: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:45: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1110:54: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ^ ../nwdbm.c:1110:54: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c: In function 'nw_create_obj_prop': ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1165:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:55: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:55: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:55: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:55: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:55: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:55: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:43: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:1165:55: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ^ ../nwdbm.c:1165:55: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c: In function 'nw_create_prop': ../nwdbm.c:1215:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1215:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)object_name, object_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1216:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1216:31: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)prop.name, (char*)prop_name, prop_namlen); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_new_obj': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1235:3: note: in expansion of macro 'xstrcpy' xstrcpy(obj.name, objname); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_new_obj_prop': ../nwdbm.c:1266:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prop.name, propname, sizeof(prop.name)); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_getpwnam': ../nwdbm.c:1306:35: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] if (nw_get_prop_val_str(obj_id, pn_unix_user, buff) > 0){ ^~~~~~~~~~~~ ../nwdbm.c:1074:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1306:49: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] if (nw_get_prop_val_str(obj_id, pn_unix_user, buff) > 0){ ^~~~ ../nwdbm.c:1074:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) ^~~~~~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1315:7: note: in expansion of macro 'xstrcpy' xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1315:7: note: in expansion of macro 'xstrcpy' xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1316:7: note: in expansion of macro 'xstrcpy' xstrcpy(pwstat.pw_name, pw->pw_name); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1317:7: note: in expansion of macro 'xstrcpy' xstrcpy(pwstat.pw_dir, pw->pw_dir); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1323:18: note: in expansion of macro 'xstrcpy' if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:1323:18: note: in expansion of macro 'xstrcpy' if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nw_is_security_equal': ../nwdbm.c:1338:35: warning: pointer targets in passing argument 2 of 'nw_is_member_in_set' differ in signedness [-Wpointer-sign] return(nw_is_member_in_set(id2, pn_security_equals, id1)); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:902:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nw_is_member_in_set(uint32 obj_id, char *propname, uint32 member_id) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'get_groups_i_m_in': ../nwdbm.c:1348:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pn_groups_i_m_in, strlen(pn_groups_i_m_in), ^~~~~~~~~~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c: In function 'get_guid': ../nwdbm.c:1377:22: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] if (name) strcpy(name, "UNKNOWN"); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwdbm.c: In function 'loc_nw_test_passwd': ../nwdbm.c:1394:35: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] if (nw_get_prop_val_str(obj_id, pn_password, stored_passwd) > 0) { ^~~~~~~~~~~ ../nwdbm.c:1074:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_test_unenpasswd': ../nwdbm.c:1437:37: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] && nw_get_prop_val_str(obj_id, pn_password, stored_passwd) > 0 ) { ^~~~~~~~~~~ ../nwdbm.c:1074:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1442:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] shuffle(s_uid, passwordu, strlen(passwordu), passwd); ^~~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c: In function 'nw_update_oldpasswd': ../nwdbm.c:1470:12: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] pn_control, strlen(pn_control), ^~~~~~~~~~ ../nwdbm.c:839:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_get_prop_val_by_obj_id(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1487:19: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] segm, 128, 1); ^~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_set_login_control': ../nwdbm.c:1496:7: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] (uint8 *)plc, sizeof(LOGIN_CONTROL), 1); ^ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_get_login_control': ../nwdbm.c:1511:14: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] pn_login_control, strlen(pn_login_control), ^~~~~~~~~~~~~~~~ ../nwdbm.c:839:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_get_prop_val_by_obj_id(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1522:16: warning: pointer targets in passing argument 3 of 'nw_get_prop_val_by_obj_id' differ in signedness [-Wpointer-sign] pn_user_defaults, strlen(pn_user_defaults), ^~~~~~~~~~~~~~~~ ../nwdbm.c:839:5: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' int nw_get_prop_val_by_obj_id(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_set_enpasswd': ../nwdbm.c:1572:52: warning: pointer targets in passing argument 2 of 'nw_get_prop_val_str' differ in signedness [-Wpointer-sign] if ((!dont_ch) || (nw_get_prop_val_str(obj_id, prop_name, NULL) < 1)) { ^~~~~~~~~ ../nwdbm.c:1074:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nw_get_prop_val_str(uint32 q_id, char *propname, uint8 *buff) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1573:41: warning: pointer targets in passing argument 2 of 'nw_update_oldpasswd' differ in signedness [-Wpointer-sign] result=nw_update_oldpasswd(obj_id,passwd); ^~~~~~ ../nwdbm.c:1459:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_update_oldpasswd(uint32 obj_id, char *pwd) ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1580:24: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] prop_name, P_FL_STAT|P_FL_ITEM, 0x44, ^~~~~~~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c:1581:24: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] passwd, 16, 1); ^~~~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_set_passwd': ../nwdbm.c:1626:20: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(s_uid, password, strlen(password), passwd); ^~~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:2:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void shuffle(unsigned char *lon, ^~~~~~~ ../nwdbm.c: In function 'nw_keychange_passwd': ../nwdbm.c:1663:22: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(s_uid, buf, 0, storedpass); ^~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:2:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void shuffle(unsigned char *lon, ^~~~~~~ ../nwdbm.c:1673:45: warning: pointer targets in passing argument 3 of 'nw_valid_keynewpasswd' differ in signedness [-Wpointer-sign] result=nw_valid_keynewpasswd(obj_id, len, storedpass); ^~~~~~~~~~ ../nwdbm.c:1548:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_valid_keynewpasswd(uint32 obj_id, int pwdlen, char *newpasswd) ^~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1677:22: warning: pointer targets in passing argument 1 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass, newpass, newpass); ^~~~~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1677:36: warning: pointer targets in passing argument 2 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass, newpass, newpass); ^~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1677:47: warning: pointer targets in passing argument 3 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass, newpass, newpass); ^~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1678:22: warning: pointer targets in passing argument 1 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); ^~~~~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1678:36: warning: pointer targets in passing argument 2 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); ^~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1678:47: warning: pointer targets in passing argument 3 of 'nw_decrypt_newpass' differ in signedness [-Wpointer-sign] nw_decrypt_newpass(storedpass+8, newpass+8, newpass+8); ^~~~~~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:10:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern void nw_decrypt_newpass(char *oldpwd, char *newpwd, char *undecr); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1684:18: warning: pointer targets in passing argument 2 of 'shuffle' differ in signedness [-Wpointer-sign] shuffle(s_uid, buf, 0, storedpass); ^~~ In file included from ../nwdbm.c:32:0: ../nwcrypt.h:2:13: note: expected 'const unsigned char *' but argument is of type 'char *' extern void shuffle(unsigned char *lon, ^~~~~~~ ../nwdbm.c: In function 'nw_new_add_prop_member': ../nwdbm.c:1695:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prop.name, propname, sizeof(prop.name)); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'nwdbm_rmdir': ../nwdbm.c:1745:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, 255); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1745:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(p, dirbuff->d_name, 255); ^~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'add_pr_queue': ../nwdbm.c:1802:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] q_directory=buf; ^ ../nwdbm.c: In function 'add_pr_server': ../nwdbm.c:1835:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)ps_name, 47); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1835:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)ps_name, 47); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1845:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)ps_queue, 47); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:1845:32: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy((char*)obj.name, (char*)ps_queue, 47); ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'add_user_to_group': ../nwdbm.c:1855:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] nw_new_add_prop_member(u_id, pn_groups_i_m_in, P_FL_STAT, 0x31, g_id); ^~~~~~~~~~~~~~~~ ../nwdbm.c:1688:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_new_add_prop_member(uint32 obj_id, char *propname, ^~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1856:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] nw_new_add_prop_member(u_id, pn_security_equals, P_FL_STAT, 0x32, g_id); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:1688:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_new_add_prop_member(uint32 obj_id, char *propname, ^~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1857:32: warning: pointer targets in passing argument 2 of 'nw_new_add_prop_member' differ in signedness [-Wpointer-sign] nw_new_add_prop_member(g_id, pn_group_members, P_FL_STAT, 0x31, u_id); ^~~~~~~~~~~~~~~~ ../nwdbm.c:1688:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static int nw_new_add_prop_member(uint32 obj_id, char *propname, ^~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'add_user_2_unx': ../nwdbm.c:1864:22: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] pn_unix_user, P_FL_ITEM, 0x30, ^~~~~~~~~~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c: In function 'test_allow_password_change': ../nwdbm.c:1875:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pn_special_flags, strlen(pn_special_flags), ^~~~~~~~~~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c:1882:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pn_login_control, strlen(pn_login_control), ^~~~~~~~~~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c: In function 'add_remove_special_flags': ../nwdbm.c:1899:25: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] pn_special_flags, P_FL_STAT|P_FL_ITEM, 0x33, ^~~~~~~~~~~~~~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c:1900:25: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] buff, sizeof(buff), 1); ^~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c: In function 'get_sys_unixname': ../nwdbm.c:1954:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int result = strlen(sysname); ^~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c:1955:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] uint8 *pp = unixname + strlen(unixname); ^~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c:1974:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(unixname, &statb) < 0) ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c:1975:19: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] nwdbm_mkdir(unixname, 0751, 1); ^~~~~~~~ ../nwdbm.c:1710:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nwdbm_mkdir(char *unixname, int mode, int flags) ^~~~~~~~~~~ ../nwdbm.c:1977:14: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(unixname, &statb) < 0 || !S_ISDIR(statb.st_mode)) { ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c: In function 'test_add_dir': ../nwdbm.c:1998:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(unixname, &stb) < 0) { ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c:1999:21: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] if (nwdbm_mkdir(unixname, permiss, (flags&4) ? 1 : 0)< 0) ^~~~~~~~ ../nwdbm.c:1710:5: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' int nwdbm_mkdir(char *unixname, int mode, int flags) ^~~~~~~~~~~ ../nwdbm.c:2002:13: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(unixname, permiss); ^~~~~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2004:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(unixname, uid, gid); ^~~~~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../nwdbm.c:2009:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *p=unixname; ^~~~~~~~ ../nwdbm.c:2013:19: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(unixname, &stb)) ^~~~~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c:2014:19: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(unixname, stb.st_mode|0111); ^~~~~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2019:13: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(unixname, permiss); ^~~~~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2021:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] chown(unixname, uid, gid); ^~~~~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../nwdbm.c:2025:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] pp += strlen(pp); ^~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c: In function 'correct_user_dirs': ../nwdbm.c:2047:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] l=sprintf(buf1,"../%x", (int)objid)-3; ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwdbm.c:2061:15: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] (void)mkdir(fndir, mask); ^~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:320:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int mkdir (const char *__path, __mode_t __mode) ^~~~~ ../nwdbm.c:2062:15: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] (void)chmod(fndir, mask); ^~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2063:15: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] (void)chown(fndir, uid, gid); ^~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../nwdbm.c:2065:18: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] if ((f=opendir(fndir)) != (DIR*)NULL) { ^~~~~ In file included from ../nwdbm.c:34:0: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ ../nwdbm.c:2070:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pp+1, "login"); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwdbm.c:2073:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat(fndir, &statb)) { /* no one exist */ ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c:2074:23: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] FILE *f=fopen(fndir, "w"); ^~~~~ In file included from ../net.h:28:0, from ../nwdbm.c:30: /usr/include/stdio.h:274:14: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' extern FILE *fopen (const char *__restrict __filename, ^~~~~ ../nwdbm.c:2078:23: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] (void)chown(fndir, uid, gid); ^~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../nwdbm.c:2079:17: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(fndir, 0600); ^~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2089:18: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pp+1, name); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:110:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwdbm.c:2089:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pp+1, name); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/string3.h:110:1: note: expected 'const char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ../nwdbm.c:2090:24: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] if ( !lstat(fndir, &lstatb) ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:459:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (lstat (const char *__path, struct stat *__statbuf)) ^ ../nwdbm.c:2094:25: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] (void)chown(fndir, uid, gid); ^~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:476:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ ../nwdbm.c:2096:21: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] chmod(fndir, S_ISDIR(lstatb.st_mode) ? 700 : 600); ^~~~~ In file included from ../net.h:47:0, from ../nwdbm.c:30: /usr/include/sys/stat.h:283:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int chmod (const char *__file, __mode_t __mode) ^~~~~ ../nwdbm.c:2110:10: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(fndir); ^~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ ../nwdbm.c:2111:11: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] symlink(buf1, fndir); ^~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:805:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int symlink (const char *__from, const char *__to) ^~~~~~~ ../nwdbm.c:2111:17: warning: pointer targets in passing argument 2 of 'symlink' differ in signedness [-Wpointer-sign] symlink(buf1, fndir); ^~~~~ In file included from ../net.h:46:0, from ../nwdbm.c:30: /usr/include/unistd.h:805:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int symlink (const char *__from, const char *__to) ^~~~~~~ ../nwdbm.c: In function 'test_ins_unx_user': ../nwdbm.c:2125:21: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam(unxname); ^~~~~~~ In file included from ../net.h:73:0, from ../nwdbm.c:30: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ ../nwdbm.c:2127:28: warning: pointer targets in passing argument 2 of 'add_user_2_unx' differ in signedness [-Wpointer-sign] add_user_2_unx(id, unxname); ^~~~~~~ ../nwdbm.c:1860:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static void add_user_2_unx(uint32 u_id, char *unname) ^~~~~~~~~~~~~~ ../nwdbm.c: In function 'check_compress_bindery': ../nwdbm.c:2231:50: warning: pointer targets in passing argument 2 of 'loc_delete_property' differ in signedness [-Wpointer-sign] loc_delete_property(d_prop_oid[d_pcount], (char*)NULL, ^ ../nwdbm.c:360:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int loc_delete_property(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'nw_fill_standard': ../nwdbm.c:2396:28: warning: pointer targets in passing argument 6 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] pn_group_members, P_FL_SET, 0x31, ^~~~~~~~~~~~~~~~ ../nwdbm.c:1245:8: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwdbm.c:2401:44: warning: pointer targets in passing argument 3 of 'get_ini_entry' differ in signedness [-Wpointer-sign] while (0 != (what =get_ini_entry(f, 0, (char*)buff, sizeof(buff)))) { ^ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:45:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int get_ini_entry(FILE *f, int entry, uint8 *str, int strsize); ^~~~~~~~~~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:2403:9: note: in expansion of macro 'xstrcpy' xstrcpy(sysentry, buff); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:2403:9: note: in expansion of macro 'xstrcpy' xstrcpy(sysentry, buff); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:2457:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(name); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2475:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(name); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2476:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(queue); ^~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2494:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(nname); ^~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2496:19: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(password); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2535:15: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(serverna, servername, MAX_SERVER_NAME); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:2535:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(serverna, servername, MAX_SERVER_NAME); ^~~~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:2536:11: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(serverna); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2551:11: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(auto_ins_passwd); ^~~~~~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../tools.h:39:36: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:2579:11: note: in expansion of macro 'xstrcpy' xstrcpy(nname, pw->pw_name); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwdbm.c:2579:11: note: in expansion of macro 'xstrcpy' xstrcpy(nname, pw->pw_name); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:2580:17: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] upstr(nname); ^~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:58:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *upstr(uint8 *ss); ^~~~~ ../nwdbm.c:2599:61: warning: pointer targets in passing argument 3 of 'get_sys_unixname' differ in signedness [-Wpointer-sign] int result = get_sys_unixname(unixname, sysname, sysentry); ^~~~~~~~ ../nwdbm.c:1948:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int get_sys_unixname(uint8 *unixname, uint8 *sysname, uint8 *sysentry) ^~~~~~~~~~~~~~~~ ../nwdbm.c:2602:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int unlen = strlen(unixname); ^~~~~~~~ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:2657:48: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buff, ':')) ) { ^ ../nwdbm.c:2657:48: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:2659:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ In file included from ../net.h:37:0, from ../nwdbm.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwdbm.c:30: ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:25: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^ ../nwdbm.c:2659:31: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwdbm.c: In function 'nw_init_dbm_1': ../nwdbm.c:2737:36: warning: pointer targets in passing argument 2 of 'loc_delete_property' differ in signedness [-Wpointer-sign] loc_delete_property(objs[anz], (char*)NULL, props[anz], 1); ^ ../nwdbm.c:360:12: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' static int loc_delete_property(uint32 obj_id, ^~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'import_obj': ../nwdbm.c:2891:29: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(obj.name, name, 47); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'import_prop': ../nwdbm.c:2936:30: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(prop.name, name, 15); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'import_val': ../nwdbm.c:2977:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *pp=value; ^~~~~ ../nwdbm.c: In function 'bcreate_obj': ../nwdbm.c:3047:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *downstr(uint8 *ss); ^~~~~~~ ../nwdbm.c:3062:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "name.o", sizeof(buf)-1-len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3062:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "name.o", sizeof(buf)-1-len); ^~~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3063:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf1, name, sizeof(buf1)-1); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3063:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf1, name, sizeof(buf1)-1); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3064:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf1); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *downstr(uint8 *ss); ^~~~~~~ ../nwdbm.c:3068:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "typ.o", sizeof(buf)-1-len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3068:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "typ.o", sizeof(buf)-1-len); ^~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3073:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "f+s.o", sizeof(buf)-1-len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3073:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "f+s.o", sizeof(buf)-1-len); ^~~~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3033:8: warning: variable 'idlen' set but not used [-Wunused-but-set-variable] int idlen; ^~~~~ ../nwdbm.c: In function 'export_obj_to_dir': ../nwdbm.c:3087:29: warning: pointer targets in passing argument 2 of 'bcreate_obj' differ in signedness [-Wpointer-sign] bcreate_obj( o->id, o->name, (int) o->type, ^ ../nwdbm.c:3024:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static void bcreate_obj(uint32 id, char *name, int type, ^~~~~~~~~~~ ../nwdbm.c: In function 'bcreate_prop': ../nwdbm.c:3114:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *downstr(uint8 *ss); ^~~~~~~ ../nwdbm.c:3119:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf1); ^~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *downstr(uint8 *ss); ^~~~~~~ ../nwdbm.c:3125:11: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:57:15: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern uint8 *downstr(uint8 *ss); ^~~~~~~ ../nwdbm.c:3132:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "f+s", sizeof(buf)-1-len); ^~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c:3132:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(buf+len, "f+s", sizeof(buf)-1-len); ^~~~~ In file included from ../net.h:487:0, from ../nwdbm.c:30: ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwdbm.c: In function 'export_prop_to_dir': ../nwdbm.c:3146:46: warning: pointer targets in passing argument 3 of 'bcreate_prop' differ in signedness [-Wpointer-sign] bcreate_prop(p->obj_id, (int) p->id, p->name, ^ ../nwdbm.c:3095:13: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' static void bcreate_prop(uint32 id, int prop_id, char *name, ^~~~~~~~~~~~ ../nwdbm.c: In function 'bcreate_val': ../nwdbm.c:3165:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *p1 = buf1; ^~~~ ../nwdbm.c:3180:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(p1, "%02x", (int) *p++); ^~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwdbm.c:3162:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ In file included from ../net.h:69:0, from ../nwdbm.c:30: ../nwdbm.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../nwdbm.c: In function 'correct_user_dirs': ../nwdbm.c:2063:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void)chown(fndir, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:2078:11: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void)chown(fndir, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:2094:13: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void)chown(fndir, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:2111:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, fndir); ^~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'test_add_dir': ../nwdbm.c:2004:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(unixname, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:2021:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(unixname, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'bcreate_obj': ../nwdbm.c:3052:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:3065:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:3070:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:3075:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'bcreate_prop': ../nwdbm.c:3120:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c:3134:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'bcreate_val': ../nwdbm.c:3183:3: warning: ignoring return value of 'symlink', declared with attribute warn_unused_result [-Wunused-result] symlink(buf1, buf); ^~~~~~~~~~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwcrypt.c ../nwcrypt.c:123:13: warning: conflicting types for built-in function 'memset' extern void memset(void* p, int c, int size); ^~~~~~ ../nwcrypt.c: In function 'nw_decrypt_newpass': ../nwcrypt.c:298:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(newpwd, copy, 8); ^~~~~~ ../nwcrypt.c:298:3: warning: incompatible implicit declaration of built-in function 'memcpy' ../nwcrypt.c:298:3: note: include '' or provide a declaration of 'memcpy' ../nwcrypt.c:300:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(undecr, copy, 8); ^~~~~~ ../nwcrypt.c:300:2: note: include '' or provide a declaration of 'memcpy' ../nwcrypt.c: In function 'newpassencrypt': ../nwcrypt.c:311:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(copy, new, 8); ^~~~~~ ../nwcrypt.c:311:2: note: include '' or provide a declaration of 'memcpy' cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxlog.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../unxlog.c:18: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../net.h:69:0, from ../unxlog.c:18: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ ../unxlog.c: In function 'write_utmp': ../unxlog.c:75:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *)ut, sizeof(struct utmp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../sema.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../sema.c:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../sema.c: In function 'open_sema': ../sema.c:57:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] se->name=xmalloc(namlen); ^ In file included from ../net.h:69:0, from ../sema.c:22: ../sema.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ In file included from ../net.h:487:0, from ../sema.c:22: ../sema.c: In function 'handle_func_0x20': ../tools.h:77:23: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] # define XDPRINTF(x) xdprintf x ^~~~~~~~ ../sema.c:212:23: note: 'value' was declared here int value; ^~~~~ In file included from ../net.h:487:0, from ../sema.c:22: ../tools.h:77:23: warning: 'opencount' may be used uninitialized in this function [-Wmaybe-uninitialized] # define XDPRINTF(x) xdprintf x ^~~~~~~~ ../sema.c:213:23: note: 'opencount' was declared here int opencount; ^~~~~~~~~ In file included from ../net.h:487:0, from ../sema.c:22: ../tools.h:77:23: warning: 'opencount' may be used uninitialized in this function [-Wmaybe-uninitialized] # define XDPRINTF(x) xdprintf x ^~~~~~~~ ../sema.c:183:23: note: 'opencount' was declared here int opencount; ^~~~~~~~~ cc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqueue.c In file included from /usr/include/ctype.h:25:0, from ../net.h:27, from ../nwqueue.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ../nwqueue.c: In function 'r_w_queue_jobs': ../nwqueue.c:242:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] int fd=open(get_div_pathes(path, NULL, 4, "%x/queue", q->id), ^~~~ In file included from ../net.h:487:0, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); ^~~~~~~~~~~~~~ ../nwqueue.c: In function 'build_unix_queue_file': ../nwqueue.c:323:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf+q->queuedir_len, "/%08lX.%03d", jo->file_entry_time, jo->job_id); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwqueue.c: In function 'get_qj_file_size': ../nwqueue.c:604:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(buf, &stb)) ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwqueue.c: In function 'remove_queue_job_file': ../nwqueue.c:632:13: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!stat(buf, &stb)) { ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ ../nwqueue.c:633:23: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] int result=unlink(buf); ^~~ In file included from ../net.h:46:0, from ../nwqueue.c:19: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c: In function 'build_unix_queue_dir': ../nwqueue.c:875:40: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { ^ ../nwqueue.c:875:40: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:875:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { ^ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ In file included from ../net.h:37:0, from ../nwqueue.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c:878:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ In file included from ../net.h:37:0, from ../nwqueue.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ In file included from ../net.h:37:0, from ../nwqueue.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ In file included from ../net.h:37:0, from ../nwqueue.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from ../net.h:37, from ../nwqueue.c:19: ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:17: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^ ../nwqueue.c:878:23: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' In file included from ../net.h:487:0, from ../nwqueue.c:19: ../nwqueue.c: In function 'nw_creat_queue': ../tools.h:39:41: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-1) ^ ../nwqueue.c:914:7: note: in expansion of macro 'xstrcpy' xstrcpy(q_directory, "SYS:SYSTEM"); ^~~~~~~ ../tools.h:38:14: note: expected 'uint8 * {aka unsigned char *}' but argument is of type 'char *' extern int strmaxcpy(uint8 *dest, uint8 *source, int len); ^~~~~~~~~ ../nwqueue.c:918:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(path, "/%08lX.QDR", obj.id); ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8 * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ../nwqueue.c:922:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] q_directory, strlen(q_directory), 1); ^~~~~~~~~~~ In file included from ../net.h:37:0, from ../nwqueue.c:19: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'uint8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ ../nwqueue.c:922:16: warning: pointer targets in passing argument 9 of 'nw_new_obj_prop' differ in signedness [-Wpointer-sign] q_directory, strlen(q_directory), 1); ^~~~~~~~~~~ In file included from ../nwqueue.c:20:0: ../nwdbm.h:244:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern uint32 nw_new_obj_prop(uint32 wanted_id, ^~~~~~~~~~~~~~~ ../nwqueue.c:934:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] nwdbm_mkdir(get_div_pathes(q_directory, NULL, 4, "%x", obj.id), ^~~~~~~~~~~ In file included from ../net.h:487:0, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); ^~~~~~~~~~~~~~ ../nwqueue.c:941:19: warning: pointer targets in passing argument 1 of 'nwdbm_mkdir' differ in signedness [-Wpointer-sign] nwdbm_mkdir(q_directory, 0775, 0); ^~~~~~~~~~~ In file included from ../nwqueue.c:20:0: ../nwdbm.h:271:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nwdbm_mkdir(char *unixname, int mode, int flags); ^~~~~~~~~~~ ../nwqueue.c: In function 'nw_destroy_queue': ../nwqueue.c:961:22: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] get_div_pathes(buf, NULL, 4, "%x", obj.id); ^~~ In file included from ../net.h:487:0, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); ^~~~~~~~~~~~~~ ../nwqueue.c:962:19: warning: pointer targets in passing argument 1 of 'nwdbm_rmdir' differ in signedness [-Wpointer-sign] nwdbm_rmdir(buf); ^~~ In file included from ../nwqueue.c:20:0: ../nwdbm.h:272:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nwdbm_rmdir(char *path); ^~~~~~~~~~~ ../nwqueue.c:975:21: warning: pointer targets in passing argument 1 of 'nwdbm_rmdir' differ in signedness [-Wpointer-sign] nwdbm_rmdir(buf); ^~~ In file included from ../nwqueue.c:20:0: ../nwdbm.h:272:12: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern int nwdbm_rmdir(char *path); ^~~~~~~~~~~ ../nwqueue.c:979:15: warning: operation on 'result' may be undefined [-Wsequence-point] result=result=-0xd3; /* no rights */ ~~~~~~^~~~~~~~~~~~~ ../nwqueue.c:981:13: warning: operation on 'result' may be undefined [-Wsequence-point] result=result=-0xd3; /* no rights */ ~~~~~~^~~~~~~~~~~~~ ../nwqueue.c: In function 'init_queues': ../nwqueue.c:992:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] uint8 *wild="*"; ^~~ ../nwqueue.c:1004:32: warning: pointer targets in passing argument 1 of 'get_div_pathes' differ in signedness [-Wpointer-sign] nwdbm_mkdir(get_div_pathes(buf, NULL, 4, "%x", obj.id), ^~~ In file included from ../net.h:487:0, from ../nwqueue.c:19: ../tools.h:46:15: note: expected 'char *' but argument is of type 'uint8 * {aka unsigned char *}' extern char *get_div_pathes(char *buff, char *name, int what, char *p, ... ); ^~~~~~~~~~~~~~ In file included from ../net.h:69:0, from ../nwqueue.c:19: ../nwqueue.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined extern inline int t_sndudata(int fd, struct t_unitdata *ud); ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); ^~~~~~~~~~ In file included from /usr/include/fcntl.h:314:0, from /usr/include/sys/fcntl.h:1, from ../net.h:44, from ../nwqueue.c:19: In function 'open', inlined from 'r_w_queue_jobs' at ../nwqueue.c:242:9: /usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [nwqueue.o] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/RPM/BUILD/mars_nwe/obj' The errors are also reported in '/tmp/mars_nwe.err' ============================================================= make: *** [all] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/mars_nwe' error: Bad exit status from /usr/src/tmp/rpm-tmp.1594 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.1594 (%build) Command exited with non-zero status 1 15.09user 1.03system 0:15.63elapsed 103%CPU (0avgtext+0avgdata 41228maxresident)k 0inputs+0outputs (0major+176572minor)pagefaults 0swaps hsh-rebuild: rebuild of `mars_nwe-0.99-alt4.src.rpm' failed. Command exited with non-zero status 1 34.21user 5.92system 0:39.14elapsed 102%CPU (0avgtext+0avgdata 134100maxresident)k 48inputs+0outputs (0major+459286minor)pagefaults 0swaps