===> Building for lsh-2.0.4nb2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4' Making all in src gmake[2]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' (echo '/* Automatically generated from environ.h.in, by make. */' ; \ sed -e 's,@''prefix@,/opt/pkg,' \ -e 's,@''bindir@,/opt/pkg/bin,' \ -e 's,@''sbindir@,/opt/pkg/sbin,' \ -e 's,@''libexecdir@,/opt/pkg/libexec,' \ -e 's,@''sysconfdir@,/opt/pkg/etc,' \ < /Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/environ.h.in) >environ.hT test -s environ.hT && mv -f environ.hT environ.h /opt/pkg/bin/gmake all-recursive gmake[3]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' Making all in argp gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in . gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-ba.o -MD -MP -MF .deps/argp-ba.Tpo -c -o argp-ba.o argp-ba.c mv -f .deps/argp-ba.Tpo .deps/argp-ba.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c mv -f .deps/argp-eexst.Tpo .deps/argp-eexst.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-fmtstream.o -MD -MP -MF .deps/argp-fmtstream.Tpo -c -o argp-fmtstream.o argp-fmtstream.c mv -f .deps/argp-fmtstream.Tpo .deps/argp-fmtstream.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-help.o -MD -MP -MF .deps/argp-help.Tpo -c -o argp-help.o argp-help.c argp-help.c:239:15: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] val = atoi (arg); ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ argp-help.c:247:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && strncmp (var, un->name, var_len) == 0) ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ argp-help.c:1739:4: warning: No reasonable value to return [-W#warnings] # warning No reasonable value to return ^ 3 warnings generated. mv -f .deps/argp-help.Tpo .deps/argp-help.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-parse.o -MD -MP -MF .deps/argp-parse.Tpo -c -o argp-parse.o argp-parse.c mv -f .deps/argp-parse.Tpo .deps/argp-parse.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pv.o -MD -MP -MF .deps/argp-pv.Tpo -c -o argp-pv.o argp-pv.c mv -f .deps/argp-pv.Tpo .deps/argp-pv.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pvh.o -MD -MP -MF .deps/argp-pvh.Tpo -c -o argp-pvh.o argp-pvh.c mv -f .deps/argp-pvh.Tpo .deps/argp-pvh.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT mempcpy.o -MD -MP -MF .deps/mempcpy.Tpo -c -o mempcpy.o mempcpy.c mv -f .deps/mempcpy.Tpo .deps/mempcpy.Po clang -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT strchrnul.o -MD -MP -MF .deps/strchrnul.Tpo -c -o strchrnul.o strchrnul.c strchrnul.c:14:7: warning: no previous prototype for function 'strchrnul' [-Wmissing-prototypes] char *strchrnul(const char *s, int c) ^ strchrnul.c:14:1: note: declare 'static' if the function is not intended to be used outside of this translation unit char *strchrnul(const char *s, int c) ^ static 1 warning generated. mv -f .deps/strchrnul.Tpo .deps/strchrnul.Po rm -f libargp.a ar cru libargp.a argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o mempcpy.o strchrnul.o ranlib libargp.a gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in testsuite gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp/testsuite' clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex1.o -MD -MP -MF .deps/ex1.Tpo -c -o ex1.o ex1.c mv -f .deps/ex1.Tpo .deps/ex1.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o ex1 ex1.o ../libargp.a clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex3.o -MD -MP -MF .deps/ex3.Tpo -c -o ex3.o ex3.c mv -f .deps/ex3.Tpo .deps/ex3.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o ex3 ex3.o ../libargp.a clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex4.o -MD -MP -MF .deps/ex4.Tpo -c -o ex4.o ex4.c mv -f .deps/ex4.Tpo .deps/ex4.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o ex4 ex4.o ../libargp.a gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in rsync gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync' clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT generate.o -MD -MP -MF .deps/generate.Tpo -c -o generate.o generate.c mv -f .deps/generate.Tpo .deps/generate.Po clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT receive.o -MD -MP -MF .deps/receive.Tpo -c -o receive.o receive.c mv -f .deps/receive.Tpo .deps/receive.Po clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT checksum.o -MD -MP -MF .deps/checksum.Tpo -c -o checksum.o checksum.c mv -f .deps/checksum.Tpo .deps/checksum.Po clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c mv -f .deps/send.Tpo .deps/send.Po rm -f librsync.a ar cru librsync.a generate.o receive.o checksum.o send.o ranlib librsync.a gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync' Making all in nettle gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' /opt/pkg/bin/gmake all-here gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aesdata.o -MD -MP -MF aesdata.o.d -fPIC -c aesdata.c \ && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib aesdata.o -lgmp -o aesdata clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT desdata.o -MD -MP -MF desdata.o.d -fPIC -c desdata.c \ && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib desdata.o -lgmp -o desdata clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT shadata.o -MD -MP -MF shadata.o.d -fPIC -c shadata.c \ && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib shadata.o -lgmp -lm -o shadata clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -fPIC -c aes-decrypt-internal.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt.o -MD -MP -MF aes-decrypt.o.d -fPIC -c aes-decrypt.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt-internal.o -MD -MP -MF aes-encrypt-internal.o.d -fPIC -c aes-encrypt-internal.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt.o -MD -MP -MF aes-encrypt.o.d -fPIC -c aes-encrypt.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt-table.o -MD -MP -MF aes-encrypt-table.o.d -fPIC -c aes-encrypt-table.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-set-encrypt-key.o -MD -MP -MF aes-set-encrypt-key.o.d -fPIC -c aes-set-encrypt-key.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-set-decrypt-key.o -MD -MP -MF aes-set-decrypt-key.o.d -fPIC -c aes-set-decrypt-key.c \ && true aes-set-decrypt-key.c:144:12: warning: variable 'nkeys' set but not used [-Wunused-but-set-variable] unsigned nkeys; ^ 1 warning generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-meta.o -MD -MP -MF aes-meta.o.d -fPIC -c aes-meta.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour.o -MD -MP -MF arcfour.o.d -fPIC -c arcfour.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-crypt.o -MD -MP -MF arcfour-crypt.o.d -fPIC -c arcfour-crypt.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-meta.o -MD -MP -MF arcfour-meta.o.d -fPIC -c arcfour-meta.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo.o -MD -MP -MF arctwo.o.d -fPIC -c arctwo.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo-meta.o -MD -MP -MF arctwo-meta.o.d -fPIC -c arctwo-meta.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base16-encode.o -MD -MP -MF base16-encode.o.d -fPIC -c base16-encode.c \ && true base16-encode.c:56:15: warning: expression result unused [-Wunused-value] for (i = 0, dst; iatom_length ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp.c:314:13: warning: passing 'const uint8_t *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(types[i]) == iterator->atom_length ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp.c:358:16: warning: passing 'const uint8_t *const' (aka 'const unsigned char *const') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(keys[i]) == iterator->atom_length ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 3 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-format.o -MD -MP -MF sexp-format.o.d -fPIC -c sexp-format.c \ && true sexp-format.c:101:59: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned output_length = format_string(buffer, length, start); ^~~~~ sexp-format.c:76:40: note: passing argument to parameter 's' here unsigned length, const uint8_t *s) ^ sexp-format.c:174:49: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output_length = format_string(buffer, length, s); ^ sexp-format.c:76:40: note: passing argument to parameter 's' here unsigned length, const uint8_t *s) ^ sexp-format.c:207:49: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output_length = format_string(buffer, length, s); ^ sexp-format.c:76:40: note: passing argument to parameter 's' here unsigned length, const uint8_t *s) ^ sexp-format.c:237:54: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (buffer && !nettle_buffer_write(buffer, length, s)) ^ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ 4 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-transport.o -MD -MP -MF sexp-transport.o.d -fPIC -c sexp-transport.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-transport-format.o -MD -MP -MF sexp-transport-format.o.d -fPIC -c sexp-transport-format.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum.o -MD -MP -MF bignum.o.d -fPIC -c bignum.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum-random.o -MD -MP -MF bignum-random.o.d -fPIC -c bignum-random.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2bignum.o -MD -MP -MF sexp2bignum.o.d -fPIC -c sexp2bignum.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1.o -MD -MP -MF pkcs1.o.d -fPIC -c pkcs1.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-rsa-md5.o -MD -MP -MF pkcs1-rsa-md5.o.d -fPIC -c pkcs1-rsa-md5.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-rsa-sha1.o -MD -MP -MF pkcs1-rsa-sha1.o.d -fPIC -c pkcs1-rsa-sha1.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa.o -MD -MP -MF rsa.o.d -fPIC -c rsa.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -fPIC -c rsa-sign.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -fPIC -c rsa-verify.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-md5-sign.o -MD -MP -MF rsa-md5-sign.o.d -fPIC -c rsa-md5-sign.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-md5-verify.o -MD -MP -MF rsa-md5-verify.o.d -fPIC -c rsa-md5-verify.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sha1-sign.o -MD -MP -MF rsa-sha1-sign.o.d -fPIC -c rsa-sha1-sign.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sha1-verify.o -MD -MP -MF rsa-sha1-verify.o.d -fPIC -c rsa-sha1-verify.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -fPIC -c rsa-encrypt.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -fPIC -c rsa-decrypt.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -fPIC -c rsa-keygen.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-compat.o -MD -MP -MF rsa-compat.o.d -fPIC -c rsa-compat.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2sexp.o -MD -MP -MF rsa2sexp.o.d -fPIC -c rsa2sexp.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2rsa.o -MD -MP -MF sexp2rsa.o.d -fPIC -c sexp2rsa.c \ && true sexp2rsa.c:58:9: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:14: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:19: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:24: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:29: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:34: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:39: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:58:44: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "n", "e", "d", "p", "q", "a", "b", "c" }; ^~~ sexp2rsa.c:98:9: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; ^~~~~ sexp2rsa.c:98:16: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; ^~~~~~~~~~~ sexp2rsa.c:98:29: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; ^~~~~~~~~~~~~~~~ sexp2rsa.c:103:37: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!sexp_iterator_check_type(&i, priv ? "private-key" : "public-key")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ 12 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa.o -MD -MP -MF dsa.o.d -fPIC -c dsa.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-sign.o -MD -MP -MF dsa-sign.o.d -fPIC -c dsa-sign.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-verify.o -MD -MP -MF dsa-verify.o.d -fPIC -c dsa-verify.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-keygen.o -MD -MP -MF dsa-keygen.o.d -fPIC -c dsa-keygen.c \ && true dsa-keygen.c:71:12: warning: variable 'b' set but not used [-Wunused-but-set-variable] unsigned b; ^ 1 warning generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2dsa.o -MD -MP -MF sexp2dsa.o.d -fPIC -c sexp2dsa.c \ && true sexp2dsa.c:58:9: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "p", "q", "g", "y", "x" }; ^~~ sexp2dsa.c:58:14: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "p", "q", "g", "y", "x" }; ^~~ sexp2dsa.c:58:19: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "p", "q", "g", "y", "x" }; ^~~ sexp2dsa.c:58:24: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "p", "q", "g", "y", "x" }; ^~~ sexp2dsa.c:58:29: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = { "p", "q", "g", "y", "x" }; ^~~ sexp2dsa.c:85:37: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, priv ? "private-key" : "public-key") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ sexp2dsa.c:86:37: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "dsa") ^~~~~ ./sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ sexp2dsa.c:94:45: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] static const uint8_t * const names[2] = { "r", "s" }; ^~~ sexp2dsa.c:94:50: warning: initializing 'const uint8_t *const' (aka 'const unsigned char *const') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] static const uint8_t * const names[2] = { "r", "s" }; ^~~ 9 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pgp-encode.o -MD -MP -MF pgp-encode.o.d -fPIC -c pgp-encode.c \ && true pgp-encode.c:263:11: warning: unused variable 'digest16' [-Wunused-variable] uint8_t digest16[2]; ^ pgp-encode.c:369:10: warning: passing 'char [11]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (! (WRITE(buffer, "BEGIN PGP ") ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp-encode.c:351:68: note: expanded from macro 'WRITE' #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) ^~~ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ pgp-encode.c:370:6: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && WRITE(buffer, tag) ^~~~~~~~~~~~~~~~~~ pgp-encode.c:351:68: note: expanded from macro 'WRITE' #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) ^~~ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ pgp-encode.c:371:6: warning: passing 'char [19]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && WRITE(buffer, "\nComment: Nettle\n\n"))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp-encode.c:351:68: note: expanded from macro 'WRITE' #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) ^~~ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ pgp-encode.c:426:11: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (WRITE(buffer, "\nBEGIN PGP ") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp-encode.c:351:68: note: expanded from macro 'WRITE' #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) ^~~ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ pgp-encode.c:427:7: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && WRITE(buffer, tag) ^~~~~~~~~~~~~~~~~~ pgp-encode.c:351:68: note: expanded from macro 'WRITE' #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) ^~~ ./buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ 6 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2openpgp.o -MD -MP -MF rsa2openpgp.o.d -fPIC -c rsa2openpgp.c \ && true rsa2openpgp.c:83:47: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!pgp_put_userid(buffer, strlen(userid), userid)) ^~~~~~ ./pgp.h:114:24: note: passing argument to parameter 'name' here const uint8_t *name); ^ rsa2openpgp.c:69:12: warning: unused variable 'key_length' [-Wunused-variable] unsigned key_length; ^ 2 warnings generated. clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT der-iterator.o -MD -MP -MF der-iterator.o.d -fPIC -c der-iterator.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT der2rsa.o -MD -MP -MF der2rsa.o.d -fPIC -c der2rsa.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer.o -MD -MP -MF buffer.o.d -fPIC -c buffer.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer-init.o -MD -MP -MF buffer-init.o.d -fPIC -c buffer-init.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT realloc.o -MD -MP -MF realloc.o.d -fPIC -c realloc.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-internal.o -MD -MP -MF nettle-internal.o.d -fPIC -c nettle-internal.c \ && true clang -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT memxor.o -MD -MP -MF memxor.o.d -fPIC -c memxor.c \ && true rm -f libnettle.a ar cru libnettle.a aes-decrypt-internal.o aes-decrypt.o aes-encrypt-internal.o aes-encrypt.o aes-encrypt-table.o aes-set-encrypt-key.o aes-set-decrypt-key.o aes-meta.o arcfour.o arcfour-crypt.o arcfour-meta.o arctwo.o arctwo-meta.o base16-encode.o base16-decode.o base16-meta.o base64-encode.o base64-decode.o base64-meta.o cast128.o cast128-meta.o blowfish.o cbc.o ctr.o des.o des3.o des-compat.o hmac.o hmac-md5.o hmac-sha1.o hmac-sha256.o knuth-lfib.o md2.o md2-meta.o md4.o md4-meta.o md5.o md5-compress.o md5-compat.o md5-meta.o sha1.o sha1-compress.o sha1-meta.o sha256.o sha256-meta.o serpent.o serpent-meta.o twofish.o twofish-meta.o yarrow256.o yarrow_key_event.o sexp.o sexp-format.o sexp-transport.o sexp-transport-format.o bignum.o bignum-random.o sexp2bignum.o pkcs1.o pkcs1-rsa-md5.o pkcs1-rsa-sha1.o rsa.o rsa-sign.o rsa-verify.o rsa-md5-sign.o rsa-md5-verify.o rsa-sha1-sign.o rsa-sha1-verify.o rsa-encrypt.o rsa-decrypt.o rsa-keygen.o rsa-compat.o rsa2sexp.o sexp2rsa.o dsa.o dsa-sign.o dsa-verify.o dsa-keygen.o sexp2dsa.o pgp-encode.o rsa2openpgp.o der-iterator.o der2rsa.o buffer.o buffer-init.o realloc.o nettle-internal.o memxor.o ranlib libnettle.a gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' set -e; for d in tools testsuite examples; do \ echo "Making all in $d" ; (cd $d && /opt/pkg/bin/gmake all); done Making all in tools gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/tools' clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-conv.o -MD -MP -MF sexp-conv.o.d -c sexp-conv.c && true In file included from sexp-conv.c:39: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void 1 warning generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT input.o -MD -MP -MF input.o.d -c input.c && true clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT output.o -MD -MP -MF output.o.d -c output.c && true output.c:179:5: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (mode == SEXP_ADVANCED) ? "\"\"": "0:"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.c:117:40: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data) ^ 1 warning generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT parse.o -MD -MP -MF parse.o.d -c parse.c && true clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true In file included from getopt.c:104: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void getopt.c:211:21: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern char *getenv (); ^ void getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] int argc; ^ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] char *const *argv; ^ getopt.c:984:1: warning: no previous prototype for function 'getopt' [-Wmissing-prototypes] getopt (argc, argv, optstring) ^ ./getopt.h:146:12: note: this declaration is not a prototype; add parameter declarations to make it one extern int getopt (); ^ getopt.c:984:8: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] getopt (argc, argv, optstring) ^ 6 warnings generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.c && true In file included from getopt1.c:24: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void 1 warning generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT misc.o -MD -MP -MF misc.o.d -c misc.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sexp-conv.o input.o output.o parse.o getopt.o getopt1.o misc.o -lnettle -lgmp -o sexp-conv clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-lfib-stream.o -MD -MP -MF nettle-lfib-stream.o.d -c nettle-lfib-stream.c && true nettle-lfib-stream.c:73:40: warning: passing 'char [500]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] knuth_lfib_random(&ctx, BUFSIZE, buffer); ^~~~~~ ../knuth-lfib.h:65:26: note: passing argument to parameter 'dst' here unsigned n, uint8_t *dst); ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib nettle-lfib-stream.o -lnettle -lgmp -o nettle-lfib-stream clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-conv.o -MD -MP -MF pkcs1-conv.o.d -c pkcs1-conv.c && true In file included from pkcs1-conv.c:39: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib pkcs1-conv.o getopt.o getopt1.o misc.o -lnettle -lgmp -o pkcs1-conv gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/tools' Making all in testsuite gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-test.o -MD -MP -MF aes-test.o.d -c aes-test.c && true clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT testutils.o -MD -MP -MF testutils.o.d -c testutils.c && true testutils.c:378:34: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned ascii_length = strlen(ascii); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ testutils.c:401:29: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (0x33 != buffer[strlen(ascii)]) ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ testutils.c:552:18: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SIGN(key, md5, "The magic words are squeamish ossifrage", signature); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:437:30: note: expanded from macro 'SIGN' hash##_update(&hash, LDATA(msg)); \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../md5.h:56:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:566:7: warning: passing 'char [41]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magick words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../md5.h:56:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:571:8: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../md5.h:56:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:578:7: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../md5.h:56:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:595:19: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SIGN(key, sha1, "The magic words are squeamish ossifrage", signature); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:437:30: note: expanded from macro 'SIGN' hash##_update(&hash, LDATA(msg)); \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:609:7: warning: passing 'char [41]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magick words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:614:8: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:621:7: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:442:30: note: expanded from macro 'VERIFY' hash##_update(&hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:718:28: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sha1_update(&sha1, LDATA("The magic words are squeamish ossifrage")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:739:4: warning: passing 'char [41]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magick words are squeamish ossifrage", &signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:702:27: note: expanded from macro 'DSA_VERIFY' sha1_update(hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:744:4: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", &signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:702:27: note: expanded from macro 'DSA_VERIFY' sha1_update(hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ testutils.c:751:4: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "The magic words are squeamish ossifrage", &signature)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.c:702:27: note: expanded from macro 'DSA_VERIFY' sha1_update(hash, LDATA(msg)), \ ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../sha.h:61:21: note: passing argument to parameter 'data' here const uint8_t *data); ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib aes-test.o testutils.o -lnettle -lgmp -o aes-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-test.o -MD -MP -MF arcfour-test.o.d -c arcfour-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib arcfour-test.o testutils.o -lnettle -lgmp -o arcfour-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo-test.o -MD -MP -MF arctwo-test.o.d -c arctwo-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib arctwo-test.o testutils.o -lnettle -lgmp -o arctwo-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT blowfish-test.o -MD -MP -MF blowfish-test.o.d -c blowfish-test.c && true blowfish-test.c:10:12: warning: passing 'char [27]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 26, "abcdefghijklmnopqrstuvwxyz", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:52:21: note: passing argument to parameter 'key' here const uint8_t *key, ^ blowfish-test.c:11:29: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] BLOWFISH_BLOCK_SIZE, "BLOWFISH", ^~~~~~~~~~ ./testutils.h:54:21: note: passing argument to parameter 'cleartext' here const uint8_t *cleartext, ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib blowfish-test.o testutils.o -lnettle -lgmp -o blowfish-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT cast128-test.o -MD -MP -MF cast128-test.o.d -c cast128-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib cast128-test.o testutils.o -lnettle -lgmp -o cast128-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base16-test.o -MD -MP -MF base16-test.o.d -c base16-test.c && true base16-test.c:17:33: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 0, "", ""); ^~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:17:37: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 0, "", ""); ^~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:18:33: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 1, "H", "48"); ^~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:18:38: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 1, "H", "48"); ^~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:19:33: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 2, "He", "4865"); ^~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:19:39: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 2, "He", "4865"); ^~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:20:33: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 3, "Hel", "48656c"); ^~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:20:40: warning: passing 'char [7]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 3, "Hel", "48656c"); ^~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:21:33: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 4, "Hell", "48656c6c"); ^~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:21:41: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 4, "Hell", "48656c6c"); ^~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:22:33: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 5, "Hello", "48656c6c6f"); ^~~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:22:42: warning: passing 'char [11]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 5, "Hello", "48656c6c6f"); ^~~~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base16-test.c:23:33: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 6, "Hello", "48656c6c6f00"); ^~~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base16-test.c:23:42: warning: passing 'char [13]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base16, 6, "Hello", "48656c6c6f00"); ^~~~~~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib base16-test.o testutils.o -lnettle -lgmp -o base16-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base64-test.o -MD -MP -MF base64-test.o.d -c base64-test.c && true base64-test.c:22:33: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 0, "", ""); ^~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:22:37: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 0, "", ""); ^~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:23:33: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 1, "H", "SA=="); ^~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:23:38: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 1, "H", "SA=="); ^~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:24:33: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 2, "He", "SGU="); ^~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:24:39: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 2, "He", "SGU="); ^~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:25:33: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 3, "Hel", "SGVs"); ^~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:25:40: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 3, "Hel", "SGVs"); ^~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:26:33: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 4, "Hell", "SGVsbA=="); ^~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:26:41: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 4, "Hell", "SGVsbA=="); ^~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:27:33: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 5, "Hello", "SGVsbG8="); ^~~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:27:42: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 5, "Hello", "SGVsbG8="); ^~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:28:33: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 6, "Hello", "SGVsbG8A"); ^~~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:28:42: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 6, "Hello", "SGVsbG8A"); ^~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ base64-test.c:29:33: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 4, "\xff\xff\xff\xff", "/////w=="); ^~~~~~~~~~~~~~~~~~ ./testutils.h:98:27: note: passing argument to parameter 'data' here const uint8_t *data, ^ base64-test.c:29:53: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_armor(&nettle_base64, 4, "\xff\xff\xff\xff", "/////w=="); ^~~~~~~~~~ ./testutils.h:99:27: note: passing argument to parameter 'ascii' here const uint8_t *ascii); ^ 16 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib base64-test.o testutils.o -lnettle -lgmp -o base64-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des-test.o -MD -MP -MF des-test.o.d -c des-test.c && true des-test.c:34:24: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DES_BLOCK_SIZE, "Now is t", ^~~~~~~~~~ ./testutils.h:54:21: note: passing argument to parameter 'cleartext' here const uint8_t *cleartext, ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib des-test.o testutils.o -lnettle -lgmp -o des-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des3-test.o -MD -MP -MF des3-test.o.d -c des3-test.c && true des3-test.c:17:24: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DES_BLOCK_SIZE, "Now is t", ^~~~~~~~~~ ./testutils.h:54:21: note: passing argument to parameter 'cleartext' here const uint8_t *cleartext, ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib des3-test.o testutils.o -lnettle -lgmp -o des3-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des-compat-test.o -MD -MP -MF des-compat-test.o.d -c des-compat-test.c && true des-compat-test.c:311:6: warning: unused variable 'num' [-Wunused-variable] int num; ^ des-compat-test.c:309:16: warning: unused variable 'qret' [-Wunused-variable] unsigned char qret[4][4],cret[8]; ^ des-compat-test.c:310:11: warning: unused variable 'lqret' [-Wunused-variable] DES_LONG lqret[4]; ^ des-compat-test.c:312:8: warning: unused variable 'str' [-Wunused-variable] char *str; ^ des-compat-test.c:290:12: warning: unused function 'cfb_test' [-Wunused-function] static int cfb_test(int bits, unsigned char *cfb_cipher); ^ des-compat-test.c:291:12: warning: unused function 'cfb64_test' [-Wunused-function] static int cfb64_test(unsigned char *cfb_cipher); ^ des-compat-test.c:292:12: warning: unused function 'ede_cfb64_test' [-Wunused-function] static int ede_cfb64_test(unsigned char *cfb_cipher); ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib des-compat-test.o testutils.o -lnettle -lgmp -o des-compat-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md2-test.o -MD -MP -MF md2-test.o.d -c md2-test.c && true md2-test.c:8:29: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, 0, "", ^~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:10:32: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, LDATA("a"), ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:12:32: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, LDATA("abc"), ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:14:32: warning: passing 'char [15]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, LDATA("message digest"), ^~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:16:32: warning: passing 'char [27]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, LDATA("abcdefghijklmnopqrstuvwxyz"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:19:12: warning: passing 'char [63]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md2-test.c:22:32: warning: passing 'char [81]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md2, LDATA("1234567890123456789012345678901234567890" ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib md2-test.o testutils.o -lnettle -lgmp -o md2-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md4-test.o -MD -MP -MF md4-test.o.d -c md4-test.c && true md4-test.c:8:32: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md4, LDATA(""), ^~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:10:32: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md4, LDATA("a"), ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:12:32: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md4, LDATA("abc"), ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:14:32: warning: passing 'char [15]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md4, LDATA("message digest"), ^~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:16:32: warning: passing 'char [27]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md4, LDATA("abcdefghijklmnopqrstuvwxyz"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:19:12: warning: passing 'char [63]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md4-test.c:23:12: warning: passing 'char [81]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("12345678901234567890123456789012345678901234567890" ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib md4-test.o testutils.o -lnettle -lgmp -o md4-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md5-test.o -MD -MP -MF md5-test.o.d -c md5-test.c && true md5-test.c:7:29: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md5, 0, "", ^~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:10:29: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md5, 1, "a", ^~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:13:29: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md5, 3, "abc", ^~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:16:30: warning: passing 'char [15]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md5, 14, "message digest", ^~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:19:30: warning: passing 'char [27]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_md5, 26, "abcdefghijklmnopqrstuvwxyz", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:23:6: warning: passing 'char [63]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ md5-test.c:29:6: warning: passing 'char [81]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "1234567890123456789012345678901234567890" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib md5-test.o testutils.o -lnettle -lgmp -o md5-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md5-compat-test.o -MD -MP -MF md5-compat-test.o.d -c md5-compat-test.c && true md5-compat-test.c:16:19: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "a", 1); ^~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ md5-compat-test.c:23:19: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "abc", 3); ^~~~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ md5-compat-test.c:30:19: warning: passing 'char [15]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "message digest", 14); ^~~~~~~~~~~~~~~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ md5-compat-test.c:37:19: warning: passing 'char [27]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "abcdefghijklmnopqrstuvwxyz", 26); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ md5-compat-test.c:44:19: warning: passing 'char [63]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 62); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ md5-compat-test.c:51:19: warning: passing 'char [81]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5Update(&ctx, "1234567890123456789012345678901234567890" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../md5-compat.h:39:51: note: passing argument to parameter 'data' here void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); ^ 6 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib md5-compat-test.o testutils.o -lnettle -lgmp -o md5-compat-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha1-test.o -MD -MP -MF sha1-test.o.d -c sha1-test.c && true sha1-test.c:7:30: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha1, 0, "", ^~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:10:30: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha1, 1, "a", ^~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:13:30: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha1, 3, "abc", ^~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:16:31: warning: passing 'char [27]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha1, 26, "abcdefghijklmnopqrstuvwxyz", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:19:31: warning: passing 'char [15]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha1, 14, "message digest", ^~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:23:6: warning: passing 'char [63]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha1-test.c:28:6: warning: passing 'char [81]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "1234567890123456789012345678901234567890" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sha1-test.o testutils.o -lnettle -lgmp -o sha1-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha256-test.o -MD -MP -MF sha256-test.o.d -c sha256-test.c && true sha256-test.c:7:32: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] test_hash(&nettle_sha256, 3, "abc", ^~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha256-test.c:12:6: warning: passing 'char [57]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "abcdbcdecdefdefgefghfghighij" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ sha256-test.c:18:6: warning: passing 'char [113]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "abcdefghbcdefghicdefghijdefg" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:86:19: note: passing argument to parameter 'data' here const uint8_t *data, ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sha256-test.o testutils.o -lnettle -lgmp -o sha256-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT serpent-test.o -MD -MP -MF serpent-test.o.d -c serpent-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib serpent-test.o testutils.o -lnettle -lgmp -o serpent-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT twofish-test.o -MD -MP -MF twofish-test.o.d -c twofish-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib twofish-test.o testutils.o -lnettle -lgmp -o twofish-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer-test.o -MD -MP -MF buffer-test.o.d -c buffer-test.c && true buffer-test.c:11:45: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ buffer-test.c:23:45: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ buffer-test.c:26:46: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!nettle_buffer_write(&buffer, LDATA("bar"))); ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../buffer.h:75:39: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib buffer-test.o testutils.o -lnettle -lgmp -o buffer-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-test.o -MD -MP -MF sexp-test.o.d -c sexp-test.c && true sexp-test.c:10:40: warning: passing 'char [1]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA(""))); ^~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:13:40: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("()"))); ^~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:20:40: warning: passing 'char [2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("("))); ^~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:25:40: warning: passing 'char [22]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("1:\0" ^~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:36:40: warning: passing 'char [30]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("3:foo0:[3:bar]12:xxxxxxxxxxxx"))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:54:8: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (&i, LDUP("{Mzpmb28=} {MDo=} {WzM6YmFyXTEyOnh4eHh4eHh4eHh4eA==}"))); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:137:28: note: expanded from macro 'LDUP' #define LDUP(x) strlen(x), strdup(x) ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:84:36: note: passing argument to parameter 'input' here unsigned length, uint8_t *input); ^ sexp-test.c:70:39: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] static const uint8_t *keys[2] = { "n", "e" }; ^~~ sexp-test.c:70:44: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] static const uint8_t *keys[2] = { "n", "e" }; ^~~ sexp-test.c:73:42: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("((1:n2:xx3:foo)0:(1:y)(1:e))"))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:89:42: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("((1:n))"))); ^~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ sexp-test.c:93:42: warning: passing 'char [18]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_first(&i, LDATA("((1:n)(1:n3:foo))"))); ^~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ ../sexp.h:79:39: note: passing argument to parameter 'input' here unsigned length, const uint8_t *input); ^ 11 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sexp-test.o testutils.o -lnettle -lgmp -o sexp-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-format-test.o -MD -MP -MF sexp-format-test.o.d -c sexp-format-test.c && true sexp-format-test.c:21:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:25:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:27:34: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:36:15: warning: passing 'const uint8_t [51]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:40:15: warning: passing 'const uint8_t [51]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:42:34: warning: passing 'const uint8_t [51]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:63:15: warning: passing 'const uint8_t [15]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:65:34: warning: passing 'const uint8_t [15]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:75:15: warning: passing 'const uint8_t [36]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:87:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:91:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:93:34: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:102:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:106:15: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:108:34: warning: passing 'const uint8_t [35]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:118:15: warning: passing 'const uint8_t [13]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:121:15: warning: passing 'const uint8_t [13]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:123:34: warning: passing 'const uint8_t [13]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(buffer.size == strlen(e)); ^ ./testutils.h:148:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sexp-format-test.c:139:42: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nettle_mpz_init_set_str_256_u(y, 11, "abcdefghijk"); ^~~~~~~~~~~~~ ../bignum.h:66:42: note: passing argument to parameter 's' here unsigned length, const uint8_t *s); ^ sexp-format-test.c:140:42: warning: passing 'char [13]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nettle_mpz_init_set_str_256_u(z, 12, "\x81""abcdefghijk"); ^~~~~~~~~~~~~~~~~~~ ../bignum.h:66:42: note: passing argument to parameter 's' here unsigned length, const uint8_t *s); ^ 20 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sexp-format-test.o testutils.o -lnettle -lgmp -o sexp-format-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2sexp-test.o -MD -MP -MF rsa2sexp-test.o.d -c rsa2sexp-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa2sexp-test.o testutils.o -lnettle -lgmp -o rsa2sexp-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2rsa-test.o -MD -MP -MF sexp2rsa-test.o.d -c sexp2rsa-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sexp2rsa-test.o testutils.o -lnettle -lgmp -o sexp2rsa-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT knuth-lfib-test.o -MD -MP -MF knuth-lfib-test.o.d -c knuth-lfib-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib knuth-lfib-test.o testutils.o -lnettle -lgmp -o knuth-lfib-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT cbc-test.o -MD -MP -MF cbc-test.o.d -c cbc-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib cbc-test.o testutils.o -lnettle -lgmp -o cbc-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT ctr-test.o -MD -MP -MF ctr-test.o.d -c ctr-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib ctr-test.o testutils.o -lnettle -lgmp -o ctr-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT hmac-test.o -MD -MP -MF hmac-test.o.d -c hmac-test.c && true hmac-test.c:20:31: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5_update(&md5, LDATA("Hi There")); ^~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:88:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:28:32: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5_set_key(&md5, LDATA("Jefe")); ^~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:84:40: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ hmac-test.c:29:31: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5_update(&md5, LDATA("what do ya want for nothing?")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:88:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:64:31: warning: passing 'char [21]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_md5_update(&md5, LDATA("Test With Truncation")); ^~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:88:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:78:11: warning: passing 'char [55]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("Test Using Larger Than Block-Size Key - Hash Key First")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:88:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:92:11: warning: passing 'char [74]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("Test Using Larger Than Block-Size Key and Larger " ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:88:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:105:33: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha1_update(&sha1, LDATA("Hi There")); ^~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:104:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:113:34: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha1_set_key(&sha1, LDATA("Jefe")); ^~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:100:41: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ hmac-test.c:114:33: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha1_update(&sha1, LDATA("what do ya want for nothing?")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:104:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:149:33: warning: passing 'char [21]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha1_update(&sha1, LDATA("Test With Truncation")); ^~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:104:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:163:12: warning: passing 'char [55]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("Test Using Larger Than Block-Size Key - Hash Key First")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:104:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:177:11: warning: passing 'char [74]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("Test Using Larger Than Block-Size Key and Larger " ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:104:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:191:37: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("abc")); ^~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:202:37: warning: passing 'char [57]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("abcdbcdecdefdefgefghfghighijhijk" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:215:37: warning: passing 'char [113]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("abcdbcdecdefdefgefghfghighijhijk" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:229:37: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("Hi There")); ^~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:238:38: warning: passing 'char [5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_set_key(&sha256, LDATA("Jefe")); ^~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:115:43: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ hmac-test.c:239:37: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("what do ya want for nothing?")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:280:37: warning: passing 'char [21]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_sha256_update(&sha256, LDATA("Test With Truncation")); ^~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:295:5: warning: passing 'char [55]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Test Using Larger Than Block-Size Key - Hash Key First")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ hmac-test.c:311:5: warning: passing 'char [74]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:136:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../hmac.h:119:38: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ 21 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib hmac-test.o testutils.o -lnettle -lgmp -o hmac-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum-test.o -MD -MP -MF bignum-test.o.d -c bignum-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib bignum-test.o testutils.o -lnettle -lgmp -o bignum-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-test.o -MD -MP -MF pkcs1-test.o.d -c pkcs1-test.c && true pkcs1-test.c:17:8: warning: passing 'char [4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3, "abc"); ^~~~~ ../pkcs1.h:46:25: note: passing argument to parameter 'id' here const uint8_t *id); ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib pkcs1-test.o testutils.o -lnettle -lgmp -o pkcs1-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-test.o -MD -MP -MF rsa-test.o.d -c rsa-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-test.o testutils.o -lnettle -lgmp -o rsa-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt-test.o -MD -MP -MF rsa-encrypt-test.o.d -c rsa-encrypt-test.c && true rsa-encrypt-test.c:18:18: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *msg = "Squemish ossifrage"; ^ ~~~~~~~~~~~~~~~~~~~~ rsa-encrypt-test.c:33:23: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msg_length = strlen(msg); ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-encrypt-test.o testutils.o -lnettle -lgmp -o rsa-encrypt-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen-test.o -MD -MP -MF rsa-keygen-test.o.d -c rsa-keygen-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-keygen-test.o testutils.o -lnettle -lgmp -o rsa-keygen-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-test.o -MD -MP -MF dsa-test.o.d -c dsa-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib dsa-test.o testutils.o -lnettle -lgmp -o dsa-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-keygen-test.o -MD -MP -MF dsa-keygen-test.o.d -c dsa-keygen-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib dsa-keygen-test.o testutils.o -lnettle -lgmp -o dsa-keygen-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT yarrow-test.o -MD -MP -MF yarrow-test.o.d -c yarrow-test.c && true yarrow-test.c:103:53: warning: passing 'const char [100]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yarrow256_update(&yarrow, 0, 200, sizeof(zeroes), zeroes); ^~~~~~ ../yarrow.h:90:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib yarrow-test.o testutils.o -lnettle -lgmp -o yarrow-test clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha1-huge-test.o -MD -MP -MF sha1-huge-test.o.d -c sha1-huge-test.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib sha1-huge-test.o testutils.o -lnettle -lgmp -o sha1-huge-test gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' Making all in examples gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/examples' clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-benchmark.o -MD -MP -MF nettle-benchmark.o.d -c nettle-benchmark.c && true In file included from nettle-benchmark.c:51: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void nettle-benchmark.c:273:30: warning: 'memset' call operates on objects of type 'uint8_t' (aka 'unsigned char') while the size is based on a different type 'uint8_t *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset(iv, 0, sizeof(iv)); ~~ ^~ nettle-benchmark.c:273:30: note: did you mean to provide an explicit length? memset(iv, 0, sizeof(iv)); ^~ nettle-benchmark.c:289:30: warning: 'memset' call operates on objects of type 'uint8_t' (aka 'unsigned char') while the size is based on a different type 'uint8_t *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset(iv, 0, sizeof(iv)); ~~ ^~ nettle-benchmark.c:289:30: note: did you mean to provide an explicit length? memset(iv, 0, sizeof(iv)); ^~ 3 warnings generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-openssl.o -MD -MP -MF nettle-openssl.o.d -c nettle-openssl.c && true clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true In file included from getopt.c:104: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void getopt.c:211:21: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern char *getenv (); ^ void getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] int argc; ^ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] char *const *argv; ^ getopt.c:984:1: warning: no previous prototype for function 'getopt' [-Wmissing-prototypes] getopt (argc, argv, optstring) ^ ./getopt.h:146:12: note: this declaration is not a prototype; add parameter declarations to make it one extern int getopt (); ^ getopt.c:984:8: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] getopt (argc, argv, optstring) ^ 6 warnings generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.c && true In file included from getopt1.c:24: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void 1 warning generated. clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT io.o -MD -MP -MF io.o.d -c io.c && true io.c:168:31: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yarrow256_seed(ctx, length, buffer); ^~~~~~ ../yarrow.h:84:24: note: passing argument to parameter 'seed_file' here const uint8_t *seed_file); ^ io.c:183:30: warning: passing 'char [1000]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hash->update(ctx, res, buffer); ^~~~~~ io.c:203:53: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] res = rsa_keypair_from_sexp(pub, priv, 0, length, buffer); ^~~~~~ ../rsa.h:286:41: note: passing argument to parameter 'expr' here unsigned length, const uint8_t *expr); ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib nettle-benchmark.o nettle-openssl.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o nettle-benchmark clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -c rsa-keygen.c && true In file included from rsa-keygen.c:42: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void rsa-keygen.c:139:46: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_file(pub_name, pub_buffer.size, pub_buffer.contents)) ^~~~~~~~~~~~~~~~~~~ ./io.h:55:57: note: passing argument to parameter 'buffer' here write_file(const char *name, unsigned size, const char *buffer); ^ rsa-keygen.c:148:48: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_file(priv_name, priv_buffer.size, priv_buffer.contents)) ^~~~~~~~~~~~~~~~~~~~ ./io.h:55:57: note: passing argument to parameter 'buffer' here write_file(const char *name, unsigned size, const char *buffer); ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-keygen.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-keygen clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -c rsa-sign.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-sign.o io.o \ -lnettle -lgmp -o rsa-sign clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -c rsa-verify.c && true clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-verify.o io.o \ -lnettle -lgmp -o rsa-verify clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -c rsa-encrypt.c && true In file included from rsa-encrypt.c:45: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void rsa-encrypt.c:66:42: warning: passing 'uint8_t [4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return write_string(f, sizeof(buffer), buffer); ^~~~~~ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ rsa-encrypt.c:88:31: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] res = write_string(f, size, p); ^ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ rsa-encrypt.c:125:36: warning: passing 'uint8_t [1600]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_string(out, size, buffer)) ^~~~~~ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ rsa-encrypt.c:146:61: warning: passing 'uint8_t [1600]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_string(out, AES_BLOCK_SIZE + SHA1_DIGEST_SIZE, buffer)) ^~~~~~ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ 5 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-encrypt.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-encrypt clang -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -c rsa-decrypt.c && true rsa-decrypt.c:149:33: warning: passing 'uint8_t [1636]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_string(out, size, buffer)) ^~~~~~ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ rsa-decrypt.c:172:40: warning: passing 'uint8_t [1636]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_string(out, leftover, buffer)) ^~~~~~ ./io.h:58:50: note: passing argument to parameter 'buffer' here write_string(FILE *f, unsigned size, const char *buffer); ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib rsa-decrypt.o io.o \ -lnettle -lgmp -o rsa-decrypt gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/examples' gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' Making all in scm gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/scm' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/scm' Making all in sftp gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' Making all in . gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c commands.c:378:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("Copyright (C) 2001, Pontus Skld and various contributors\n\n"); ^~~~ commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ commands.c:2144:15: warning: initializing 'const char *' with an expression of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const char *entered_cmd = s; ^ ~ commands.c:2149:20: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ ^ ./str_utils.h:42:38: note: passing argument to parameter 's' here const char *lsftp_s_skip(const char *s, const char *sep); ^ commands.c:2149:5: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2158:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return com_escape( s+1, entered_cmd ); ^~~ commands.c:352:24: note: passing argument to parameter 'arg' here com_escape(const char *arg, const char *command UNUSED) ^ commands.c:2161:26: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return com_longhelp( s+1, entered_cmd ); ^~~ commands.c:244:26: note: passing argument to parameter 'arg' here com_longhelp(const char *arg, const char *command UNUSED) ^ commands.c:2165:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = lsftp_s_strtok(s," \n\t\r", &tmp ); ^ ./str_utils.h:39:40: note: passing argument to parameter 's' here const char *lsftp_s_strtok(const char *s, const char* tok, ^ commands.c:2165:5: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = lsftp_s_strtok(s," \n\t\r", &tmp ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2184:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lsftp_s_skip(s," \n\t\r"), ^ ./str_utils.h:42:38: note: passing argument to parameter 's' here const char *lsftp_s_skip(const char *s, const char *sep); ^ 10 warnings generated. mv -f .deps/commands.Tpo .deps/commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT lsftp.o -MD -MP -MF .deps/lsftp.Tpo -c -o lsftp.o lsftp.c lsftp.c:142:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle_command( current_line ); ^~~~~~~~~~~~ ./commands.h:58:41: note: passing argument to parameter 's' here int handle_command(const unsigned char *s); ^ lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval; ^ lsftp.c:167:18: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle_command( argv[startat++] ); /* Do it */ ^~~~~~~~~~~~~~~ ./commands.h:58:41: note: passing argument to parameter 's' here int handle_command(const unsigned char *s); ^ lsftp.c:181:17: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] do_gnu_stuff( argv ); /* Check for GNU thingies and act accordingly */ ^~~~ ./gnu_stuff.h:35:33: note: passing argument to parameter 'argv' here void do_gnu_stuff( const char** argv ); ^ 4 warnings generated. mv -f .deps/lsftp.Tpo .deps/lsftp.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT rl.o -MD -MP -MF .deps/rl.Tpo -c -o rl.o rl.c rl.c:77:5: warning: "lsftp doesn't work with your readline library, please disable readline and contact the author." [-W#warnings] # warning "lsftp doesn't work with your readline library, please disable readline and contact the author." ^ 1 warning generated. mv -f .deps/rl.Tpo .deps/rl.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp_c.o -MD -MP -MF .deps/sftp_c.Tpo -c -o sftp_c.o sftp_c.c sftp_c.c:46:31: warning: converting the enum constant to a boolean [-Wint-in-bool-context] SSH_FILEXFER_ATTR_SIZE || ^ sftp_c.c:47:33: warning: converting the enum constant to a boolean [-Wint-in-bool-context] SSH_FILEXFER_ATTR_UIDGID || ^ sftp_c.c:48:38: warning: converting the enum constant to a boolean [-Wint-in-bool-context] SSH_FILEXFER_ATTR_PERMISSIONS || ^ sftp_c.c:960:23: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] statret = stat( fname, &st ); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:386:26: note: passing argument to parameter here int stat(const char *, struct stat *) __DARWIN_INODE64(stat); ^ sftp_c.c:971:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = open( fname, openmode, 0777 & ~mask ); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:565:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ sftp_c.c:938:15: warning: unused parameter 'fnamelen' [-Wunused-parameter] uint32_t fnamelen, ^ sftp_c.c:1262:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = open( fname, O_RDONLY ); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:565:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ sftp_c.c:1239:15: warning: unused parameter 'fnamelen' [-Wunused-parameter] uint32_t fnamelen, ^ 8 warnings generated. mv -f .deps/sftp_c.Tpo .deps/sftp_c.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp_bind.o -MD -MP -MF .deps/sftp_bind.Tpo -c -o sftp_bind.o sftp_bind.c sftp_bind.c:210:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] cur_string = ~~~~~~~~~~~^ sftp_bind.c:210:20: note: place parentheses around the assignment to silence this warning cur_string = ^ ( sftp_bind.c:210:20: note: use '==' to turn this assignment into an equality comparison cur_string = ^ == sftp_bind.c:234:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] cur_string = ~~~~~~~~~~~^ sftp_bind.c:234:19: note: place parentheses around the assignment to silence this warning cur_string = ^ ( sftp_bind.c:234:19: note: use '==' to turn this assignment into an equality comparison cur_string = ^ == sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval; ^ sftp_bind.c:779:5: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, strlen( tmp ), ^~~ ./sftp_c.h:280:21: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:780:5: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] local, strlen( local), ^~~~~ ./sftp_c.h:282:21: note: passing argument to parameter 'fname' here const uint8_t *fname, ^ sftp_bind.c:1390:5: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, strlen( tmp ), ^~~ ./sftp_c.h:320:21: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:1391:5: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] local, strlen( local), ^~~~~ ./sftp_c.h:322:21: note: passing argument to parameter 'fname' here const uint8_t *fname, ^ sftp_bind.c:1529:10: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:403:22: note: passing argument to parameter 'dir' here const uint8_t *dir, ^ sftp_bind.c:1690:46: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] prefixed_fname = lsftp_concat( prefix, fname ); ^~~~~ ./misc_fun.h:40:49: note: passing argument to parameter 's2' here char* lsftp_concat( const char* s1, const char* s2 ); ^ sftp_bind.c:1742:7: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fname, ^~~~~ ./dc.h:54:39: note: passing argument to parameter 'fname' here int lsftp_dc_glob_matches(const char *fname, const char *glob, int period); ^ sftp_bind.c:1771:23: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = lsftp_concat( fname, "/" ); /* Add a trailing slash for directories */ ^~~~~ ./misc_fun.h:40:33: note: passing argument to parameter 's1' here char* lsftp_concat( const char* s1, const char* s2 ); ^ sftp_bind.c:1773:17: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = strdup( fname ); ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ sftp_bind.c:1780:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] longstrings[used-1] = strdup( longname ); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ sftp_bind.c:1800:6: warning: unused variable 'screenwidth' [-Wunused-variable] int screenwidth = 80; ^ sftp_bind.c:1907:10: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:403:22: note: passing argument to parameter 'dir' here const uint8_t *dir, ^ sftp_bind.c:2029:46: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] prefixed_fname = lsftp_concat( prefix, fname ); ^~~~~ ./misc_fun.h:40:49: note: passing argument to parameter 's2' here char* lsftp_concat( const char* s1, const char* s2 ); ^ sftp_bind.c:2119:8: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, strlen( tmp )); ^~~ ./sftp_c.h:200:24: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2168:5: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:183:21: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2245:26: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *destptr = strdup( fname ); /* Copy whatever name we have */ ^~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ sftp_bind.c:2301:4: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, strlen( tmp ), ^~~ ./sftp_c.h:226:20: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2367:4: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, strlen( tmp ), ^~~ ./sftp_c.h:226:20: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2390:9: warning: unused variable 'f' [-Wunused-variable] void* f; ^ sftp_bind.c:2463:10: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp1, ^~~~ ./sftp_c.h:145:19: note: passing argument to parameter 'srcname' here const uint8_t *srcname, ^ sftp_bind.c:2465:10: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp2, ^~~~ ./sftp_c.h:147:19: note: passing argument to parameter 'dstname' here const uint8_t *dstname, ^ sftp_bind.c:2529:4: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp1, ^~~~ ./sftp_c.h:133:20: note: passing argument to parameter 'linkname' here const uint8_t *linkname, ^ sftp_bind.c:2531:4: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp2, ^~~~ ./sftp_c.h:135:20: note: passing argument to parameter 'targetname' here const uint8_t *targetname, ^ sftp_bind.c:2598:9: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:165:18: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2652:9: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:174:18: note: passing argument to parameter 'name' here const uint8_t *name, ^ sftp_bind.c:2702:10: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp, ^~~ ./sftp_c.h:157:19: note: passing argument to parameter 'name' here const uint8_t *name, ^ 29 warnings generated. mv -f .deps/sftp_bind.Tpo .deps/sftp_bind.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT str_utils.o -MD -MP -MF .deps/str_utils.Tpo -c -o str_utils.o str_utils.c mv -f .deps/str_utils.Tpo .deps/str_utils.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT dc.o -MD -MP -MF .deps/dc.Tpo -c -o dc.o dc.c mv -f .deps/dc.Tpo .deps/dc.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT gnu_stuff.o -MD -MP -MF .deps/gnu_stuff.Tpo -c -o gnu_stuff.o gnu_stuff.c gnu_stuff.c:39:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf( "Welcome to %s %s by Pontus Skld, Niels Mller and various.\n", PACKAGE, VERSION ); ^~~~ ~~~~ gnu_stuff.c:94:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("Copyright (C) Pontus Skld, Niels Mller and various contributors\n\n"); ^~~~ ~~~~ 2 warnings generated. mv -f .deps/gnu_stuff.Tpo .deps/gnu_stuff.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT misc_fun.o -MD -MP -MF .deps/misc_fun.Tpo -c -o misc_fun.o misc_fun.c misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] void mgetenv_init( char** envp ) ^ misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] char* massage_fname(char* fname, int local) ^ 2 warnings generated. mv -f .deps/misc_fun.Tpo .deps/misc_fun.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c buffer.c:149:26: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] length = vsnprintf(current, needed, format, args); ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:75:30: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^~~ buffer.c:175:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] length = strftime(current, needed, format, tm); ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/time.h:116:34: note: passing argument to parameter here size_t strftime(char * __restrict, size_t, const char * __restrict, const struct tm * __restrict) __DARWIN_ALIAS(strftime); ^ 2 warnings generated. mv -f .deps/buffer.Tpo .deps/buffer.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT io_input.o -MD -MP -MF .deps/io_input.Tpo -c -o io_input.o io_input.c io_input.c:149:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] while (bytesread < sizeof(buf)) ~~~~~~~~~ ^ ~~~~~~~~~~~ 1 warning generated. mv -f .deps/io_input.Tpo .deps/io_input.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT io_output.o -MD -MP -MF .deps/io_output.Tpo -c -o io_output.o io_output.c io_output.c:196:17: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] while (writteni) ~~~~~~~^~~~~ 1 warning generated. mv -f .deps/io_output.Tpo .deps/io_output.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT werror.o -MD -MP -MF .deps/werror.Tpo -c -o werror.o werror.c mv -f .deps/werror.Tpo .deps/werror.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/pkg/lib -o lsftp commands.o lsftp.o rl.o sftp_c.o sftp_bind.o str_utils.o dc.o gnu_stuff.o misc_fun.o buffer.o io_input.o io_output.o xmalloc.o werror.o -lreadline -lreadline -ltermcap clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp-test-client.o -MD -MP -MF .deps/sftp-test-client.Tpo -c -o sftp-test-client.o sftp-test-client.c sftp-test-client.c:168:41: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(name), name); ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-test-client.c:278:41: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(name), name ); ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-test-client.c:526:41: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(name), name); ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ 3 warnings generated. mv -f .deps/sftp-test-client.Tpo .deps/sftp-test-client.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c client.c:110:41: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(name), name ); ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ 1 warning generated. mv -f .deps/client.Tpo .deps/client.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/pkg/lib -o sftp-test-client sftp-test-client.o buffer.o io_input.o io_output.o xmalloc.o werror.o client.o -lreadline -lreadline -ltermcap clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT dump-hex.o -MD -MP -MF .deps/dump-hex.Tpo -c -o dump-hex.o dump-hex.c dump-hex.c:189:33: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] res = do_read(STDIN_FILENO, buf, left); ^~~ dump-hex.c:38:23: note: passing argument to parameter 'data' here do_read(int fd, char *data, int length) ^ dump-hex.c:201:48: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (output_line(STDERR_FILENO, label, pos, buf, res) <= 0) ^~~ dump-hex.c:73:32: note: passing argument to parameter 'data' here unsigned pos, const char *data, unsigned length) ^ dump-hex.c:208:33: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (do_write(STDOUT_FILENO, buf, res) < 0) ^~~ dump-hex.c:50:30: note: passing argument to parameter 'data' here do_write(int fd, const char *data, int length) ^ 3 warnings generated. mv -f .deps/dump-hex.Tpo .deps/dump-hex.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/pkg/lib -o dump-hex dump-hex.o -lreadline -lreadline -ltermcap clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp-server.o -MD -MP -MF .deps/sftp-server.Tpo -c -o sftp-server.o sftp-server.c sftp-server.c:229:22: warning: passing 'uint8_t [10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filemodestring(st, modes); ^~~~~ ./filemode.h:21:56: note: passing argument to parameter 'str' here void filemodestring PARAMS ((struct stat *statp, char *str)); ^ sftp-server.c:298:41: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(name), name); ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:299:30: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_longname(ctx, st, name); ^~~~ sftp-server.c:236:37: note: passing argument to parameter 'fname' here struct stat *st, const uint8_t *fname) ^ sftp-server.c:313:10: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = "."; ^ ~~~ sftp-server.c:443:50: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("Success"), "Success"); ^~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:447:54: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("End of file"), "End of file"); ^~~~~~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:450:55: warning: passing 'char [13]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("No such file"), "No such file"); ^~~~~~~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:453:60: warning: passing 'char [18]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("Permission denied"), "Permission denied"); ^~~~~~~~~~~~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:456:54: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("Bad message"), "Bad message"); ^~~~~~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:469:64: warning: passing 'char [22]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("Operation unsupported"), "Operation unsupported"); ^~~~~~~~~~~~~~~~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:473:50: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("Failure"), "Failure"); ^~~~~~~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:477:41: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen("en"), "en"); /* Send english language tag */ ^~~~ ./buffer.h:108:72: note: passing argument to parameter 'data' here sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^ sftp-server.c:532:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dir=opendir(name); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/dirent.h:107:26: note: passing argument to parameter here DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); ^ sftp-server.c:543:41: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] HANDLE_DIR(ctx, handle).name = strdup(name); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ sftp-server.c:650:12: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stat(name, &st ) < 0) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:386:26: note: passing argument to parameter here int stat(const char *, struct stat *) __DARWIN_INODE64(stat); ^ sftp-server.c:672:13: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (lstat(name, &st) < 0) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:383:27: note: passing argument to parameter here int lstat(const char *, struct stat *) __DARWIN_INODE64(lstat); ^ sftp-server.c:751:13: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ( chown(name, a.uid, a.gid ) ) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:435:24: note: passing argument to parameter here int chown(const char *, uid_t, gid_t); ^ sftp-server.c:755:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( truncate(name, a.size ) ) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:599:27: note: passing argument to parameter here int truncate(const char *, off_t); ^ sftp-server.c:759:12: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( chmod(name, a.permissions ) ) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:380:27: note: passing argument to parameter here int chmod(const char *, mode_t) __DARWIN_ALIAS(chmod); ^ sftp-server.c:778:14: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (unlink(name) < 0) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:494:25: note: passing argument to parameter here int unlink(const char *); ^ sftp-server.c:800:20: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fail = mkdir(name, a.permissions & 0777); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:384:27: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ sftp-server.c:804:18: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fail = mkdir(name, 0755); /* FIXME: Default permissions? */ ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:384:27: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ sftp-server.c:820:12: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(rmdir(name) < 0) ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:474:24: note: passing argument to parameter here int rmdir(const char *); ^ sftp-server.c:842:24: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] path_max = pathconf (name, _PC_PATH_MAX); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:466:28: note: passing argument to parameter here long pathconf(const char *, int); ^ sftp-server.c:847:23: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] resolved = realpath(name, alloca(path_max)); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:224:39: note: passing argument to parameter here char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath); ^ sftp-server.c:847:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] resolved = realpath(name, alloca(path_max)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp-server.c:858:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (lstat(resolved, &st ) < 0) ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:383:27: note: passing argument to parameter here int lstat(const char *, struct stat *) __DARWIN_INODE64(lstat); ^ sftp-server.c:861:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_string(ctx->o, strlen(resolved), resolved); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sftp-server.c:870:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_filename(ctx, &st, resolved); ^~~~~~~~ sftp-server.c:293:17: note: passing argument to parameter 'name' here const char *name) ^ sftp-server.c:888:14: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (rename(src, dst) < 0) ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:175:26: note: passing argument to parameter '__old' here int rename (const char *__old, const char *__new); ^ sftp-server.c:888:19: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (rename(src, dst) < 0) ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:175:45: note: passing argument to parameter '__new' here int rename (const char *__old, const char *__new); ^ sftp-server.c:950:14: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fd = open(name, mode, a.permissions); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:565:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ sftp-server.c:955:12: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fd = open(name, mode, 0666); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:565:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ sftp-server.c:1236:24: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] path_max = pathconf (name, _PC_PATH_MAX); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:466:28: note: passing argument to parameter here long pathconf(const char *, int); ^ sftp-server.c:1242:23: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] link_len = readlink(name, linktarget, path_max); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:627:42: note: passing argument to parameter here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ sftp-server.c:1242:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] link_len = readlink(name, linktarget, path_max); ^~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:627:61: note: passing argument to parameter here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ sftp-server.c:1253:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (lstat(linktarget, &st ) < 0) ^~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/stat.h:383:27: note: passing argument to parameter here int lstat(const char *, struct stat *) __DARWIN_INODE64(lstat); ^ sftp-server.c:1265:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sftp_put_filename(ctx, &st, linktarget); ^~~~~~~~~~ sftp-server.c:293:17: note: passing argument to parameter 'name' here const char *name) ^ sftp-server.c:1283:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (symlink(targetpath, linkpath) < 0) ^~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:630:26: note: passing argument to parameter here int symlink(const char *, const char *); ^ sftp-server.c:1283:27: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (symlink(targetpath, linkpath) < 0) ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:630:40: note: passing argument to parameter here int symlink(const char *, const char *); ^ 40 warnings generated. mv -f .deps/sftp-server.Tpo .deps/sftp-server.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT filemode.o -MD -MP -MF .deps/filemode.Tpo -c -o filemode.o filemode.c mv -f .deps/filemode.Tpo .deps/filemode.Po clang -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT idcache.o -MD -MP -MF .deps/idcache.Tpo -c -o idcache.o idcache.c mv -f .deps/idcache.Tpo .deps/idcache.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/pkg/lib -o sftp-server sftp-server.o buffer.o io_input.o io_output.o xmalloc.o werror.o filemode.o idcache.o -lreadline -lreadline -ltermcap gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' Making all in testsuite gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp/testsuite' gmake[6]: Nothing to be done for 'all'. gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp/testsuite' gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' Making all in spki gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' Making all in . gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT certificate.o -MD -MP -MF .deps/certificate.Tpo -c -o certificate.o certificate.c mv -f .deps/certificate.Tpo .deps/certificate.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c parse.c:60:15: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = spki_gperf(i->sexp.atom, i->sexp.atom_length); ^~~~~~~~~~~~ ./spki-gperf.h:85:34: note: passing argument to parameter 'str' here spki_gperf (register const char *str, register unsigned int len) ^ 1 warning generated. mv -f .deps/parse.Tpo .deps/parse.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse-transport.o -MD -MP -MF .deps/parse-transport.Tpo -c -o parse-transport.o parse-transport.c mv -f .deps/parse-transport.Tpo .deps/parse-transport.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT names.o -MD -MP -MF .deps/names.Tpo -c -o names.o names.c In file included from names.c:27: ./spki-type-names.h:7:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 3, "acl" }, ^~~~~ ./spki-type-names.h:8:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 4, "cert" }, ^~~~~~ ./spki-type-names.h:9:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 7, "comment" }, ^~~~~~~~~ ./spki-type-names.h:10:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 7, "display" }, ^~~~~~~~~ ./spki-type-names.h:11:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 2, "do" }, ^~~~ ./spki-type-names.h:12:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 8, "dsa-sha1" }, ^~~~~~~~~~ ./spki-type-names.h:13:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 5, "entry" }, ^~~~~~~ ./spki-type-names.h:14:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 4, "hash" }, ^~~~~~ ./spki-type-names.h:15:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 6, "issuer" }, ^~~~~~~~ ./spki-type-names.h:16:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 11, "issuer-info" }, ^~~~~~~~~~~~~ ./spki-type-names.h:17:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 3, "md5" }, ^~~~~ ./spki-type-names.h:18:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 4, "name" }, ^~~~~~ ./spki-type-names.h:19:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 9, "not-after" }, ^~~~~~~~~~~ ./spki-type-names.h:20:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 10, "not-before" }, ^~~~~~~~~~~~ ./spki-type-names.h:21:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 9, "propagate" }, ^~~~~~~~~~~ ./spki-type-names.h:22:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 11, "private-key" }, ^~~~~~~~~~~~~ ./spki-type-names.h:23:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 10, "public-key" }, ^~~~~~~~~~~~ ./spki-type-names.h:24:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 13, "rsa-pkcs1-md5" }, ^~~~~~~~~~~~~~~ ./spki-type-names.h:25:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 14, "rsa-pkcs1-sha1" }, ^~~~~~~~~~~~~~~~ ./spki-type-names.h:26:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 8, "sequence" }, ^~~~~~~~~~ ./spki-type-names.h:27:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 4, "sha1" }, ^~~~~~ ./spki-type-names.h:28:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 9, "signature" }, ^~~~~~~~~~~ ./spki-type-names.h:29:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 7, "subject" }, ^~~~~~~~~ ./spki-type-names.h:30:9: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 12, "subject-info" }, ^~~~~~~~~~~~~~ ./spki-type-names.h:31:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 3, "tag" }, ^~~~~ ./spki-type-names.h:32:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 5, "valid" }, ^~~~~~~ ./spki-type-names.h:33:8: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { 7, "version" }, ^~~~~~~~~ 27 warnings generated. mv -f .deps/names.Tpo .deps/names.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tag.o -MD -MP -MF .deps/tag.Tpo -c -o tag.o tag.c tag.c:100:1: warning: unused function 'spki_string_dup' [-Wunused-function] spki_string_dup(struct spki_string *s) ^ tag.c:369:1: warning: unused function 'spki_tag_range_alloc' [-Wunused-function] spki_tag_range_alloc(void *ctx, nettle_realloc_func *realloc, ^ 2 warnings generated. mv -f .deps/tag.Tpo .deps/tag.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT reduce.o -MD -MP -MF .deps/reduce.Tpo -c -o reduce.o reduce.c mv -f .deps/reduce.Tpo .deps/reduce.Po clang -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT verify.o -MD -MP -MF .deps/verify.Tpo -c -o verify.o verify.c mv -f .deps/verify.Tpo .deps/verify.Po rm -f libspki.a ar cru libspki.a certificate.o parse.o parse-transport.o names.o tag.o reduce.o verify.o ranlib libspki.a gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' Making all in tools gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki/tools' clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-check-signature.o -MD -MP -MF .deps/spki-check-signature.Tpo -c -o spki-check-signature.o spki-check-signature.c In file included from spki-check-signature.c:34: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void spki-check-signature.c:116:65: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sexp_transport_iterator_first(&sexp, strlen(o.signature), o.signature) ^~~~~~~~~~~ ../../nettle/sexp.h:84:36: note: passing argument to parameter 'input' here unsigned length, uint8_t *input); ^ 2 warnings generated. mv -f .deps/spki-check-signature.Tpo .deps/spki-check-signature.Po clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c misc.c:67:30: warning: passing 'char [1000]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hash->update(ctx, res, buffer); ^~~~~~ 1 warning generated. mv -f .deps/misc.Tpo .deps/misc.Po clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c In file included from getopt.c:104: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void getopt.c:211:21: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern char *getenv (); ^ void getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] int argc; ^ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] char *const *argv; ^ getopt.c:984:1: warning: no previous prototype for function 'getopt' [-Wmissing-prototypes] getopt (argc, argv, optstring) ^ ./getopt.h:146:12: note: this declaration is not a prototype; add parameter declarations to make it one extern int getopt (); ^ getopt.c:984:8: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] getopt (argc, argv, optstring) ^ 6 warnings generated. mv -f .deps/getopt.Tpo .deps/getopt.Po clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c In file included from getopt1.c:24: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void 1 warning generated. mv -f .deps/getopt1.Tpo .deps/getopt1.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/pkg/lib -o spki-check-signature spki-check-signature.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-make-signature.o -MD -MP -MF .deps/spki-make-signature.Tpo -c -o spki-make-signature.o spki-make-signature.c In file included from spki-make-signature.c:36: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void spki-make-signature.c:136:56: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (! (spki_transport_iterator_first(&i, key_length, key) ^~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-make-signature.c:151:15: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] digest = hash_file(ctx.hash_algorithm, stdin); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-make-signature.c:158:35: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spki_sign_digest(&ctx, &buffer, digest); ^~~~~~ ./sign.h:64:19: note: passing argument to parameter 'digest' here const uint8_t *digest); ^ spki-make-signature.c:162:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_file(stdout, buffer.size, buffer.contents)) ^~~~~~~~~~~~~~~ ./misc.h:48:48: note: passing argument to parameter 'buffer' here write_file(FILE *f, unsigned size, const char *buffer); ^ 5 warnings generated. mv -f .deps/spki-make-signature.Tpo .deps/spki-make-signature.Po clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sign.o -MD -MP -MF .deps/sign.Tpo -c -o sign.o sign.c mv -f .deps/sign.Tpo .deps/sign.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/pkg/lib -o spki-make-signature spki-make-signature.o sign.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-delegate.o -MD -MP -MF .deps/spki-delegate.Tpo -c -o spki-delegate.o spki-delegate.c In file included from spki-delegate.c:37: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void spki-delegate.c:157:55: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (spki_transport_iterator_first(&i, strlen(expr), expr) ^~~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-delegate.c:177:52: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && spki_transport_iterator_first(&i, length, data)) ^~~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-delegate.c:207:55: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (spki_transport_iterator_first(&i, strlen(expr), expr) == SPKI_TYPE_TAG) ^~~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-delegate.c:213:12: warning: assigning to 'const char *' from 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (tag = spki_parse_prevexpr(&i, start, &tag_length))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-delegate.c:301:60: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (! (spki_transport_iterator_first(&i, key_length, key) ^~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-delegate.c:319:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer.size, buffer.contents)) ^~~~~~~~~~~~~~~ ./misc.h:48:48: note: passing argument to parameter 'buffer' here write_file(FILE *f, unsigned size, const char *buffer); ^ 7 warnings generated. mv -f .deps/spki-delegate.Tpo .deps/spki-delegate.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/pkg/lib -o spki-delegate spki-delegate.o sign.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-reduce.o -MD -MP -MF .deps/spki-reduce.Tpo -c -o spki-reduce.o spki-reduce.c In file included from spki-reduce.c:33: ./getopt.h:146:19: warning: this function declaration is not a prototype [-Wstrict-prototypes] extern int getopt (); ^ void spki-reduce.c:115:48: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && spki_transport_iterator_first(&i, length, data) ^~~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-reduce.c:136:52: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && spki_transport_iterator_first(&i, length, data)) ^~~~ ../parse.h:67:36: note: passing argument to parameter 'expr' here unsigned length, uint8_t *expr); ^ spki-reduce.c:187:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!write_file(stdout, buffer.size, buffer.contents)) ^~~~~~~~~~~~~~~ ./misc.h:48:48: note: passing argument to parameter 'buffer' here write_file(FILE *f, unsigned size, const char *buffer); ^ 4 warnings generated. mv -f .deps/spki-reduce.Tpo .deps/spki-reduce.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/pkg/lib -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki/tools' Making all in testsuite gmake[6]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki/testsuite' clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT principal-test.o -MD -MP -MF .deps/principal-test.Tpo -c -o principal-test.o principal-test.c principal-test.c:11:37: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = spki_principal_by_key(&db, 5, "3:foo"); ^~~~~~~ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ principal-test.c:14:40: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); ^~~~~~~ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ principal-test.c:15:40: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); ^~~~~~~ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ 3 warnings generated. mv -f .deps/principal-test.Tpo .deps/principal-test.Po clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT testutils.o -MD -MP -MF .deps/testutils.Tpo -c -o testutils.o testutils.c mv -f .deps/testutils.Tpo .deps/testutils.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o principal-test principal-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT date-test.o -MD -MP -MF .deps/date-test.Tpo -c -o date-test.o date-test.c mv -f .deps/date-test.Tpo .deps/date-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o date-test date-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tag-test.o -MD -MP -MF .deps/tag-test.Tpo -c -o tag-test.o tag-test.c tag-test.c:25:19: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:26:5: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:ftp18:ftp.lysator.liu.se)")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:28:20: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:29:6: warning: passing 'char [30]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(4:http18:ftp.lysator.liu.se)")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:32:19: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:33:5: warning: passing 'char [35]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:ftp18:ftp.lysator.liu.se4:read)")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:35:20: warning: passing 'char [35]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se4:read)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:36:6: warning: passing 'char [29]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:ftp18:ftp.lysator.liu.se)")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:38:19: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*)", "(3:foo)")); ^~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:38:28: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*)", "(3:foo)")); ^~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:39:20: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(3:foo)", "(1:*)")); ^~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:39:31: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(3:foo)", "(1:*)")); ^~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:41:19: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*)", ^~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:42:5: warning: passing 'char [21]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*3:set3:foo3:bar)")); ^~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:43:20: warning: passing 'char [21]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", ^~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:44:6: warning: passing 'char [6]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*)")); ^~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:46:19: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:47:5: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:foo)")); ^~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:48:19: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:49:5: warning: passing 'char [14]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:foo4:read)")); ^~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:50:19: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:51:5: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:bar)")); ^~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:52:20: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:53:6: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(3:baz)")); ^~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:55:19: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:56:5: warning: passing 'char [18]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*3:set(3:foo))")); ^~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:57:19: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:58:5: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*3:set(3:foo)(3:bar))")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:59:20: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:60:6: warning: passing 'char [32]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*3:set(3:foo)(3:bar)(3:baz))")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ tag-test.c:61:20: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:39: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:4:43: note: passing argument to parameter 'adata' here includes(unsigned alength, const uint8_t *adata, ^ tag-test.c:62:6: warning: passing 'char [25]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "(1:*3:set(3:foo)(3:baz))")); ^~~~~~~~~~~~~~~~~~~~~~~~~~ tag-test.c:20:49: note: expanded from macro 'INCLUDES' #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) ^ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ tag-test.c:5:36: note: passing argument to parameter 'bdata' here unsigned blength, const uint8_t *bdata) ^ 32 warnings generated. mv -f .deps/tag-test.Tpo .deps/tag-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o tag-test tag-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read-acl-test.o -MD -MP -MF .deps/read-acl-test.Tpo -c -o read-acl-test.o read-acl-test.c read-acl-test.c:11:6: warning: passing 'char [204]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ("(3:acl(7:version1:\0)(5:entry" ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:17:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ read-acl-test.c:17:43: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(spki_principal_by_key(&db, LDATA("k1"))); ^~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ read-acl-test.c:18:37: warning: passing 'char [17]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); ^~~~~~~~~~~~~~~~~~ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:224:62: note: passing argument to parameter 'digest' here spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); ^ 3 warnings generated. mv -f .deps/read-acl-test.Tpo .deps/read-acl-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o read-acl-test read-acl-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lookup-acl-test.o -MD -MP -MF .deps/lookup-acl-test.Tpo -c -o lookup-acl-test.o lookup-acl-test.c lookup-acl-test.c:17:6: warning: passing 'char [140]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ("(3:acl(5:entry(7:subject(10:public-key2:k1))" ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:17:35: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ lookup-acl-test.c:22:41: warning: passing 'char [20]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] k1 = spki_principal_by_key(&db, LDATA("(10:public-key2:k1)")); ^~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ lookup-acl-test.c:25:41: warning: passing 'char [20]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] k2 = spki_principal_by_key(&db, LDATA("(10:public-key2:k2)")); ^~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ lookup-acl-test.c:30:41: warning: passing 'char [20]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); ^~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ lookup-acl-test.c:45:24: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag = make_tag(LDATA("(4:http)")); ^~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:20:42: note: passing argument to parameter 'expr' here make_tag(unsigned length, const uint8_t *expr); ^ lookup-acl-test.c:52:24: warning: passing 'char [8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag = make_tag(LDATA("(3:ftp)")); ^~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:20:42: note: passing argument to parameter 'expr' here make_tag(unsigned length, const uint8_t *expr); ^ lookup-acl-test.c:57:24: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag = make_tag(LDATA("(3:ftp2:h5)")); ^~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:20:42: note: passing argument to parameter 'expr' here make_tag(unsigned length, const uint8_t *expr); ^ lookup-acl-test.c:62:24: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag = make_tag(LDATA("(3:ftp2:h1)")); ^~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:20:42: note: passing argument to parameter 'expr' here make_tag(unsigned length, const uint8_t *expr); ^ lookup-acl-test.c:72:24: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag = make_tag(LDATA("(3:ftp2:h2)")); ^~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:20:42: note: passing argument to parameter 'expr' here make_tag(unsigned length, const uint8_t *expr); ^ 9 warnings generated. mv -f .deps/lookup-acl-test.Tpo .deps/lookup-acl-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o lookup-acl-test lookup-acl-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read-cert-test.o -MD -MP -MF .deps/read-cert-test.Tpo -c -o read-cert-test.o read-cert-test.c read-cert-test.c:23:12: warning: passing 'char [163]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LDATA("(4:cert(6:issuer(10:public-key2:k1))" ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ read-cert-test.c:5:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data) ^ read-cert-test.c:30:36: warning: passing 'char [20]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); ^~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ read-cert-test.c:32:36: warning: passing 'char [20]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); ^~~~~~~~~~~~~~~~~~~~~ ./testutils.h:30:35: note: expanded from macro 'LDATA' #define LDATA(x) (sizeof(x) - 1), x ^ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../certificate.h:221:45: note: passing argument to parameter 'key' here unsigned key_length, const uint8_t *key); ^ 3 warnings generated. mv -f .deps/read-cert-test.Tpo .deps/read-cert-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lnettle -lgmp clang -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cdsa-reduce-test.o -MD -MP -MF .deps/cdsa-reduce-test.Tpo -c -o cdsa-reduce-test.o cdsa-reduce-test.c cdsa-reduce-test.c:140:7: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] data = read_file(srcdir, "cdsa-cases/", i, ".in", ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdsa-reduce-test.c:144:41: warning: passing 'char [9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(sexp_iterator_check_type(&sexp, "red-test")); ^~~~~~~~~~ ./testutils.h:27:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) ^ ../../nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ 2 warnings generated. mv -f .deps/cdsa-reduce-test.Tpo .deps/cdsa-reduce-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/pkg/lib -o cdsa-reduce-test cdsa-reduce-test.o testutils.o ../libspki.a -lnettle -lgmp make check to build testprograms. gmake[6]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki/testsuite' gmake[5]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/spki' Making all in . gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT abstract_io.o -MD -MP -MF .deps/abstract_io.Tpo -c -o abstract_io.o abstract_io.c mv -f .deps/abstract_io.Tpo .deps/abstract_io.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT abstract_crypto.o -MD -MP -MF .deps/abstract_crypto.Tpo -c -o abstract_crypto.o abstract_crypto.c mv -f .deps/abstract_crypto.Tpo .deps/abstract_crypto.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT algorithms.o -MD -MP -MF .deps/algorithms.Tpo -c -o algorithms.o algorithms.c mv -f .deps/algorithms.Tpo .deps/algorithms.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT alist.o -MD -MP -MF .deps/alist.Tpo -c -o alist.o alist.c mv -f .deps/alist.Tpo .deps/alist.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT atoms.o -MD -MP -MF .deps/atoms.Tpo -c -o atoms.o atoms.c In file included from atoms.c:45: ./atoms_table.c:5:5: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { { "UNKNOWN", 7 }, {"none", 4}, ^~~~~~~~~ ./atoms_table.c:5:23: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { { "UNKNOWN", 7 }, {"none", 4}, ^~~~~~ ./atoms_table.c:6:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"zlib", 4}, ^~~~~~ ./atoms_table.c:7:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"3des-cbc", 8}, ^~~~~~~~~~ ./atoms_table.c:8:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"3des-ctr", 8}, ^~~~~~~~~~ ./atoms_table.c:9:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"blowfish-cbc", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:10:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"blowfish-ctr", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:11:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish256-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:12:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish-cbc", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:13:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish128-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:14:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish192-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:15:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish128-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:16:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish192-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:17:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"twofish256-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:18:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes256-cbc", 10}, ^~~~~~~~~~~~ ./atoms_table.c:19:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes192-cbc", 10}, ^~~~~~~~~~~~ ./atoms_table.c:20:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes128-cbc", 10}, ^~~~~~~~~~~~ ./atoms_table.c:21:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes128-ctr", 10}, ^~~~~~~~~~~~ ./atoms_table.c:22:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes192-ctr", 10}, ^~~~~~~~~~~~ ./atoms_table.c:23:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"aes256-ctr", 10}, ^~~~~~~~~~~~ ./atoms_table.c:24:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent256-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:25:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent192-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:26:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent128-cbc", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:27:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent128-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:28:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent192-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:29:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent256-ctr", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:30:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"arcfour", 7}, ^~~~~~~~~ ./atoms_table.c:31:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"cast128-cbc", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:32:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"cast128-ctr", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:33:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"serpent-cbc@lysator.liu.se", 26}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:34:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"hmac-sha1", 9}, ^~~~~~~~~~~ ./atoms_table.c:35:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"hmac-sha1-96", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:36:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"hmac-md5", 8}, ^~~~~~~~~~ ./atoms_table.c:37:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"hmac-md5-96", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:38:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"diffie-hellman-group1-sha1", 26}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:39:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [28]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"diffie-hellman-group14-sha1", 27}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:40:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ssh-dss", 7}, ^~~~~~~~~ ./atoms_table.c:41:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ssh-rsa", 7}, ^~~~~~~~~ ./atoms_table.c:42:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"x509v3-sign-rsa", 15}, ^~~~~~~~~~~~~~~~~ ./atoms_table.c:43:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"x509v3-sign-dss", 15}, ^~~~~~~~~~~~~~~~~ ./atoms_table.c:44:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"spki-sign-rsa", 13}, ^~~~~~~~~~~~~~~ ./atoms_table.c:45:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"spki-sign-dss", 13}, ^~~~~~~~~~~~~~~ ./atoms_table.c:46:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"pgp-sign-rsa", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:47:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"pgp-sign-dss", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:48:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"spki", 4}, ^~~~~~ ./atoms_table.c:49:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ssh-userauth", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:50:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ssh-connection", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:51:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"publickey", 9}, ^~~~~~~~~~~ ./atoms_table.c:52:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"password", 8}, ^~~~~~~~~~ ./atoms_table.c:53:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"hostbased", 9}, ^~~~~~~~~~~ ./atoms_table.c:54:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"keyboard-interactive", 20}, ^~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:55:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"gssapi", 6}, ^~~~~~~~ ./atoms_table.c:56:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"session", 7}, ^~~~~~~~~ ./atoms_table.c:57:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"pty-req", 7}, ^~~~~~~~~ ./atoms_table.c:58:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"x11-req", 7}, ^~~~~~~~~ ./atoms_table.c:59:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"x11", 3}, ^~~~~ ./atoms_table.c:60:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"auth-agent-req", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:61:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"auth-agent", 10}, ^~~~~~~~~~~~ ./atoms_table.c:62:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"env", 3}, ^~~~~ ./atoms_table.c:63:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"shell", 5}, ^~~~~~~ ./atoms_table.c:64:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"exec", 4}, ^~~~~~ ./atoms_table.c:65:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"subsystem", 9}, ^~~~~~~~~~~ ./atoms_table.c:66:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"window-change", 13}, ^~~~~~~~~~~~~~~ ./atoms_table.c:67:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"xon-xoff", 8}, ^~~~~~~~~~ ./atoms_table.c:68:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"signal", 6}, ^~~~~~~~ ./atoms_table.c:69:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"exit-status", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:70:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"exit-signal", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:71:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"tcpip-forward", 13}, ^~~~~~~~~~~~~~~ ./atoms_table.c:72:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"cancel-tcpip-forward", 20}, ^~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:73:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"forwarded-tcpip", 15}, ^~~~~~~~~~~~~~~~~ ./atoms_table.c:74:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"direct-tcpip", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:75:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ABRT", 4}, ^~~~~~ ./atoms_table.c:76:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ALRM", 4}, ^~~~~~ ./atoms_table.c:77:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"FPE", 3}, ^~~~~ ./atoms_table.c:78:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"HUP", 3}, ^~~~~ ./atoms_table.c:79:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ILL", 3}, ^~~~~ ./atoms_table.c:80:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"INT", 3}, ^~~~~ ./atoms_table.c:81:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"KILL", 4}, ^~~~~~ ./atoms_table.c:82:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"PIPE", 4}, ^~~~~~ ./atoms_table.c:83:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"QUIT", 4}, ^~~~~~ ./atoms_table.c:84:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"SEGV", 4}, ^~~~~~ ./atoms_table.c:85:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"TERM", 4}, ^~~~~~ ./atoms_table.c:86:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"USR1", 4}, ^~~~~~ ./atoms_table.c:87:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"USR2", 4}, ^~~~~~ ./atoms_table.c:88:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"signal-unknown@lysator.liu.se", 29}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:89:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"private-key", 11}, ^~~~~~~~~~~~~ ./atoms_table.c:90:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"public-key", 10}, ^~~~~~~~~~~~ ./atoms_table.c:91:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"dsa", 3}, ^~~~~ ./atoms_table.c:92:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"p", 1}, ^~~ ./atoms_table.c:93:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"q", 1}, ^~~ ./atoms_table.c:94:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"g", 1}, ^~~ ./atoms_table.c:95:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"y", 1}, ^~~ ./atoms_table.c:96:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"x", 1}, ^~~ ./atoms_table.c:97:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"r", 1}, ^~~ ./atoms_table.c:98:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"s", 1}, ^~~ ./atoms_table.c:99:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"rsa-pkcs1", 9}, ^~~~~~~~~~~ ./atoms_table.c:100:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"rsa-pkcs1-sha1", 14}, ^~~~~~~~~~~~~~~~ ./atoms_table.c:101:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"rsa-pkcs1-md5", 13}, ^~~~~~~~~~~~~~~ ./atoms_table.c:102:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"n", 1}, ^~~ ./atoms_table.c:103:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"e", 1}, ^~~ ./atoms_table.c:104:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"d", 1}, ^~~ ./atoms_table.c:105:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"a", 1}, ^~~ ./atoms_table.c:106:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"b", 1}, ^~~ ./atoms_table.c:107:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"c", 1}, ^~~ ./atoms_table.c:108:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"Xpkcs5v2", 8}, ^~~~~~~~~~ ./atoms_table.c:109:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"srp-ring1-sha1@lysator.liu.se", 29}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./atoms_table.c:110:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"srp-verifier", 12}, ^~~~~~~~~~~~~~ ./atoms_table.c:111:4: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {"ssh-ring1", 9}, ^~~~~~~~~~~ 108 warnings generated. mv -f .deps/atoms.Tpo .deps/atoms.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o channel.c mv -f .deps/channel.Tpo .deps/channel.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel_commands.o -MD -MP -MF .deps/channel_commands.Tpo -c -o channel_commands.o channel_commands.c mv -f .deps/channel_commands.Tpo .deps/channel_commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel_forward.o -MD -MP -MF .deps/channel_forward.Tpo -c -o channel_forward.o channel_forward.c mv -f .deps/channel_forward.Tpo .deps/channel_forward.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT charset.o -MD -MP -MF .deps/charset.Tpo -c -o charset.o charset.c mv -f .deps/charset.Tpo .deps/charset.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c client.c:321:27: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] && parse_atom(args, &signal) ^~~~~~~ ./parse.h:83:47: note: passing argument to parameter 'result' here parse_atom(struct simple_buffer *buffer, int *result); ^ client.c:846:39: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lsh_string_write(r, 0, alengths[0], argv[0]); ^~~~~~~ ./lsh_string.h:110:19: note: passing argument to parameter 'data' here const uint8_t *data); ^ client.c:851:45: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lsh_string_write(r, pos, alengths[i], argv[i]); ^~~~~~~ ./lsh_string.h:110:19: note: passing argument to parameter 'data' here const uint8_t *data); ^ 3 warnings generated. mv -f .deps/client.Tpo .deps/client.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_escape.o -MD -MP -MF .deps/client_escape.Tpo -c -o client_escape.o client_escape.c mv -f .deps/client_escape.Tpo .deps/client_escape.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_keyexchange.o -MD -MP -MF .deps/client_keyexchange.Tpo -c -o client_keyexchange.o client_keyexchange.c mv -f .deps/client_keyexchange.Tpo .deps/client_keyexchange.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_pty.o -MD -MP -MF .deps/client_pty.Tpo -c -o client_pty.o client_pty.c mv -f .deps/client_pty.Tpo .deps/client_pty.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_session.o -MD -MP -MF .deps/client_session.Tpo -c -o client_session.o client_session.c mv -f .deps/client_session.Tpo .deps/client_session.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_userauth.o -MD -MP -MF .deps/client_userauth.Tpo -c -o client_userauth.o client_userauth.c mv -f .deps/client_userauth.Tpo .deps/client_userauth.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_x11.o -MD -MP -MF .deps/client_x11.Tpo -c -o client_x11.o client_x11.c mv -f .deps/client_x11.Tpo .deps/client_x11.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT combinators.o -MD -MP -MF .deps/combinators.Tpo -c -o combinators.o combinators.c mv -f .deps/combinators.Tpo .deps/combinators.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.c mv -f .deps/command.Tpo .deps/command.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT compress.o -MD -MP -MF .deps/compress.Tpo -c -o compress.o compress.c mv -f .deps/compress.Tpo .deps/compress.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse_config.o -MD -MP -MF .deps/parse_config.Tpo -c -o parse_config.o parse_config.c parse_config.c:156:18: warning: assigning to 'const char *' from 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] self->token = HERE; ^ ~~~~ parse_config.c:368:43: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (lsh_string_eq_l(hosts->name, length, host)) ^~~~ ./lsh_string.h:89:77: note: passing argument to parameter 'b' here lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); ^ 2 warnings generated. mv -f .deps/parse_config.Tpo .deps/parse_config.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.c mv -f .deps/connection.Tpo .deps/connection.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT connection_commands.o -MD -MP -MF .deps/connection_commands.Tpo -c -o connection_commands.o connection_commands.c mv -f .deps/connection_commands.Tpo .deps/connection_commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.c mv -f .deps/crypto.Tpo .deps/crypto.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c mv -f .deps/daemon.Tpo .deps/daemon.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c mv -f .deps/debug.Tpo .deps/debug.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dh_exchange.o -MD -MP -MF .deps/dh_exchange.Tpo -c -o dh_exchange.o dh_exchange.c mv -f .deps/dh_exchange.Tpo .deps/dh_exchange.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa.o -MD -MP -MF .deps/dsa.Tpo -c -o dsa.o dsa.c dsa.c:140:30: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "r", "s" }; ^~~ dsa.c:140:35: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "r", "s" }; ^~~ 2 warnings generated. mv -f .deps/dsa.Tpo .deps/dsa.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.c mv -f .deps/exception.Tpo .deps/exception.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT format.o -MD -MP -MF .deps/format.Tpo -c -o format.o format.c format.c:362:13: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] data = va_arg(args, const char *); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ format.c:363:22: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = strlen(data); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 2 warnings generated. mv -f .deps/format.Tpo .deps/format.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gc.o -MD -MP -MF .deps/gc.Tpo -c -o gc.o gc.c mv -f .deps/gc.Tpo .deps/gc.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway.o -MD -MP -MF .deps/gateway.Tpo -c -o gateway.o gateway.c gateway.c:92:20: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (check_string(local_user) ^~~~~~~~~~ gateway.c:68:29: note: passing argument to parameter 's' here check_string(const uint8_t *s) ^ gateway.c:93:23: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && check_string(remote_user) ^~~~~~~~~~~ gateway.c:68:29: note: passing argument to parameter 's' here check_string(const uint8_t *s) ^ gateway.c:94:33: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && check_string_l(length, target)) ^~~~~~ gateway.c:51:48: note: passing argument to parameter 's' here check_string_l(unsigned length, const uint8_t *s) ^ 3 warnings generated. mv -f .deps/gateway.Tpo .deps/gateway.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway_channel.o -MD -MP -MF .deps/gateway_channel.Tpo -c -o gateway_channel.o gateway_channel.c mv -f .deps/gateway_channel.Tpo .deps/gateway_channel.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway_commands.o -MD -MP -MF .deps/gateway_commands.Tpo -c -o gateway_commands.o gateway_commands.c mv -f .deps/gateway_commands.Tpo .deps/gateway_commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT handshake.o -MD -MP -MF .deps/handshake.Tpo -c -o handshake.o handshake.c mv -f .deps/handshake.Tpo .deps/handshake.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT interact.o -MD -MP -MF .deps/interact.Tpo -c -o interact.o interact.c mv -f .deps/interact.Tpo .deps/interact.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.c mv -f .deps/io.Tpo .deps/io.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT io_commands.o -MD -MP -MF .deps/io_commands.Tpo -c -o io_commands.o io_commands.c mv -f .deps/io_commands.Tpo .deps/io_commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT keyexchange.o -MD -MP -MF .deps/keyexchange.Tpo -c -o keyexchange.o keyexchange.c mv -f .deps/keyexchange.Tpo .deps/keyexchange.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c mv -f .deps/list.Tpo .deps/list.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lookup_verifier.o -MD -MP -MF .deps/lookup_verifier.Tpo -c -o lookup_verifier.o lookup_verifier.c mv -f .deps/lookup_verifier.Tpo .deps/lookup_verifier.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lock_file.o -MD -MP -MF .deps/lock_file.Tpo -c -o lock_file.o lock_file.c mv -f .deps/lock_file.Tpo .deps/lock_file.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh_string.o -MD -MP -MF .deps/lsh_string.Tpo -c -o lsh_string.o lsh_string.c lsh_string.c:139:10: warning: returning 'const uint8_t *' (aka 'const unsigned char *') from a function with result type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (s && !memchr(s->data, '\0', s->length) ? s->data : NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lsh_string.c:339:4: warning: passing 'uint8_t [1]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s->data, s->length)) ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/arpa/inet.h:77:48: note: passing argument to parameter here const char *inet_ntop(int, const void *, char *, socklen_t); ^ lsh_string.c:342:30: warning: passing 'uint8_t [1]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lsh_string_trunc(s, strlen(s->data)); ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 3 warnings generated. mv -f .deps/lsh_string.Tpo .deps/lsh_string.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c mv -f .deps/parse.Tpo .deps/parse.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs5.o -MD -MP -MF .deps/pkcs5.Tpo -c -o pkcs5.o pkcs5.c mv -f .deps/pkcs5.Tpo .deps/pkcs5.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT publickey_crypto.o -MD -MP -MF .deps/publickey_crypto.Tpo -c -o publickey_crypto.o publickey_crypto.c mv -f .deps/publickey_crypto.Tpo .deps/publickey_crypto.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT queue.o -MD -MP -MF .deps/queue.Tpo -c -o queue.o queue.c mv -f .deps/queue.Tpo .deps/queue.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT randomness.o -MD -MP -MF .deps/randomness.Tpo -c -o randomness.o randomness.c mv -f .deps/randomness.Tpo .deps/randomness.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_data.o -MD -MP -MF .deps/read_data.Tpo -c -o read_data.o read_data.c mv -f .deps/read_data.Tpo .deps/read_data.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_file.o -MD -MP -MF .deps/read_file.Tpo -c -o read_file.o read_file.c mv -f .deps/read_file.Tpo .deps/read_file.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_line.o -MD -MP -MF .deps/read_line.Tpo -c -o read_line.o read_line.c mv -f .deps/read_line.Tpo .deps/read_line.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_packet.o -MD -MP -MF .deps/read_packet.Tpo -c -o read_packet.o read_packet.c mv -f .deps/read_packet.Tpo .deps/read_packet.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT reaper.o -MD -MP -MF .deps/reaper.Tpo -c -o reaper.o reaper.c mv -f .deps/reaper.Tpo .deps/reaper.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT resource.o -MD -MP -MF .deps/resource.Tpo -c -o resource.o resource.c mv -f .deps/resource.Tpo .deps/resource.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa.o -MD -MP -MF .deps/rsa.Tpo -c -o rsa.o rsa.c mv -f .deps/rsa.Tpo .deps/rsa.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c mv -f .deps/server.Tpo .deps/server.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_authorization.o -MD -MP -MF .deps/server_authorization.Tpo -c -o server_authorization.o server_authorization.c mv -f .deps/server_authorization.Tpo .deps/server_authorization.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_keyexchange.o -MD -MP -MF .deps/server_keyexchange.Tpo -c -o server_keyexchange.o server_keyexchange.c server_keyexchange.c:297:29: warning: variable 'e' set but not used [-Wunused-but-set-variable] struct exception_handler *e; ^ 1 warning generated. mv -f .deps/server_keyexchange.Tpo .deps/server_keyexchange.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_password.o -MD -MP -MF .deps/server_password.Tpo -c -o server_password.o server_password.c mv -f .deps/server_password.Tpo .deps/server_password.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_publickey.o -MD -MP -MF .deps/server_publickey.Tpo -c -o server_publickey.o server_publickey.c mv -f .deps/server_publickey.Tpo .deps/server_publickey.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_pty.o -MD -MP -MF .deps/server_pty.Tpo -c -o server_pty.o server_pty.c mv -f .deps/server_pty.Tpo .deps/server_pty.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_session.o -MD -MP -MF .deps/server_session.Tpo -c -o server_session.o server_session.c mv -f .deps/server_session.Tpo .deps/server_session.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_userauth.o -MD -MP -MF .deps/server_userauth.Tpo -c -o server_userauth.o server_userauth.c mv -f .deps/server_userauth.Tpo .deps/server_userauth.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_x11.o -MD -MP -MF .deps/server_x11.Tpo -c -o server_x11.o server_x11.c mv -f .deps/server_x11.Tpo .deps/server_x11.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp.o -MD -MP -MF .deps/sexp.Tpo -c -o sexp.o sexp.c mv -f .deps/sexp.Tpo .deps/sexp.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT socks.o -MD -MP -MF .deps/socks.Tpo -c -o socks.o socks.c mv -f .deps/socks.Tpo .deps/socks.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki.o -MD -MP -MF .deps/spki.Tpo -c -o spki.o spki.c spki.c:76:18: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *s = host; ^ ~~~~ spki.c:187:39: warning: passing 'char [12]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "private-key")) ^~~~~~~~~~~~~ ./nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ spki.c:408:30: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "salt", "iterations" }; ^~~~~~ spki.c:408:38: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "salt", "iterations" }; ^~~~~~~~~~~~ spki.c:435:31: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "data", "iv" }; ^~~~~~ spki.c:435:39: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const uint8_t *names[2] = { "data", "iv" }; ^~~~ spki.c:484:35: warning: passing 'char [19]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "password-encrypted"))) ^~~~~~~~~~~~~~~~~~~~ ./nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ 7 warnings generated. mv -f .deps/spki.Tpo .deps/spki.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT srp_exchange.o -MD -MP -MF .deps/srp_exchange.Tpo -c -o srp_exchange.o srp_exchange.c srp_exchange.c:68:39: warning: passing 'char [13]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "srp-verifier") ^~~~~~~~~~~~~~ ./nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ srp_exchange.c:69:39: warning: passing 'char [10]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "ssh-ring1")) ^~~~~~~~~~~ ./nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] const struct lsh_string *salt; ^ 3 warnings generated. mv -f .deps/srp_exchange.Tpo .deps/srp_exchange.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT string_buffer.o -MD -MP -MF .deps/string_buffer.Tpo -c -o string_buffer.o string_buffer.c mv -f .deps/string_buffer.Tpo .deps/string_buffer.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT suspend.o -MD -MP -MF .deps/suspend.Tpo -c -o suspend.o suspend.c mv -f .deps/suspend.Tpo .deps/suspend.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tcpforward.o -MD -MP -MF .deps/tcpforward.Tpo -c -o tcpforward.o tcpforward.c mv -f .deps/tcpforward.Tpo .deps/tcpforward.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tcpforward_commands.o -MD -MP -MF .deps/tcpforward_commands.Tpo -c -o tcpforward_commands.o tcpforward_commands.c mv -f .deps/tcpforward_commands.Tpo .deps/tcpforward_commands.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT translate_signal.o -MD -MP -MF .deps/translate_signal.Tpo -c -o translate_signal.o translate_signal.c mv -f .deps/translate_signal.Tpo .deps/translate_signal.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c mv -f .deps/tty.Tpo .deps/tty.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_interact.o -MD -MP -MF .deps/unix_interact.Tpo -c -o unix_interact.o unix_interact.c unix_interact.c:392:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!tty_getattr(self->tty_fd, &res->ios) < 0) ^ ~ unix_interact.c:392:11: note: add parentheses after the '!' to evaluate the comparison first if (!tty_getattr(self->tty_fd, &res->ios) < 0) ^ ( ) unix_interact.c:392:11: note: add parentheses around left hand side expression to silence this warning if (!tty_getattr(self->tty_fd, &res->ios) < 0) ^ ( ) unix_interact.c:392:49: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] if (!tty_getattr(self->tty_fd, &res->ios) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 2 warnings generated. mv -f .deps/unix_interact.Tpo .deps/unix_interact.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_process.o -MD -MP -MF .deps/unix_process.Tpo -c -o unix_process.o unix_process.c unix_process.c:330:3: warning: implicit declaration of function 'logwtmp' is invalid in C99 [-Wimplicit-function-declaration] logwtmp(lsh_get_cstring(self->line), "", ""); ^ unix_process.c:453:3: warning: implicit declaration of function 'logwtmp' is invalid in C99 [-Wimplicit-function-declaration] logwtmp(lsh_get_cstring(cleanup->line), ^ 2 warnings generated. mv -f .deps/unix_process.Tpo .deps/unix_process.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_random.o -MD -MP -MF .deps/unix_random.Tpo -c -o unix_random.o unix_random.c mv -f .deps/unix_random.Tpo .deps/unix_random.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_user.o -MD -MP -MF .deps/unix_user.Tpo -c -o unix_user.o unix_user.c unix_user.c:255:11: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpasswd = lsh_get_cstring(password); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ unix_user.c:281:17: warning: initializing 'const char *' with an expression of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const char *salt = lsh_string_data(user->passwd); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix_user.c:286:22: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(crypt(cpasswd, salt), ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:544:25: note: passing argument to parameter here char *crypt(const char *, const char *); ^ 3 warnings generated. mv -f .deps/unix_user.Tpo .deps/unix_user.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT userauth.o -MD -MP -MF .deps/userauth.Tpo -c -o userauth.o userauth.c mv -f .deps/userauth.Tpo .deps/userauth.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT werror.o -MD -MP -MF .deps/werror.Tpo -c -o werror.o werror.c werror.c:294:51: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_cstring(char *s) { werror_write(strlen(s), s); } ^ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:428:42: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(strlen(program_name), program_name); ^~~~~~~~~~~~ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:429:23: warning: passing 'char [3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(2, ": "); ^~~~ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:481:21: warning: passing 'char [10]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(9, ""); ^~~~~~~~~~~ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:576:30: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(strlen(type), type); ^~~~ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:585:31: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_hexdump(strlen(s), s); ^ werror.c:360:48: note: passing argument to parameter 'data' here werror_hexdump(uint32_t length, const uint8_t *data) ^ werror.c:591:29: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(strlen(s), s); ^ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:648:36: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] werror_write(strlen(string), string); ^~~~~~ werror.c:275:46: note: passing argument to parameter 'msg' here werror_write(uint32_t length, const uint8_t *msg) ^ werror.c:617:1: warning: unused function 'werror_format' [-Wunused-function] werror_format(const char *format, ...) ^ 9 warnings generated. mv -f .deps/werror.Tpo .deps/werror.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT write_buffer.o -MD -MP -MF .deps/write_buffer.Tpo -c -o write_buffer.o write_buffer.c mv -f .deps/write_buffer.Tpo .deps/write_buffer.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT write_packet.o -MD -MP -MF .deps/write_packet.Tpo -c -o write_packet.o write_packet.c mv -f .deps/write_packet.Tpo .deps/write_packet.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT xalloc.o -MD -MP -MF .deps/xalloc.Tpo -c -o xalloc.o xalloc.c mv -f .deps/xalloc.Tpo .deps/xalloc.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT xauth.o -MD -MP -MF .deps/xauth.Tpo -c -o xauth.o xauth.c mv -f .deps/xauth.Tpo .deps/xauth.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT zlib.o -MD -MP -MF .deps/zlib.Tpo -c -o zlib.o zlib.c mv -f .deps/zlib.Tpo .deps/zlib.Po rm -f liblsh.a ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o ranlib liblsh.a clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh.o -MD -MP -MF .deps/lsh.Tpo -c -o lsh.o lsh.c mv -f .deps/lsh.Tpo .deps/lsh.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh lsh.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lshg.o -MD -MP -MF .deps/lshg.Tpo -c -o lshg.o lshg.c mv -f .deps/lshg.Tpo .deps/lshg.Po clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dummy.o -MD -MP -MF .deps/dummy.Tpo -c -o dummy.o dummy.c mv -f .deps/dummy.Tpo .deps/dummy.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lshg lshg.o dummy.o liblsh.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-keygen.o -MD -MP -MF .deps/lsh-keygen.Tpo -c -o lsh-keygen.o lsh-keygen.c mv -f .deps/lsh-keygen.Tpo .deps/lsh-keygen.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-keygen lsh-keygen.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-writekey.o -MD -MP -MF .deps/lsh-writekey.Tpo -c -o lsh-writekey.o lsh-writekey.c mv -f .deps/lsh-writekey.Tpo .deps/lsh-writekey.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-writekey lsh-writekey.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-decrypt-key.o -MD -MP -MF .deps/lsh-decrypt-key.Tpo -c -o lsh-decrypt-key.o lsh-decrypt-key.c mv -f .deps/lsh-decrypt-key.Tpo .deps/lsh-decrypt-key.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-decrypt-key lsh-decrypt-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-decode-key.o -MD -MP -MF .deps/lsh-decode-key.Tpo -c -o lsh-decode-key.o lsh-decode-key.c mv -f .deps/lsh-decode-key.Tpo .deps/lsh-decode-key.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-decode-key lsh-decode-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-export-key.o -MD -MP -MF .deps/lsh-export-key.Tpo -c -o lsh-export-key.o lsh-export-key.c lsh-export-key.c:169:34: warning: passing 'char [11]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && sexp_iterator_check_type(&i, "public-key"))) ^~~~~~~~~~~~ ./nettle/sexp.h:122:20: note: passing argument to parameter 'type' here const uint8_t *type); ^ 1 warning generated. mv -f .deps/lsh-export-key.Tpo .deps/lsh-export-key.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-export-key lsh-export-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-make-seed.o -MD -MP -MF .deps/lsh-make-seed.Tpo -c -o lsh-make-seed.o lsh-make-seed.c lsh-make-seed.c:312:51: warning: passing 'char [40]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] yarrow256_update(ctx, source, res * 4, res, buffer); ^~~~~~ ./nettle/yarrow.h:90:36: note: passing argument to parameter 'data' here unsigned length, const uint8_t *data); ^ lsh-make-seed.c:363:35: warning: unused parameter 'ctx' [-Wunused-parameter] get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) ^ lsh-make-seed.c:363:57: warning: unused parameter 'source' [-Wunused-parameter] get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) ^ lsh-make-seed.c:1037:16: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if (res > linux_proc_sources[i].limit) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. mv -f .deps/lsh-make-seed.Tpo .deps/lsh-make-seed.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-make-seed lsh-make-seed.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT srp-gen.o -MD -MP -MF .deps/srp-gen.Tpo -c -o srp-gen.o srp-gen.c mv -f .deps/srp-gen.Tpo .deps/srp-gen.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o srp-gen srp-gen.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lshd.o -MD -MP -MF .deps/lshd.Tpo -c -o lshd.o lshd.c mv -f .deps/lshd.Tpo .deps/lshd.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lshd lshd.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-execuv.o -MD -MP -MF .deps/lsh-execuv.Tpo -c -o lsh-execuv.o lsh-execuv.c mv -f .deps/lsh-execuv.Tpo .deps/lsh-execuv.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o lsh-execuv lsh-execuv.o -largp -lutil -lz -loop -lgmp gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' Making all in testsuite gmake[4]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite' clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-test.o -MD -MP -MF .deps/arcfour-test.Tpo -c -o arcfour-test.o arcfour-test.c arcfour-test.c:7:10: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("01234567 89ABCDEF 00000000 00000000"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ arcfour-test.c:8:10: warning: passing 'char [18]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("01234567 89ABCDEF"), ^~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ arcfour-test.c:9:10: warning: passing 'char [18]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("69723659 1B5242B1"), ^~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 3 warnings generated. mv -f .deps/arcfour-test.Tpo .deps/arcfour-test.Po clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT testutils.o -MD -MP -MF .deps/testutils.Tpo -c -o testutils.o testutils.c testutils.c:62:39: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] uint32_t length = decode_hex_length(hex); ^~~ testutils.c:39:31: note: passing argument to parameter 'h' here decode_hex_length(const char *h) ^ 1 warning generated. mv -f .deps/testutils.Tpo .deps/testutils.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-test.o -MD -MP -MF .deps/aes-test.Tpo -c -o aes-test.o aes-test.c aes-test.c:9:10: warning: passing 'char [65]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("603deb1015ca71be2b73aef0857d7781" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ aes-test.c:11:10: warning: passing 'char [129]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("6bc1bee22e409f96e93d7e117393172a" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ aes-test.c:15:10: warning: passing 'char [129]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ aes-test.c:19:10: warning: passing 'char [33]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("000102030405060708090a0b0c0d0e0f")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/aes-test.Tpo .deps/aes-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT blowfish-test.o -MD -MP -MF .deps/blowfish-test.Tpo -c -o blowfish-test.o blowfish-test.c blowfish-test.c:7:17: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0123456789ABCDEF FEDCBA9876543210"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ blowfish-test.c:8:17: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0000000000000000 1111111111111111"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ blowfish-test.c:9:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("f0fb0320a19f306d ff5880191e616c10"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ blowfish-test.c:10:10: warning: passing 'char [17]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0011223344556677")); ^~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/blowfish-test.Tpo .deps/blowfish-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o blowfish-test blowfish-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cast128-test.o -MD -MP -MF .deps/cast128-test.Tpo -c -o cast128-test.o cast128-test.c cast128-test.c:7:17: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0123456789ABCDEF FEDCBA9876543210"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ cast128-test.c:8:17: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0000000000000000 1111111111111111"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ cast128-test.c:9:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ cast128-test.c:10:10: warning: passing 'char [17]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0011223344556677")); ^~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/cast128-test.Tpo .deps/cast128-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o cast128-test cast128-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT des-test.o -MD -MP -MF .deps/des-test.Tpo -c -o des-test.o des-test.c des-test.c:7:10: warning: passing 'char [51]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0123456789ABCDEF 1313131313131313 3232323232323232"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ des-test.c:8:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0011223344556677 8899AABBCCDDEEFF"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ des-test.c:9:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("C4DB96109B6186B2 5F9AA359160909D9"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ des-test.c:10:10: warning: passing 'char [17]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0001020304050607")); ^~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/des-test.Tpo .deps/des-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o des-test des-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT serpent-test.o -MD -MP -MF .deps/serpent-test.Tpo -c -o serpent-test.o serpent-test.c serpent-test.c:7:17: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0123456789ABCDEF FEDCBA9876543210" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ serpent-test.c:9:17: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0000000000000000 0000000000000000" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ serpent-test.c:11:10: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("687a151886b6dc16 8d2b667c3b8d5226" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ serpent-test.c:13:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0011223344556677 8899AABBCCDDEEFF")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/serpent-test.Tpo .deps/serpent-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o serpent-test serpent-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT twofish-test.o -MD -MP -MF .deps/twofish-test.Tpo -c -o twofish-test.o twofish-test.c twofish-test.c:7:17: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0123456789ABCDEF FEDCBA9876543210" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ twofish-test.c:9:17: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0000000000000000 0000000000000000" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ twofish-test.c:11:10: warning: passing 'char [67]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("7c9cde6d86b1d9f2 9fceb6830c451281" ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ twofish-test.c:13:10: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0011223344556677 8899AABBCCDDEEFF")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 4 warnings generated. mv -f .deps/twofish-test.Tpo .deps/twofish-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o twofish-test twofish-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md5-test.o -MD -MP -MF .deps/md5-test.Tpo -c -o md5-test.o md5-test.c md5-test.c:12:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("D41D8CD98F00B204 E9800998ECF8427E")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:16:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0CC175B9C0F1B6A8 31C399E269772661")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:20:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("900150983cd24fb0 D6963F7D28E17F72")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:24:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("F96B697D7CB7938D 525A2F31AAF161D0")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:28:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("C3FCD3D76192E400 7DFB496CCA67E13B")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:32:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("D174AB98D277D9F5 A5611C2C9F419D9F")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:37:8: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("57EDF4A22BE3C955 AC49DA2E2107B67A")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:41:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:43:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("9294727A3638BB1C 13F48EF8158BFC9D")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:48:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("750C783E6AB0B503 EAA86E310A5DB738")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:51:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:52:7: warning: passing 'char [104]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:56:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("56BE34521D144C88 DBB8C733F0E8B3F6")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:59:7: warning: passing 'char [54]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:60:7: warning: passing 'char [104]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:64:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("697EAF0ACA3A3AEA 3A75164746FFAA79")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:67:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:69:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("56461EF2342EDC00 F9BAB995690EFD4C")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:72:7: warning: passing 'char [166]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:78:7: warning: passing 'char [33]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:81:7: warning: passing 'char [166]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ md5-test.c:88:7: warning: passing 'char [33]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("6f630fad67cda0ee1fb1f562db3aa53e")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 22 warnings generated. mv -f .deps/md5-test.Tpo .deps/md5-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o md5-test md5-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sha1-test.o -MD -MP -MF .deps/sha1-test.Tpo -c -o sha1-test.o sha1-test.c sha1-test.c:11:8: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:16:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:18:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:21:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:23:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("B617318655057264 E28BC0B6FB378C8E F146BE00")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:28:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:31:7: warning: passing 'char [34]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:32:7: warning: passing 'char [104]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:36:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:39:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:40:7: warning: passing 'char [104]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:44:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("125D7342B9AC11CD 91A39AF48AA17B4F 63F175D3")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:47:7: warning: passing 'char [54]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:48:7: warning: passing 'char [104]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:52:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("4C9007F4026250C6 BC8414F9BF50C86C 2D7235DA")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:55:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C 0C0C0C0C"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:57:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("4C1A03424B55E07F E7F27BE1D58BB932 4A9A5A04")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:60:7: warning: passing 'char [166]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:66:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AA4AE5E15272D00E 95705637CE8A3B55 ED402112")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:69:7: warning: passing 'char [166]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ sha1-test.c:76:7: warning: passing 'char [43]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] H("E8E99D0F45237D78 6D6BBAA7965C7808 BBFF1A91")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 21 warnings generated. mv -f .deps/sha1-test.Tpo .deps/sha1-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o sha1-test sha1-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-test.o -MD -MP -MF .deps/rsa-test.Tpo -c -o rsa-test.o rsa-test.c mv -f .deps/rsa-test.Tpo .deps/rsa-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o rsa-test rsa-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-test.o -MD -MP -MF .deps/dsa-test.Tpo -c -o dsa-test.o dsa-test.c mv -f .deps/dsa-test.Tpo .deps/dsa-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o dsa-test dsa-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-tag-test.o -MD -MP -MF .deps/spki-tag-test.Tpo -c -o spki-tag-test.o spki-tag-test.c mv -f .deps/spki-tag-test.Tpo .deps/spki-tag-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o spki-tag-test spki-tag-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT string-test.o -MD -MP -MF .deps/string-test.Tpo -c -o string-test.o string-test.c string-test.c:14:9: warning: passing 'char [7]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = H("66006f"); ^~~~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ string-test.c:17:9: warning: passing 'char [5]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = H("6600"); ^~~~~~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ string-test.c:20:9: warning: passing 'char [1]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = H(""); ^~ ./testutils.h:63:25: note: expanded from macro 'H' #define H(x) decode_hex(x) ^ ./testutils.h:21:33: note: passing argument to parameter here decode_hex(const unsigned char *); ^ 3 warnings generated. mv -f .deps/string-test.Tpo .deps/string-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o string-test string-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse-config-test.o -MD -MP -MF .deps/parse-config-test.Tpo -c -o parse-config-test.o parse-config-test.c parse-config-test.c:100:48: warning: passing 'const char [449]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] = config_parse_string(strlen(config_file), config_file); ^~~~~~~~~~~ /Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/../parse_config.h:36:53: note: passing argument to parameter 'data' here config_parse_string(uint32_t length, const uint8_t *data); ^ 1 warning generated. mv -f .deps/parse-config-test.Tpo .deps/parse-config-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o parse-config-test parse-config-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sockaddr2info-test.o -MD -MP -MF .deps/sockaddr2info-test.Tpo -c -o sockaddr2info-test.o sockaddr2info-test.c sockaddr2info-test.c:19:50: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(lsh_string_eq_l(info->ip, strlen(addr), addr)); ^~~~ ./testutils.h:71:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/../lsh_string.h:89:77: note: passing argument to parameter 'b' here lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); ^ sockaddr2info-test.c:35:50: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ASSERT(lsh_string_eq_l(info->ip, strlen(addr), addr)); ^~~~ ./testutils.h:71:30: note: expanded from macro 'ASSERT' #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) ^ /Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/../lsh_string.h:89:77: note: passing argument to parameter 'b' here lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); ^ 2 warnings generated. mv -f .deps/sockaddr2info-test.Tpo .deps/sockaddr2info-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o sockaddr2info-test sockaddr2info-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp clang -DHAVE_CONFIG_H -I. -I../.. -I/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT utf8-test.o -MD -MP -MF .deps/utf8-test.Tpo -c -o utf8-test.o utf8-test.c utf8-test.c:84:38: warning: passing 'char [200]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = low_utf8_to_local(length, buffer, flags[j]); ^~~~~~ /Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite/../charset.h:62:70: note: passing argument to parameter 's' here struct lsh_string *low_utf8_to_local(uint32_t length, const uint8_t *s, enum utf8_flag flags); ^ 1 warning generated. mv -f .deps/utf8-test.Tpo .deps/utf8-test.Po clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -o utf8-test utf8-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lutil -lz -loop -lgmp make check to build testprograms. gmake[4]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src/testsuite' gmake[3]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' gmake[2]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/src' Making all in doc gmake[2]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/doc' Making all in misc gmake[2]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/misc' true gmake[2]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/misc' Making all in contrib gmake[2]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/contrib' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4/contrib' gmake[2]: Entering directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4' gmake[1]: Leaving directory '/Users/pbulk/build/security/lsh/work/lsh-2.0.4'