<86>Aug 15 02:58:03 userdel[33332]: delete user 'rooter' <86>Aug 15 02:58:03 userdel[33332]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 15 02:58:03 groupadd[33345]: group added to /etc/group: name=rooter, GID=591 <86>Aug 15 02:58:03 groupadd[33345]: group added to /etc/gshadow: name=rooter <86>Aug 15 02:58:03 groupadd[33345]: new group: name=rooter, GID=591 <86>Aug 15 02:58:03 useradd[33349]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Aug 15 02:58:03 userdel[33401]: delete user 'builder' <86>Aug 15 02:58:03 userdel[33401]: removed group 'builder' owned by 'builder' <86>Aug 15 02:58:03 userdel[33401]: removed shadow group 'builder' owned by 'builder' <86>Aug 15 02:58:03 groupadd[33415]: group added to /etc/group: name=builder, GID=592 <86>Aug 15 02:58:03 groupadd[33415]: group added to /etc/gshadow: name=builder <86>Aug 15 02:58:03 groupadd[33415]: new group: name=builder, GID=592 <86>Aug 15 02:58:03 useradd[33424]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Aug 15 02:58:05 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Aug 15 02:58:05 rpmi: libgdbm-devel-1.8.3-alt10 1454943313 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/mars_nwe-0.99-alt5.nosrc.rpm Installing mars_nwe-0.99-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.93288 + 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 + sed -e 's|/lib/|/lib64/|g' + chmod 755 mk.li + sed -e s/@MAX_CONNECTIONS@/16/ -e s/@MAX_FILES@/256/ -e 's|@PATHNAME_BINDERY@|/var/lib/mars_nwe/bd|' + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-config.h.in.gz + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.93288 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0' make: Entering directory '/usr/src/RPM/BUILD/mars_nwe' make[1]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwserv.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwserv.c:21: /usr/include/features.h:184: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, 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, 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, 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, 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, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../emutli.c:23: /usr/include/features.h:184: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, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:116: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/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:163:16: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, ^~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../net1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../net1.c:20: /usr/include/features.h:184: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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../tools.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../tools.c:20: /usr/include/features.h:184: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:20: 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, 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, 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 from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] wpath = path_bindery; ^ In file included from ../net.h:487, 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 from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] wpath = path_spool; ^ In file included from ../net.h:69, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../emutli1.c:30: /usr/include/stdio.h:400: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, from ../emutli1.c:39: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff2, "YES")) /* primary */ ^~~~~ In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff3, "INTERNAL")) /* internal net */ ^~~~~ In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../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 ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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 ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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 ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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 ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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: /usr/include/sys/socket.h:116: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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwroute.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwroute.c:19: /usr/include/features.h:184: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" ^~~~~~~ ../nwroute.c: In function 'insert_delete_server': ../nwroute.c:223:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ~~~~~~~~~~~~~^~~~~~ In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { ^~~~~ In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwroute.c: In function 'init_rip_buff': ../nwroute.c:308:13: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} 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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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:47: 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 ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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, 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, 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); ^~~~~~~~~~~~~~~~~~~~~~~~ ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^~~~~~~~~~~ In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] int dfound = !strcmp(nd->devname, rnetdevname); ^~~~~~~~~~~ In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from ../net.h:487, 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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwconn.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwconn.c:28: /usr/include/features.h:184: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, 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, 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:38: 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: ../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:41: 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: ../connect.h:284:12: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int nw_log_file(int lock_flag, ^~~~~~~~~~~ In file included from ../net.h:69, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../connect.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/features.h:184: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, 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, 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, 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, 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, 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: ../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, from ../connect.c:25: ../connect.c: In function 'new_dir_handle': ../connect.c:191:40: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ../tools.h:39:37: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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:191:52: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] dh->kpath = dh->unixname + xstrcpy(dh->unixname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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:197:74: 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: ../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, from ../connect.c:25: /usr/include/unistd.h:287: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, from ../connect.c:25: /usr/include/unistd.h:287: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, from ../connect.c:25: /usr/include/unistd.h:287: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, from ../connect.c:25: /usr/include/unistd.h:287: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: ../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, 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); ^~~~~~~~~ ../connect.c:446:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] } else xstrcpy(volname, (char*)nw_volumes[p->volume].sysname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 'func_search_entry': ../connect.c:574:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(entry, (char*)nwpath->fn); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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); ^~~~~~~~~ ../connect.c:577:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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, 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:611:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(nwpath->fn, (char*)dname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 'get_dir_entry': ../connect.c:646:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(entry, (char*)nwpath->fn); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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); ^~~~~~~~~ ../connect.c:648:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(xkpath, build_unix_name(nwpath, 1|2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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, 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: ../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, from ../connect.c:25: ../connect.c:699:37: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(nwpath->fn, (char*)dname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 'get_dh_entry': ../connect.c:790:23: 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, 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, 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:55: 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: ../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, 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:39: 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, 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, 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, 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, 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, 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, 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, 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 of 'char *' from 'uint8 *' {aka 'unsigned char *'} 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, 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, 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: ../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, from ../connect.c:25: ../connect.c: In function 'build_dir_name': ../connect.c:951:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(searchpath, (char*)ppp); /* save path */ ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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, 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, 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, from ../connect.c:25: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1044:39: 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, from ../connect.c:25: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../connect.c:1045:39: 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, from ../connect.c:25: /usr/include/string.h:384: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, 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:35: 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, from ../connect.c:25: /usr/include/string.h:384: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, 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, 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); ^~~~~~~~~ ../connect.c:1226:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:1259:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unsource, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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, 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); ^~~~~~~~~ ../connect.c:1314:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(undest, build_unix_name(&nws->destpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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: ../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: ../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: ../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, 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); ^~~~~~~~~ ../connect.c:1352:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(destpath, build_unix_name(&mvs.destpath, 1)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: ../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, 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); ^~~~~~~~~ ../connect.c:1487:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:1570:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: 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, from ../connect.c:25: /usr/include/unistd.h:834: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: ../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, from ../connect.c:25: /usr/include/unistd.h:825: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, from ../connect.c:25: /usr/include/unistd.h:825: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: ../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, from ../connect.c:25: /usr/include/string.h:384: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:449: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, from ../connect.c:25: /usr/include/sys/stat.h:317: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, from ../connect.c:25: /usr/include/sys/stat.h:317: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, from ../connect.c:25: /usr/include/unistd.h:473: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, from ../connect.c:25: /usr/include/sys/stat.h:280: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:449: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: ../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/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:180:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); ^~~~ ../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/sys/fcntl.h:1, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:180:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); ^~~~ ../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, from ../connect.c:25: /usr/include/unistd.h:473: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, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:226: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, from ../net.h:44, from ../connect.c:25: /usr/include/fcntl.h:226: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, from ../connect.c:25: /usr/include/unistd.h:473: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, from ../connect.c:25: /usr/include/sys/stat.h:280: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: /usr/include/utime.h:44: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: /usr/include/utime.h:44: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, 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); ^~~~~~~~~ ../connect.c:1747:21: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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, 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); ^~~~~~~~~ ../connect.c:1774:18: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(qfn, build_unix_name(&quellpath,0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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); ^~~~~~~~~ ../connect.c:1794:20: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(zpath, build_unix_name(&zielpath, 1)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: ../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: ../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, 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); ^~~~~~~~~ ../connect.c:1807:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unziel, build_unix_name(&zielpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: 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, from ../connect.c:25: /usr/include/string.h:384: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 from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] dir->path=xmalloc(len+2); ^ In file included from ../net.h:487, from ../connect.c:25: ../connect.c: In function 'nw_init_connect': ../connect.c:1895:27: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(nwlogin.path, (char*)login); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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, 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, 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: ../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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/stdlib.h:361: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, 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); ^~~~~~~~~ ../connect.c:2082:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 'nw_dir_get_vol_path': ../connect.c:2105:32: 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, from ../connect.c:25: /usr/include/string.h:384: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, from ../connect.c:25: ../connect.c: In function 'nw_alloc_dir_handle': ../connect.c:2171:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 'nw_open_dir_handle': ../connect.c:2212:59: 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: ../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, 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); ^~~~~~~~~ ../connect.c:2312:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:2335:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: In function 's_nw_scan_dir_info': ../connect.c:2370:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(dirname, (char*)wild); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, from ../connect.c:25: ../connect.c:2395:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(dirname, (char*)wild); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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:2406:49: 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: ../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: ../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: ../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: ../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: ../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, 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); ^~~~~~~~~ ../connect.c:2516:26: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: 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); ^~~~~~~~~ ../connect.c:2548:23: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 2)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: 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); ^~~~~~~~~ ../connect.c:2580:25: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname,build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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: ../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: /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:35: 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: ../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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../connect.c:25: /usr/include/sys/stat.h:449: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, 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); ^~~~~~~~~ ../connect.c:2699:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:2723:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:2742:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:2784:19: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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: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: ../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, 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); ^~~~~~~~~ ../connect.c:2820:23: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(unixname, build_unix_name(&nwpath, 0)); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ In file included from ../net.h:69, 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 'get_dir_attrib': ../connect.c:1207:3: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 255 [-Wstringop-truncation] strncpy((char*)d->name, (char*)nwpath->fn, sizeof(d->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../connect.c: In function 'get_file_attrib': ../connect.c:1186:3: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 255 [-Wstringop-truncation] strncpy((char*)f->name, (char*)nwpath->fn, sizeof(f->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 's_nw_scan_dir_info', inlined from 'nw_scan_dir_info' at ../connect.c:2435:10: ../connect.c:2389:11: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] strncpy((char*)subname, (char*)dirname, 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../namspace.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/features.h:184: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, from ../namspace.c:31: /usr/include/string.h:384: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: ../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: ../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:35: 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, from ../namspace.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:241:53: 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, from ../namspace.c:31: /usr/include/string.h:384: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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:449: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: ../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:22: 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, from ../namspace.c:31: /usr/include/unistd.h:802: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: ../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: ../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 ../net.h:46, from ../namspace.c:31: /usr/include/unistd.h:808:16: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern ssize_t readlink (const char *__restrict __path, ^~~~~~~~ ../namspace.c: In function 'add_hpath_to_nwpath': ../namspace.c:533:36: 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, from ../namspace.c:31: /usr/include/string.h:384: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, 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 from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] pp=strrchr((char*)nwpath->path, '/'); ^ ../namspace.c:617:15: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} 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, 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, 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: ../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: ../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: ../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:824:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ~~~~~~~~~^~~~~ In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../namspace.c:824:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] || strcmp(e->nwpath.path, nwpath->path)) { ~~~~~~^~~~~~ In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../namspace.c: In function 'build_base': ../namspace.c:894:39: 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, 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, from ../namspace.c:31: /usr/include/string.h:384: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 ../net.h:28, from ../namspace.c:31: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ In file included from ../namspace.c:31: ../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: ../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:35: 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, from ../namspace.c:31: /usr/include/string.h:384: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: ../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: ../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:40: 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, from ../namspace.c:31: /usr/include/string.h:384: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 'search_match': ../namspace.c:1525:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^~~~ In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../namspace.c:1525:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] flag = (!strcmp(name, entry) ^~~~~ In file included from ../net.h:37, from ../namspace.c:31: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../namspace.c:1537: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:449: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:27: 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:449: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, 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, 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: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: /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:26: 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: /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:48: 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, from ../namspace.c:31: /usr/include/string.h:384: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:361: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, 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, 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: ../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:41: 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: /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:30: 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: /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:48: 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, from ../namspace.c:31: /usr/include/string.h:384: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/stdlib.h:361: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, from ../namspace.c:31: /usr/include/string.h:384: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, from ../namspace.c:31: /usr/include/string.h:384: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, from ../namspace.c:31: /usr/include/string.h:384: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: ../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:56: 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, from ../namspace.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:2244:27: 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, from ../namspace.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../namspace.c:2276:44: 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, from ../namspace.c:31: /usr/include/string.h:384: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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../namspace.c:31: /usr/include/sys/stat.h:449: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: ../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: /usr/include/utime.h:44: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: /usr/include/utime.h:44: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, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwvolume.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/features.h:184: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 from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] vt->path=xmalloc(len+1); ^ ../nwvolume.c: In function 'volume_to_namespace_map': ../nwvolume.c:106:15: 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/stdlib.h:361: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, 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, 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, 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, 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:28: 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, 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 from 'char *' to 'uint8 *' {aka 'unsigned char *'} 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, 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, 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:36: 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:449: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: /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:29: 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, 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 ../net.h:46, from ../nwvolume.c:28: /usr/include/unistd.h:808:16: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern ssize_t readlink (const char *__restrict __path, ^~~~~~~~ ../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 ../net.h:46, from ../nwvolume.c:28: /usr/include/unistd.h:808:16: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern ssize_t readlink (const char *__restrict __path, ^~~~~~~~ ../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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwvolume.c:28: /usr/include/sys/stat.h:449: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, from ../nwvolume.c:28: /usr/include/string.h:384: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, 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, from ../nwvolume.c:28: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../nwvolume.c:702:14: 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, from ../nwvolume.c:28: /usr/include/string.h:384: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:19: 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, from ../nwvolume.c:28: /usr/include/string.h:384: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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfile.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/features.h:184: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, from ../nwfile.c:26: ../nwfile.c: In function 'new_file_handle': ../nwfile.c:110:13: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(fh->fname, (char*)unixname); ../tools.h:39:37: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwfile.c:110:22: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(fh->fname, (char*)unixname); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:449: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: ../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, from ../nwfile.c:26: /usr/include/string.h:252: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfile.c:26: /usr/include/sys/stat.h:449: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: ../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:37: 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: ../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, 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:22: 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, 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: ../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 ../net.h:37, from ../nwfile.c:26: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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, 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 ../net.h:28, from ../nwfile.c:26: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../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/sys/fcntl.h:1, from ../net.h:44, from ../nwfile.c:26: /usr/include/fcntl.h:180:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); ^~~~ In file included from ../net.h:69, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxfile.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/features.h:184: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../unxfile.c:20: /usr/include/sys/stat.h:449: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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, from ../unxfile.c:20: /usr/include/stdio.h:146: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, 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:29: 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, 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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqconn.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqconn.c:19: /usr/include/features.h:184: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, 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:216:57: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 300 [-Wformat-truncation=] snprintf(printcommand, sizeof(printcommand), "%s %s %s", buff, ^~ ~~~~ ../nwqconn.c:216:11: note: 'snprintf' output between 3 and 1050 bytes into a destination of size 300 snprintf(printcommand, sizeof(printcommand), "%s %s %s", buff, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qpa.banner_user_name, qpa.banner_file_name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nameos2.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nameos2.c:19: /usr/include/features.h:184: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: /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:39: 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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwfname.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwfname.c:23: /usr/include/features.h:184: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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwshare.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwshare.c:20: /usr/include/features.h:184: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, 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:28: 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: ../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:28: 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: ../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, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../extpipe.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../extpipe.c:19: /usr/include/features.h:184: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, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwattrib.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwattrib.c:21: /usr/include/features.h:184: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: ../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, 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); ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../trustee.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/features.h:184: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, from ../trustee.c:31: /usr/include/string.h:384: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:449: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: ../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: ../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, from ../trustee.c:31: /usr/include/unistd.h:802: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: ../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: ../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: ../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: ../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: ../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: ../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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uint8 *p=buf+l; ^~~ ../trustee.c:520:31: 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, 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:456: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: ../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, from ../trustee.c:31: /usr/include/string.h:384: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: ../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, from ../trustee.c:31: /usr/include/string.h:384: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, from ../trustee.c:31: /usr/include/string.h:384: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 of 'char *' from 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] char *p = unixname+len; ^~~~~~~~ ../trustee.c:648:18: warning: pointer targets in initialization of 'char *' from 'uint8 *' {aka 'unsigned char *'} 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:449: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 of 'char *' from 'uint8 *' {aka 'unsigned char *'} 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../trustee.c:31: /usr/include/sys/stat.h:456: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, 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); ^~~~~~~~~~ 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../ncpserv.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../ncpserv.c:19: /usr/include/features.h:184: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, 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); ^~~~~~~~~~ cc -o ../ncpserv ncpserv.o emutli.o net1.o tools.o -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwclient.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwclient.c:27: /usr/include/features.h:184: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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwbind.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwbind.c:35: /usr/include/features.h:184: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: ../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, 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, from ../nwbind.c:35: /usr/include/string.h:384: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, 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: ../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:35: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ In file included from ../net.h:487, 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: ../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, 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, 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:38: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:863:56: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ In file included from ../net.h:487, from ../nwbind.c:35: ../nwbind.c:892:42: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrmaxcpy(obj.name, (char*)(p+3), *(p+2)); ../tools.h:40:47: note: in definition of macro 'xstrmaxcpy' #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) ^ ../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, 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, 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, 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:56: 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, 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, 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, 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, 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, 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, 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, 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, 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, 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:36: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:1014:54: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:1033:36: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:1033:54: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../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, 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, 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:36: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:1058:54: 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ In file included from ../net.h:487, from ../nwbind.c:35: ../nwbind.c:1076:45: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrmaxcpy(obj.name, (char*)(p+4), (int) *(p+3)); ../tools.h:40:47: note: in definition of macro 'xstrmaxcpy' #define xstrmaxcpy(d, s, len) strmaxcpy((d), (s), min(sizeof(d)-1, (len)) ) ^ ../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:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(xdata->prop_name, ~~~~~^~~~~~~~~~~ In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwbind.c:1148:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] prop.name, sizeof(xdata->prop_name)); ~~~~^~~~~ In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../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: ../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, 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, 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, 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, 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 ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ ../nwbind.c:1760:48: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] l = 1 + sprintf(responsedata+k, revision, ~~~~~~~~~~~~^~ In file included from ../net.h:28, from ../nwbind.c:35: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../nwbind.c:1762:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(responsedata+k, revision_date); ~~~~~~~~~~~~^~ In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ ../nwbind.c:1764:39: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(responsedata+k, copyright); ~~~~~~~~~~~~^~ In file included from ../net.h:37, from ../nwbind.c:35: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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, 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, 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, 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, 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:32: 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: ../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, 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:28: 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, 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); ^~~~~~~~~ In file included from ../net.h:69, 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 'handle_fxx': ../nwbind.c:680:22: warning: 'strncpy' output may be truncated copying 47 bytes from a string of length 49 [-Wstringop-truncation] strncpy(xdata->servername, my_nwname, sizeof(xdata->servername)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwdbm.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/features.h:184: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:17: 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 ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwdbm.c:241:25: 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 ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../nwdbm.c: In function 'find_obj_id': ../nwdbm.c:290:27: 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, from ../nwdbm.c:30: /usr/include/string.h:139: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:290:36: 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, from ../nwdbm.c:30: /usr/include/string.h:139: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:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(obj->name, newname, 48); ~~~^~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:124:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../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 ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:124:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ ../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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, from ../nwdbm.c:30: /usr/include/string.h:384: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_create_obj': ../nwdbm.c:1110:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ~^~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwdbm.c:1110:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (o->type == obj->type && !strcmp(o->name, obj->name)){ ~~~^~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwdbm.c: In function 'nw_create_obj_prop': ../nwdbm.c:1165:47: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ~~~~^~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwdbm.c:1165:56: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (data.dptr != NULL && !strcmp(prop->name, p->name)){ ~^~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../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, 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, 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, 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, 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, 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, from ../nwdbm.c:30: ../nwdbm.c:1315:21: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ../tools.h:39:37: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwdbm.c:1315:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(pwstat.pw_passwd, pw->pw_passwd); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwdbm.c:1316:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(pwstat.pw_name, pw->pw_name); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwdbm.c:1317:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(pwstat.pw_dir, pw->pw_dir); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwdbm.c:1323:32: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ../tools.h:39:37: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../nwdbm.c:1323:47: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] if (spw) xstrcpy(pwstat.pw_passwd, spw->sp_pwdp); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../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, from ../nwdbm.c:30: /usr/include/string.h:384: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 ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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, from ../nwdbm.c:30: /usr/include/string.h:384: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: ../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: ../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: ../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: ../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: ../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:32: 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: ../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:43: 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: ../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:54: 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: ../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: ../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, 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, 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:29: 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, 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 from 'uint8 *' {aka 'unsigned char *'} to 'char *' 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, 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, 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, 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, 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, from ../nwdbm.c:30: /usr/include/string.h:384: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, from ../nwdbm.c:30: /usr/include/string.h:384: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, from ../nwdbm.c:30: /usr/include/string.h:384: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, from ../nwdbm.c:30: /usr/include/string.h:384: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:449: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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, from ../nwdbm.c:30: /usr/include/unistd.h:473: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 of 'char *' from 'uint8 *' {aka 'unsigned char *'} 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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:449: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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, from ../nwdbm.c:30: /usr/include/unistd.h:473: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, from ../nwdbm.c:30: /usr/include/string.h:384: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 ../net.h:28, from ../nwdbm.c:30: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../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, from ../nwdbm.c:30: /usr/include/sys/stat.h:317: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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, from ../nwdbm.c:30: /usr/include/unistd.h:473: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: /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:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pp+1, "login"); ~~^~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:449: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, from ../nwdbm.c:30: /usr/include/stdio.h:232: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, from ../nwdbm.c:30: /usr/include/unistd.h:473: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(pp+1, name); ~~^~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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 ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:121:14: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwdbm.c:30: /usr/include/sys/stat.h:456: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, from ../nwdbm.c:30: /usr/include/unistd.h:473: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, from ../nwdbm.c:30: /usr/include/sys/stat.h:280: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, from ../nwdbm.c:30: /usr/include/unistd.h:825: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, from ../nwdbm.c:30: /usr/include/unistd.h:802: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, from ../nwdbm.c:30: /usr/include/unistd.h:802: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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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); ^~~~~~~~~ ../nwdbm.c:2579:28: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] xstrcpy(nname, pw->pw_name); ../tools.h:39:42: note: in definition of macro 'xstrcpy' #define xstrcpy(d, s) strmaxcpy((d), (s), sizeof(d)-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); ^~~~~~~~~ ../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, 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, from ../nwdbm.c:30: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ../nwdbm.c:2657:48: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buff, ':')) ) { ^~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ ../nwdbm.c:2659:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwdbm.c:2659:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buff, sysname)) { ^~~~~~~ In file included from ../net.h:37, from ../nwdbm.c:30: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../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, 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, 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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] uint8 *pp=value; ^~~~~ ../nwdbm.c: In function 'bcreate_obj': ../nwdbm.c:3047:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ~~~^~~~ In file included from ../net.h:487, 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:16: 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, 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, 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, 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, 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, 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:16: 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, 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, 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:16: 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, 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, 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:30: 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:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ~~~^~~~ In file included from ../net.h:487, 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, 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:14: warning: pointer targets in passing argument 1 of 'downstr' differ in signedness [-Wpointer-sign] downstr(buf+len); ~~~^~~~ In file included from ../net.h:487, 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:16: 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, 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, 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:47: 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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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 ../net.h:28, from ../nwdbm.c:30: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../nwdbm.c:3162:8: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ In file included from ../net.h:69, 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 'nw_rename_obj': ../nwdbm.c:562:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] strncpy(obj->name, newname, 48); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'nw_update_oldpasswd', inlined from 'nw_set_enpasswd' at ../nwdbm.c:1573:14: ../nwdbm.c:1482:3: warning: 'memcpy' accessing 112 bytes at offsets 16 and 0 overlaps 96 bytes at offset 16 [-Wrestrict] memcpy(segm+16,segm,128-16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c: In function 'create_nw_db': ../nwdbm.c:1773:26: warning: '.dir' directive writing 4 bytes into a region of size between 0 and 299 [-Wformat-overflow=] sprintf(fna, "%s/%s.dir", pa, fn); ^~~~ ../nwdbm.c:1773:7: note: 'sprintf' output 6 or more bytes (assuming 305) into a destination of size 300 sprintf(fna, "%s/%s.dir", pa, fn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../nwdbm.c:1776:26: warning: '.pag' directive writing 4 bytes into a region of size between 0 and 299 [-Wformat-overflow=] sprintf(fna, "%s/%s.pag", pa, fn); ^~~~ ../nwdbm.c:1776:7: note: 'sprintf' output 6 or more bytes (assuming 305) into a destination of size 300 sprintf(fna, "%s/%s.pag", pa, fn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwcrypt.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../nwcrypt.c:123:13: warning: conflicting types for built-in function 'memset' [-Wbuiltin-declaration-mismatch] 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:122:1: +#include ../nwcrypt.c:298:3: memcpy(newpwd, copy, 8); ^~~~~~ ../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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../unxlog.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../unxlog.c:18: /usr/include/features.h:184: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" ^~~~~~~ ../unxlog.c: In function 'write_utmp': ../unxlog.c:70:14: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] (void)time(&(ut->ut_time)); ^~~~~~~~~~~~~~ In file included from ../net.h:51, from ../unxlog.c:18: /usr/include/time.h:75:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'} extern time_t time (time_t *__timer) __THROW; ~~~~~~~~^~~~~~~ In file included from ../net.h:69, from ../unxlog.c:18: ../unxlog.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); ^~~~~~~~~~ ../unxlog.c: In function 'write_utmp': ../unxlog.c:60:5: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 199 [-Wstringop-truncation] strncpy(ut->ut_id, buff, sizeof(ut->ut_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../sema.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../sema.c:22: /usr/include/features.h:184: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 from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] se->name=xmalloc(namlen); ^ In file included from ../net.h:69, 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, 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, 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, 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 -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwqueue.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/features.h:184: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, 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:16: 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 ../net.h:28, from ../nwqueue.c:19: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:449: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:428, from /usr/include/ctype.h:25, from ../net.h:27, from ../nwqueue.c:19: /usr/include/sys/stat.h:449: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, from ../nwqueue.c:19: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ ../nwqueue.c: In function 'build_unix_queue_dir': ../nwqueue.c:875:40: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { ^~~~ In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ ../nwqueue.c:875:32: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (result > -1 && NULL != (p=strchr(buf1, ':')) ) { ^ ../nwqueue.c:878:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^~~~ In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ ../nwqueue.c:878:23: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(buf1, sys_sysname)) { ^~~~~~~~~~~ In file included from ../net.h:37, from ../nwqueue.c:19: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from ../net.h:487, 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 ../net.h:28, from ../nwqueue.c:19: /usr/include/stdio.h:320:12: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ ../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, from ../nwqueue.c:19: /usr/include/string.h:384: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: ../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, 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: ../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, 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: ../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: ../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 of 'uint8 *' {aka 'unsigned char *'} from 'char *' 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, 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, 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); ^~~~~~~~~~ cc -o ../nwbind nwbind.o emutli.o net1.o tools.o nwdbm.o nwcrypt.o unxlog.o sema.o nwqueue.o unxfile.o -lgdbm -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../dbmtool.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../dbmtool.c:19: /usr/include/features.h:184: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, from ../dbmtool.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); ^~~~~~~~~~ cc -o ../dbmtool dbmtool.o emutli.o net1.o tools.o nwdbm.o nwcrypt.o unxlog.o sema.o nwqueue.o unxfile.o -lgdbm -lcrypt cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../ftrustee.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../ftrustee.c:19: /usr/include/features.h:184: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" ^~~~~~~ ../ftrustee.c: In function 'get_unix_access_rights': ../ftrustee.c:130: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, from ../ftrustee.c:19: /usr/include/unistd.h:287: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)); ^~~~~~ ../ftrustee.c:132: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, from ../ftrustee.c:19: /usr/include/unistd.h:287: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)); ^~~~~~ ../ftrustee.c:134: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, from ../ftrustee.c:19: /usr/include/unistd.h:287: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)); ^~~~~~ ../ftrustee.c:137: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, from ../ftrustee.c:19: /usr/include/unistd.h:287: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)); ^~~~~~ ../ftrustee.c: In function 'do_export_trustees': ../ftrustee.c:204:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(fn+v->unixnamlen, ".trustees", 300-v->unixnamlen-1); ~~^~~~~~~~~~~~~~ In file included from ../net.h:487, from ../ftrustee.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); ^~~~~~~~~ ../ftrustee.c:204:35: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] strmaxcpy(fn+v->unixnamlen, ".trustees", 300-v->unixnamlen-1); ^~~~~~~~~~~ In file included from ../net.h:487, from ../ftrustee.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); ^~~~~~~~~ In file included from ../net.h:69, from ../ftrustee.c:19: ../ftrustee.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 ../ftrustee ftrustee.o tools.o nwfname.o unxfile.o nwvolume.o nwattrib.o trustee.o -lcrypt make[2]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' ******************************************************** don't forget to do a 'make install' as root ! please take a look into doc/NEWS ! ------01-Sep-00--- 0.99.pl20 --------- - section 1: new volume flag 'x' to work with unix ACLs ------23-Jul-98--- 0.99.pl12 --------- - changed default bindery directory location: /etc -> /var/nwserv/db ( section 45 ) ******************************************************** make: Leaving directory '/usr/src/RPM/BUILD/mars_nwe' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.80012 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/mars_nwe-buildroot + : + /bin/rm -rf -- /usr/src/tmp/mars_nwe-buildroot + cd mars_nwe + install -d -m 0700 /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/login /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/mail /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/print /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/public /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/sys/system /usr/src/tmp/mars_nwe-buildroot/var/lib/mars_nwe/bd + install -d -m 0755 /usr/src/tmp/mars_nwe-buildroot/var/run /usr/src/tmp/mars_nwe-buildroot/var/log /usr/src/tmp/mars_nwe-buildroot/etc /usr/src/tmp/mars_nwe-buildroot/usr/sbin + : + chmod 0644 /usr/src/tmp/mars_nwe-buildroot/var/log/mars_nwe.log + : + chmod 0644 /usr/src/tmp/mars_nwe-buildroot/var/run/mars_nwe.routes + install -m 0644 examples/nwserv.stations /usr/src/tmp/mars_nwe-buildroot/etc/ + install -s -m 0755 nwserv nwconn ncpserv nwclient nwbind /usr/src/tmp/mars_nwe-buildroot/usr/sbin/ + bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-nwserv.conf.bz2 + chmod 0600 /usr/src/tmp/mars_nwe-buildroot/etc/nwserv.conf + install -d -m 0755 /usr/src/tmp/mars_nwe-buildroot/etc/rc.d/init.d + install -d -m 0750 /usr/src/tmp/mars_nwe-buildroot/etc/logrotate.d + gzip -dc /usr/src/RPM/SOURCES/mars_nwe.init.gz + chmod 0755 /usr/src/tmp/mars_nwe-buildroot/etc/rc.d/init.d/mars_nwe + install -m 0644 /usr/src/RPM/SOURCES/mars_nwe.log /usr/src/tmp/mars_nwe-buildroot/etc/logrotate.d/mars_nwe.log + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/mars_nwe-buildroot (auto) Verifying and fixing files in /usr/src/tmp/mars_nwe-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/mars_nwe-buildroot/ (default) Compressing files in /usr/src/tmp/mars_nwe-buildroot (auto) Adjusting library links in /usr/src/tmp/mars_nwe-buildroot ./var/lib: Verifying ELF objects in /usr/src/tmp/mars_nwe-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: mars_nwe-0.99-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.54282 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + DOCDIR=/usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + export DOCDIR + rm -rf /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + /bin/mkdir -p /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + cp -prL README doc examples /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + chmod -R go-w /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + chmod -R a+rX /usr/src/tmp/mars_nwe-buildroot/usr/share/doc/mars_nwe-0.99 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uwi9WL find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yCRfHC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QNVvWz Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.k9bcdB Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.12)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypt.so.1()(64bit) >= set:ihuTa, libcrypt.so.1(XCRYPT_2.0)(64bit), libgdbm.so.3()(64bit) >= set:ifk0Qd8HlYJrqZxQWG0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Conflicts: mars-nwe Obsoletes: mars-nwe Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cvkJBF Wrote: /usr/src/RPM/RPMS/x86_64/mars_nwe-0.99-alt5.x86_64.rpm 11.52user 1.19system 0:28.84elapsed 44%CPU (0avgtext+0avgdata 54672maxresident)k 0inputs+0outputs (0major+558441minor)pagefaults 0swaps 15.04user 3.13system 0:36.89elapsed 49%CPU (0avgtext+0avgdata 113056maxresident)k 0inputs+0outputs (0major+856210minor)pagefaults 0swaps --- mars_nwe-0.99-alt5.x86_64.rpm.repo 2017-02-22 14:21:40.000000000 +0000 +++ mars_nwe-0.99-alt5.x86_64.rpm.hasher 2019-08-15 02:58:38.174022408 +0000 @@ -75,3 +75,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /etc/logrotate.d @@ -89,6 +88,6 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libcrypt.so.1()(64bit) >= set:hguT2 +Requires: libcrypt.so.1()(64bit) >= set:ihuTa Requires: rpmlib(SetVersions) -Requires: libcrypt.so.1(GLIBC_2.2.5)(64bit) -Requires: libgdbm.so.3()(64bit) >= set:jga0W6krcfC4LZJTKpL2 +Requires: libcrypt.so.1(XCRYPT_2.0)(64bit) +Requires: libgdbm.so.3()(64bit) >= set:ifk0Qd8HlYJrqZxQWG0 Requires: rtld(GNU_HASH)