Skip to content

Instantly share code, notes, and snippets.

@umq
Created June 12, 2013 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umq/5762685 to your computer and use it in GitHub Desktop.
Save umq/5762685 to your computer and use it in GitHub Desktop.
opendkim build log of develop branch 52a43a98cafa16c294aebc99d6e642c59346ee2a
$ git branch
* develop
master
$ git rev-parse HEAD
52a43a98cafa16c294aebc99d6e642c59346ee2a
$ git diff
diff --git a/opendkim/opendkim-db.c b/opendkim/opendkim-db.c
index 5fac364..a6a275a 100644
--- a/opendkim/opendkim-db.c
+++ b/opendkim/opendkim-db.c
@@ -6817,7 +6817,7 @@ dkimf_db_chown(DKIMF_DB db, uid_t uid)
bdb = (DB *) db->db_handle;
# if DB_VERSION_CHECK(2,0,0)
- status = bdb->fd(bdb, &fd);
+ fd = bdb->fd(bdb, &fd);
# else /* DB_VERSION_CHECK(2,0,0) */
fd = bdb->fd(bdb);
# endif /* DB_VERSION_CHECK(2,0,0) */
$ CC=clang CXX=clang++ ./configure --with-milter=/usr --with-openssl=/usr/local --enable-adsp_lists --enable-atps --enable-db_handle_pools --enable-default_sender --enable-diffheaders --enable-dkim_reputation --with-erlang --enable-identity_header --without-lcov --enable-ldap_caching --enable-rate_limit --enable-rbl --enable-redirect --enable-replace_rules --enable-reprrd --enable-reputation --with-libcurl --with-libjansson --enable-resign --enable-sender_macro --enable-socketdb --enable-statsext --enable-vbr --enable-stats --with-db-incdir=/usr/local/include/db46 --with-db-libdir=/usr/local/lib/db46 --with-db-lib=db-4.6 --with-unbound --enable-popauth --enable-query_cache --with-libmemcached --with-odbx --with-openldap --with-lua --prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking for clang option to accept ISO C99... none needed
checking whether clang and cc understand -c and -o together... yes
checking build system type... amd64-unknown-freebsd8.3
checking host system type... amd64-unknown-freebsd8.3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert amd64-unknown-freebsd8.3 file names to amd64-unknown-freebsd8.3 format... func_convert_file_noop
checking how to convert amd64-unknown-freebsd8.3 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for library containing inet_addr... none required
checking for library containing dlopen... none required
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for library containing inet_ntop... none required
checking for library containing getaddrinfo... none required
checking for library containing res_ninit... no
checking for library containing res_sertservers... no
checking for library containing getopt_long... none required
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for useconds_t... yes
checking whether the resolver works without -lresolv... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iso/limits_iso.h usability... no
checking iso/limits_iso.h presence... no
checking for iso/limits_iso.h... no
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for dup2... yes
checking for endpwent... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for getaddrinfo... yes
checking for gethostbyname2... yes
checking for gettimeofday... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for regcomp... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for realpath... yes
checking for strsep... yes
checking bsd/string.h usability... no
checking bsd/string.h presence... no
checking for bsd/string.h... no
checking strl.h usability... no
checking strl.h presence... no
checking for strl.h... no
checking for strl.h in /usr/local/include/strl... checking for strl.h in /usr/include/strl... no
checking for strlcat... yes
checking for strlcpy... yes
checking for struct sockaddr_un.sun_len... yes
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for rrdtool... yes
checking for library containing ceil... -lm
checking for sendmail... /usr/sbin/sendmail
checking for OpenSSL includes... /usr/local
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/conf.h usability... yes
checking openssl/conf.h presence... yes
checking for openssl/conf.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for library containing ERR_peek_error... none required
checking for library containing SSL_library_init... none required
checking whether SHA256_DIGEST_LENGTH is declared... yes
checking for milter library and includes... /usr
checking for library containing smfi_register... -lmilter
checking for smfi_insheader... yes
checking for smfi_opensocket... yes
checking for smfi_progress... yes
checking for smfi_setsymlist... yes
checking for smfi_version... yes
checking for RRDTOOL... yes
checking for LIBMEMCACHED... yes
checking for libunbound... /usr/local
checking for LIBTRE... yes
checking for LIBLUA... no
checking for Lua... /usr/local
checking Lua version... ok
checking for LIBODBX... yes
checking for OPENLDAP... no
checking for OpenLDAP... /usr/local
checking OpenLDAP version... ok
checking for SASL... no
checking for SASL... /usr/local
checking for CURL... yes
checking for curl_easy_strerror... yes
checking for LIBJANSSON... yes
checking for BerkeleyDB db.h... /usr/local/include/db46
checking for library containing db_create... -ldb-4.6
checking for log_file in -ldb... no
checking for domainname... /bin/domainname
checking for Erlang... /usr/local/lib/erlang/lib/erl_interface-3.7.9
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating autobuild/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/convert/Makefile
config.status: creating contrib/docs/Makefile
config.status: creating contrib/init/Makefile
config.status: creating contrib/init/generic/Makefile
config.status: creating contrib/init/redhat/Makefile
config.status: creating contrib/init/redhat/opendkim
config.status: creating contrib/init/redhat/opendkim-default-keygen
config.status: creating contrib/init/solaris/Makefile
config.status: creating contrib/ldap/Makefile
config.status: creating contrib/lua/Makefile
config.status: creating contrib/patches/Makefile
config.status: creating contrib/spec/Makefile
config.status: creating contrib/spec/opendkim.spec
config.status: creating contrib/stats/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating contrib/systemd/opendkim.service
config.status: creating libdkimrep/dkim-rep.pc
config.status: creating libdkimrep/Makefile
config.status: creating libdkimrep/tests/Makefile
config.status: creating libopendkim/opendkim.pc
config.status: creating libopendkim/Makefile
config.status: creating libopendkim/docs/Makefile
config.status: creating libopendkim/tests/Makefile
config.status: creating librbl/rbl.pc
config.status: creating librbl/Makefile
config.status: creating libstrl/strl.pc
config.status: creating libstrl/Makefile
config.status: creating libut/ut.pc
config.status: creating libut/Makefile
config.status: creating libvbr/vbr.pc
config.status: creating libvbr/Makefile
config.status: creating miltertest/Makefile
config.status: creating opendkim/Makefile
config.status: creating opendkim/opendkim.8
config.status: creating opendkim/opendkim-genkey
config.status: creating opendkim/opendkim-genkey.8
config.status: creating opendkim/opendkim-genzone.8
config.status: creating opendkim/opendkim-lua.3
config.status: creating opendkim/opendkim-testadsp.8
config.status: creating opendkim/opendkim-testkey.8
config.status: creating opendkim/opendkim-stats.8
config.status: creating opendkim/opendkim-testmsg.8
config.status: creating opendkim/opendkim.conf.5
config.status: creating opendkim/opendkim.conf.simple
config.status: creating opendkim/opendkim.conf.simple-verify
config.status: creating opendkim/opendkim-atpszone.8
config.status: creating opendkim/opendkim-spam.1
config.status: creating opendkim/tests/Makefile
config.status: creating stats/Makefile
config.status: creating stats/opendkim-importstats.8
config.status: creating stats/opendkim-expire
config.status: creating stats/opendkim-expire.8
config.status: creating stats/opendkim-gengraphs
config.status: creating stats/opendkim-gengraphs.8
config.status: creating stats/opendkim-genstats
config.status: creating stats/opendkim-genstats.8
config.status: creating stats/opendkim-reportstats
config.status: creating reprrd/Makefile
config.status: creating reprrd/opendkim-reprrdimport
config.status: creating reprrd/opendkim-reprrdimport.8
config.status: creating reprrd/reprrd.pc
config.status: creating reputation/Makefile
config.status: creating reputation/opendkim-genrates
config.status: creating reputation/opendkim-genrates.8
config.status: creating reputation/opendkim-modtotals
config.status: creating reputation/opendkim-modtotals.8
config.status: creating reputation/opendkim-rephistory
config.status: creating reputation/opendkim-rephistory.8
config.status: creating reputation/repute.pc
config.status: creating build-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
Making all in libopendkim
Making all in tests
Making all in docs
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base32.lo -MD -MP -MF .deps/libopendkim_la-base32.Tpo -c -o libopendkim_la-base32.lo `test -f 'base32.c' || echo './'`base32.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base32.lo -MD -MP -MF .deps/libopendkim_la-base32.Tpo -c base32.c -fPIC -DPIC -o .libs/libopendkim_la-base32.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base32.lo -MD -MP -MF .deps/libopendkim_la-base32.Tpo -c base32.c -o libopendkim_la-base32.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-base32.Tpo .deps/libopendkim_la-base32.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base64.lo -MD -MP -MF .deps/libopendkim_la-base64.Tpo -c -o libopendkim_la-base64.lo `test -f 'base64.c' || echo './'`base64.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base64.lo -MD -MP -MF .deps/libopendkim_la-base64.Tpo -c base64.c -fPIC -DPIC -o .libs/libopendkim_la-base64.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-base64.lo -MD -MP -MF .deps/libopendkim_la-base64.Tpo -c base64.c -o libopendkim_la-base64.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-base64.Tpo .deps/libopendkim_la-base64.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-atps.lo -MD -MP -MF .deps/libopendkim_la-dkim-atps.Tpo -c -o libopendkim_la-dkim-atps.lo `test -f 'dkim-atps.c' || echo './'`dkim-atps.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-atps.lo -MD -MP -MF .deps/libopendkim_la-dkim-atps.Tpo -c dkim-atps.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-atps.o
dkim-atps.c:138:45: warning: passing 'char [5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
adomain = dkim_sig_gettagvalue(sig, FALSE, "atps");
^~~~~~
./dkim.h:1672:73: note: passing argument to parameter here
extern u_char *dkim_sig_gettagvalue __P((DKIM_SIGINFO *, _Bool, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
dkim-atps.c:139:43: warning: passing 'char [6]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ahash = dkim_sig_gettagvalue(sig, FALSE, "atpsh");
^~~~~~~
./dkim.h:1672:73: note: passing argument to parameter here
extern u_char *dkim_sig_gettagvalue __P((DKIM_SIGINFO *, _Bool, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
dkim-atps.c:142:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
ahash == NULL || strcasecmp(adomain, fdomain) != 0)
^~~~~~~
/usr/include/strings.h:60:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim-atps.c:142:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
ahash == NULL || strcasecmp(adomain, fdomain) != 0)
^~~~~~~
/usr/include/strings.h:60:43: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim-atps.c:146:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(ahash, "none") != 0)
^~~~~
/usr/include/strings.h:60:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim-atps.c:148:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
hash = dkim_name_to_code(hashes, ahash);
^~~~~
./dkim-tables.h:49:53: note: passing argument to parameter 'name' here
const char *name));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-atps.c:201:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
SHA1_Update(&ctx, sdomain, strlen(sdomain));
^~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dkim-atps.c:208:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
SHA256_Update(&ctx2, sdomain, strlen(sdomain));
^~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dkim-atps.c:222:26: warning: passing 'u_char [65]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (dkim_base32_encode(b32, &buflen,
^~~
./dkim.h:2067:42: note: passing argument to parameter here
extern int dkim_base32_encode __P((char *, size_t *, const void *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
dkim-atps.c:228:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(query, sizeof query, "%s._atps.%s", b32, fdomain);
^~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-atps.c:233:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(query, sizeof query, "%s._atps.%s", sdomain, fdomain);
^~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-atps.c:468:13: warning: passing 'u_char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcmp(buf, DKIM_ATPS_VALID) == 0)
^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int strcmp(const char *, const char *) __pure;
^
12 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-atps.lo -MD -MP -MF .deps/libopendkim_la-dkim-atps.Tpo -c dkim-atps.c -o libopendkim_la-dkim-atps.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-atps.Tpo .deps/libopendkim_la-dkim-atps.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-cache.lo -MD -MP -MF .deps/libopendkim_la-dkim-cache.Tpo -c -o libopendkim_la-dkim-cache.lo `test -f 'dkim-cache.c' || echo './'`dkim-cache.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-cache.lo -MD -MP -MF .deps/libopendkim_la-dkim-cache.Tpo -c dkim-cache.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-cache.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-cache.lo -MD -MP -MF .deps/libopendkim_la-dkim-cache.Tpo -c dkim-cache.c -o libopendkim_la-dkim-cache.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-cache.Tpo .deps/libopendkim_la-dkim-cache.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-canon.lo -MD -MP -MF .deps/libopendkim_la-dkim-canon.Tpo -c -o libopendkim_la-dkim-canon.lo `test -f 'dkim-canon.c' || echo './'`dkim-canon.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-canon.lo -MD -MP -MF .deps/libopendkim_la-dkim-canon.Tpo -c dkim-canon.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-canon.o
dkim-canon.c:1220:32: warning: 'memset' call operates on objects of type 'struct dkim_header *' while the size is based on a different type 'struct dkim_header **' [-Wsizeof-pointer-memaccess]
memset(hdrset, '\0', sizeof hdrset);
~~~~~~ ^~~~~~
dkim-canon.c:1220:32: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
memset(hdrset, '\0', sizeof hdrset);
^~~~~~
1 warning generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-canon.lo -MD -MP -MF .deps/libopendkim_la-dkim-canon.Tpo -c dkim-canon.c -o libopendkim_la-dkim-canon.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-canon.Tpo .deps/libopendkim_la-dkim-canon.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-dns.lo -MD -MP -MF .deps/libopendkim_la-dkim-dns.Tpo -c -o libopendkim_la-dkim-dns.lo `test -f 'dkim-dns.c' || echo './'`dkim-dns.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-dns.lo -MD -MP -MF .deps/libopendkim_la-dkim-dns.Tpo -c dkim-dns.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-dns.o
dkim-dns.c:182:8: warning: comparison of constant 18446744073709551615 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (n == (size_t) -1)
~ ^ ~~~~~~~~~~~
1 warning generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-dns.lo -MD -MP -MF .deps/libopendkim_la-dkim-dns.Tpo -c dkim-dns.c -o libopendkim_la-dkim-dns.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-dns.Tpo .deps/libopendkim_la-dkim-dns.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-keys.lo -MD -MP -MF .deps/libopendkim_la-dkim-keys.Tpo -c -o libopendkim_la-dkim-keys.lo `test -f 'dkim-keys.c' || echo './'`dkim-keys.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-keys.lo -MD -MP -MF .deps/libopendkim_la-dkim-keys.Tpo -c dkim-keys.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-keys.o
dkim-keys.c:124:29: warning: passing 'unsigned char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qname, 0, buf, &blen, &err);
^~~~~
./dkim-cache.h:26:46: note: passing argument to parameter here
extern int dkim_cache_query __P((DB *, char *, int, char *, size_t *, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-keys.c:124:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qname, 0, buf, &blen, &err);
^~~
./dkim-cache.h:26:59: note: passing argument to parameter here
extern int dkim_cache_query __P((DB *, char *, int, char *, size_t *, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-keys.c:398:30: warning: passing 'unsigned char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qname, buf, ttl, &err);
^~~~~
./dkim-cache.h:25:47: note: passing argument to parameter here
extern int dkim_cache_insert __P((DB *, char *, char *, int, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-keys.c:398:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qname, buf, ttl, &err);
^~~
./dkim-cache.h:25:55: note: passing argument to parameter here
extern int dkim_cache_insert __P((DB *, char *, char *, int, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
4 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-keys.lo -MD -MP -MF .deps/libopendkim_la-dkim-keys.Tpo -c dkim-keys.c -o libopendkim_la-dkim-keys.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-keys.Tpo .deps/libopendkim_la-dkim-keys.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-mailparse.lo -MD -MP -MF .deps/libopendkim_la-dkim-mailparse.Tpo -c -o libopendkim_la-dkim-mailparse.lo `test -f 'dkim-mailparse.c' || echo './'`dkim-mailparse.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-mailparse.lo -MD -MP -MF .deps/libopendkim_la-dkim-mailparse.Tpo -c dkim-mailparse.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-mailparse.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-mailparse.lo -MD -MP -MF .deps/libopendkim_la-dkim-mailparse.Tpo -c dkim-mailparse.c -o libopendkim_la-dkim-mailparse.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-mailparse.Tpo .deps/libopendkim_la-dkim-mailparse.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-policy.lo -MD -MP -MF .deps/libopendkim_la-dkim-policy.Tpo -c -o libopendkim_la-dkim-policy.lo `test -f 'dkim-policy.c' || echo './'`dkim-policy.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-policy.lo -MD -MP -MF .deps/libopendkim_la-dkim-policy.Tpo -c dkim-policy.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-policy.o
dkim-policy.c:430:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = dkim_cache_query(lib->dkiml_cache, query, 0,
^~~~~
./dkim-cache.h:26:46: note: passing argument to parameter here
extern int dkim_cache_query __P((DB *, char *, int, char *, size_t *, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-policy.c:431:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
buf, &blen, &err);
^~~
./dkim-cache.h:26:59: note: passing argument to parameter here
extern int dkim_cache_query __P((DB *, char *, int, char *, size_t *, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-policy.c:700:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
query, outbuf, ttl, &err);
^~~~~
./dkim-cache.h:25:47: note: passing argument to parameter here
extern int dkim_cache_insert __P((DB *, char *, char *, int, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim-policy.c:700:37: warning: passing 'unsigned char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
query, outbuf, ttl, &err);
^~~~~~
./dkim-cache.h:25:55: note: passing argument to parameter here
extern int dkim_cache_insert __P((DB *, char *, char *, int, int *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
4 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-policy.lo -MD -MP -MF .deps/libopendkim_la-dkim-policy.Tpo -c dkim-policy.c -o libopendkim_la-dkim-policy.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-policy.Tpo .deps/libopendkim_la-dkim-policy.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-report.lo -MD -MP -MF .deps/libopendkim_la-dkim-report.Tpo -c -o libopendkim_la-dkim-report.lo `test -f 'dkim-report.c' || echo './'`dkim-report.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-report.lo -MD -MP -MF .deps/libopendkim_la-dkim-report.Tpo -c dkim-report.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-report.o
dkim-report.c:96:11: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(query, sizeof query, "%s.%s", DKIM_REPORT_PREFIX,
^~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
1 warning generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-report.lo -MD -MP -MF .deps/libopendkim_la-dkim-report.Tpo -c dkim-report.c -o libopendkim_la-dkim-report.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-report.Tpo .deps/libopendkim_la-dkim-report.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-tables.lo -MD -MP -MF .deps/libopendkim_la-dkim-tables.Tpo -c -o libopendkim_la-dkim-tables.lo `test -f 'dkim-tables.c' || echo './'`dkim-tables.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-tables.lo -MD -MP -MF .deps/libopendkim_la-dkim-tables.Tpo -c dkim-tables.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-tables.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-tables.lo -MD -MP -MF .deps/libopendkim_la-dkim-tables.Tpo -c dkim-tables.c -o libopendkim_la-dkim-tables.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-tables.Tpo .deps/libopendkim_la-dkim-tables.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-test.lo -MD -MP -MF .deps/libopendkim_la-dkim-test.Tpo -c -o libopendkim_la-dkim-test.lo `test -f 'dkim-test.c' || echo './'`dkim-test.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-test.lo -MD -MP -MF .deps/libopendkim_la-dkim-test.Tpo -c dkim-test.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-test.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-test.lo -MD -MP -MF .deps/libopendkim_la-dkim-test.Tpo -c dkim-test.c -o libopendkim_la-dkim-test.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-test.Tpo .deps/libopendkim_la-dkim-test.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-util.lo -MD -MP -MF .deps/libopendkim_la-dkim-util.Tpo -c -o libopendkim_la-dkim-util.lo `test -f 'dkim-util.c' || echo './'`dkim-util.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-util.lo -MD -MP -MF .deps/libopendkim_la-dkim-util.Tpo -c dkim-util.c -fPIC -DPIC -o .libs/libopendkim_la-dkim-util.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim-util.lo -MD -MP -MF .deps/libopendkim_la-dkim-util.Tpo -c dkim-util.c -o libopendkim_la-dkim-util.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim-util.Tpo .deps/libopendkim_la-dkim-util.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim.lo -MD -MP -MF .deps/libopendkim_la-dkim.Tpo -c -o libopendkim_la-dkim.lo `test -f 'dkim.c' || echo './'`dkim.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim.lo -MD -MP -MF .deps/libopendkim_la-dkim.Tpo -c dkim.c -fPIC -DPIC -o .libs/libopendkim_la-dkim.o
dkim.c:225:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
"from",
^~~~~~
dkim.c:232:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
"from",
^~~~~~
dkim.c:233:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
"reply-to",
^~~~~~~~~~
dkim.c:234:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
"subject",
^~~~~~~~~
dkim.c:235:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
"date",
^~~~~~
dkim.c:236:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
"to",
^~~~
dkim.c:237:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
"cc",
^~~~
dkim.c:238:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"resent-date",
^~~~~~~~~~~~~
dkim.c:239:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"resent-from",
^~~~~~~~~~~~~
dkim.c:240:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign]
"resent-sender",
^~~~~~~~~~~~~~~
dkim.c:241:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
"resent-to",
^~~~~~~~~~~
dkim.c:242:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
"resent-cc",
^~~~~~~~~~~
dkim.c:243:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"in-reply-to",
^~~~~~~~~~~~~
dkim.c:244:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
"references",
^~~~~~~~~~~~
dkim.c:245:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-id",
^~~~~~~~~
dkim.c:246:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-help",
^~~~~~~~~~~
dkim.c:247:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-unsubscribe",
^~~~~~~~~~~~~~~~~~
dkim.c:248:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-subscribe",
^~~~~~~~~~~~~~~~
dkim.c:249:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-post",
^~~~~~~~~~~
dkim.c:250:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-owner",
^~~~~~~~~~~~
dkim.c:251:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign]
"list-archive",
^~~~~~~~~~~~~~
dkim.c:258:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign]
"return-path",
^~~~~~~~~~~~~
dkim.c:259:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
"received",
^~~~~~~~~~
dkim.c:260:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
"comments",
^~~~~~~~~~
dkim.c:261:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
"keywords",
^~~~~~~~~~
dkim.c:268:2: warning: initializing 'const u_char *' (aka 'const unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign]
"from",
^~~~~~
dkim.c:742:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
tmp = (unsigned int) strtoul(value, (char **) &p, 10);
^~~~~
/usr/include/stdlib.h:112:34: note: passing argument to parameter here
strtoul(const char * __restrict, char ** __restrict, int);
^
dkim.c:972:23: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
"; ", 2);
^~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:974:43: warning: passing 'char [1025]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_cat(dkim->dkim_sslerrbuf, tmp);
^~~
./dkim-util.h:35:67: note: passing argument to parameter here
extern _Bool dkim_dstring_cat __P((struct dkim_dstring *, u_char *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:1038:23: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
"; ", 2);
^~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:1040:41: warning: passing 'char [1025]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_cat(sig->sig_sslerrbuf, tmp);
^~~
./dkim-util.h:35:67: note: passing argument to parameter here
extern _Bool dkim_dstring_cat __P((struct dkim_dstring *, u_char *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:2365:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sd = strchr(dkim->dkim_signer, '@');
^~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char *strchr(const char *, int) __pure;
^
dkim.c:2365:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sd = strchr(dkim->dkim_signer, '@');
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:2372:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(sd + 1, sig->sig_domain) == 0)
^~~~~~
/usr/include/strings.h:60:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim.c:2372:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(sd + 1, sig->sig_domain) == 0)
^~~~~~~~~~~~~~~
/usr/include/strings.h:60:43: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim.c:2378:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
for (sd = strchr(sd + 1, '.');
^~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char *strchr(const char *, int) __pure;
^
dkim.c:2378:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
for (sd = strchr(sd + 1, '.');
^ ~~~~~~~~~~~~~~~~~~~
dkim.c:2380:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sd = strchr(sd + 1, '.'))
^~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char *strchr(const char *, int) __pure;
^
dkim.c:2380:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sd = strchr(sd + 1, '.'))
^ ~~~~~~~~~~~~~~~~~~~
dkim.c:2382:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(sd + 1, sig->sig_domain) == 0)
^~~~~~
/usr/include/strings.h:60:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim.c:2382:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcasecmp(sd + 1, sig->sig_domain) == 0)
^~~~~~~~~~~~~~~
/usr/include/strings.h:60:43: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
dkim.c:2542:28: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_catn(dstr, delim, delimlen);
^~~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:2543:28: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_catn(dstr, "h=", 2);
^~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:3167:31: warning: passing 'char [5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Date", 4, 0);
^~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3174:31: warning: passing 'char [5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Date", 4, 1);
^~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3183:31: warning: passing 'char [5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "From", 4, 0);
^~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3190:31: warning: passing 'char [5]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "From", 4, 1);
^~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3199:31: warning: passing 'char [7]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Sender", 6, 1);
^~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3208:31: warning: passing 'char [9]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Reply-To", 8, 1);
^~~~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3217:31: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "To", 2, 1);
^~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3226:31: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Cc", 2, 1);
^~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3235:31: warning: passing 'char [4]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Bcc", 3, 1);
^~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3244:31: warning: passing 'char [11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Message-ID", 10, 1);
^~~~~~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3253:31: warning: passing 'char [12]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "In-Reply-To", 11, 1);
^~~~~~~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3262:31: warning: passing 'char [11]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "References", 10, 1);
^~~~~~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3271:31: warning: passing 'char [8]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hdr = dkim_get_header(dkim, "Subject", 7, 1);
^~~~~~~~~
dkim.c:1293:37: note: passing argument to parameter 'name' here
dkim_get_header(DKIM *dkim, u_char *name, size_t namelen, int inst)
^
dkim.c:3717:6: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
hn = (u_char *) dkim_check_requiredhdrs(dkim);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:4315:44: warning: passing 'u_char [1025]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
libhandle->dkiml_tmpdir);
^~~~~~~~~~~~~~~~~~~~~~~
./dkim-cache.h:24:46: note: passing argument to parameter here
extern DB *dkim_cache_init __P((int *, char *));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:6121:49: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size]
strlcpy((char *) dkim->dkim_zdecode, z, strlen(z));
~~~~~~~^~
dkim.c:6272:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
ohdrs[c], strlen(ohdrs[c]),
^~~~~~~~
./dkim-canon.h:36:77: note: passing argument to parameter here
dkim_canon_t, unsigned char *,
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:6331:29: warning: passing 'u_char [1025]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = tre_regcomp(&re, restr, REG_NOSUB);
^~~~~
/usr/local/include/tre/tre.h:132:40: note: passing argument to parameter 'regex' here
tre_regcomp(regex_t *preg, const char *regex, int cflags);
^
dkim.c:6357:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncmp(dkim_dstring_get(cohdrs[c]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:101:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t) __pure;
^
dkim.c:6358:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_get(tmphdr),
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:101:40: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t) __pure;
^
dkim.c:6363:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (strcmp(dkim_dstring_get(cohdrs[c]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int strcmp(const char *, const char *) __pure;
^
dkim.c:6364:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_get(tmphdr)) == 0)
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:39: note: passing argument to parameter here
int strcmp(const char *, const char *) __pure;
^
dkim.c:6368:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = tre_regaexec(&re, dkim_dstring_get(cohdrs[c]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/tre/tre.h:205:47: note: passing argument to parameter 'string' here
tre_regaexec(const regex_t *preg, const char *string,
^
dkim.c:6417:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
diffs[n].hd_old = ohdrs[c];
^ ~~~~~~~~
dkim.c:6537:31: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_catn(tmphdr, CRLF, 2);
^~~~
dkim.c:136:16: note: expanded from macro 'CRLF'
#define CRLF "\r\n"
^~~~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:6811:42: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_dstring_catn(dkim->dkim_hdrbuf, CRLF, 2);
^~~~
dkim.c:136:16: note: expanded from macro 'CRLF'
#define CRLF "\r\n"
^~~~~~
./dkim-util.h:37:68: note: passing argument to parameter here
extern _Bool dkim_dstring_catn __P((struct dkim_dstring *, u_char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:7034:9: warning: returning 'const u_char *' (aka 'const unsigned char *') from a function with result type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return dkim->dkim_id;
^~~~~~~~~~~~~
dkim.c:7546:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
sdomain = dkim_sig_getdomain(sig);
^ ~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:7592:41: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
buf, strlen(buf), NULL, FALSE,
^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dkim.c:8900:39: warning: passing 'char [2]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
h = dkim_param_get(sig->sig_taglist, "h");
^~~
dkim.c:380:39: note: passing argument to parameter 'param' here
dkim_param_get(DKIM_SET *set, u_char *param)
^
dkim.c:8936:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(&hdrs[n * hdrlen], sighdrs[n]->hdr_text, hdrlen);
^~~~~~~~~~~~~~~~~
/usr/include/string.h:94:34: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
dkim.c:8936:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(&hdrs[n * hdrlen], sighdrs[n]->hdr_text, hdrlen);
^~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
dkim.c:9390:44: warning: passing 'char [1025]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
len = dkim_qp_encode((u_char *) options, tmp, sizeof tmp);
^~~
./util.h:36:50: note: passing argument to parameter here
extern int dkim_qp_encode __P((u_char *, u_char *, int));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:9420:33: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q->qm_type = dkim_strdup(dkim, type, 0);
^~~~
./dkim-util.h:31:69: note: passing argument to parameter here
extern unsigned char *dkim_strdup __P((DKIM *, const unsigned char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:9420:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q->qm_type = dkim_strdup(dkim, type, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:9431:37: warning: passing 'char [1025]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q->qm_options = dkim_strdup(dkim, tmp, 0);
^~~
./dkim-util.h:31:69: note: passing argument to parameter here
extern unsigned char *dkim_strdup __P((DKIM *, const unsigned char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:9431:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
q->qm_options = dkim_strdup(dkim, tmp, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:9548:32: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
x->xt_tag = dkim_strdup(dkim, tag, 0);
^~~
./dkim-util.h:31:69: note: passing argument to parameter here
extern unsigned char *dkim_strdup __P((DKIM *, const unsigned char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:9548:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
x->xt_tag = dkim_strdup(dkim, tag, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:9549:34: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
x->xt_value = dkim_strdup(dkim, value, 0);
^~~~~
./dkim-util.h:31:69: note: passing argument to parameter here
extern unsigned char *dkim_strdup __P((DKIM *, const unsigned char *, size_t));
^
/usr/local/include/db46/db.h:40:21: note: expanded from macro '__P'
#define __P(protos) protos
^
dkim.c:9549:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
x->xt_value = dkim_strdup(dkim, value, 0);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:9718:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim->dkim_domain,
^~~~~~~~~~~~~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
dkim.c:9843:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return dkim_dstring_get(sig->sig_sslerrbuf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dkim.c:9864:10: warning: returning 'u_char *' (aka 'unsigned char *') from a function with result type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return dkim_dstring_get(dkim->dkim_sslerrbuf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
87 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-dkim.lo -MD -MP -MF .deps/libopendkim_la-dkim.Tpo -c dkim.c -o libopendkim_la-dkim.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-dkim.Tpo .deps/libopendkim_la-dkim.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-util.lo -MD -MP -MF .deps/libopendkim_la-util.Tpo -c -o libopendkim_la-util.lo `test -f 'util.c' || echo './'`util.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-util.lo -MD -MP -MF .deps/libopendkim_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libopendkim_la-util.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I-I/usr/local/include/db46 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -I/usr/local/include/db46 -g -O2 -MT libopendkim_la-util.lo -MD -MP -MF .deps/libopendkim_la-util.Tpo -c util.c -o libopendkim_la-util.o >/dev/null 2>&1
mv -f .deps/libopendkim_la-util.Tpo .deps/libopendkim_la-util.Plo
grep '^extern' dkim.h | awk '{ for (c = 1; c <= NF; c++) if ($c ~ /dkim_/) { print $c; break; } }' | sed -e s/\[\*\;\]//g -e s/\[\\\[\\\]\]//g | sort -u -o symbols.map
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -I/usr/local/include -I/usr/local/include/db46 -g -O2 -no-undefined -L/usr/local/lib -version-info 9:1:0 -export-symbols symbols.map -L/usr/local/lib/db46 -o libopendkim.la -rpath /usr/local/lib libopendkim_la-base32.lo libopendkim_la-base64.lo libopendkim_la-dkim-atps.lo libopendkim_la-dkim-cache.lo libopendkim_la-dkim-canon.lo libopendkim_la-dkim-dns.lo libopendkim_la-dkim-keys.lo libopendkim_la-dkim-mailparse.lo libopendkim_la-dkim-policy.lo libopendkim_la-dkim-report.lo libopendkim_la-dkim-tables.lo libopendkim_la-dkim-test.lo libopendkim_la-dkim-util.lo libopendkim_la-dkim.lo libopendkim_la-util.lo -lssl -lcrypto -ltre -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -ldb-4.6 -ldb-4.6 -ltre -L/usr/local/lib /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -lm
libtool: link: clang -shared -fPIC -DPIC .libs/libopendkim_la-base32.o .libs/libopendkim_la-base64.o .libs/libopendkim_la-dkim-atps.o .libs/libopendkim_la-dkim-cache.o .libs/libopendkim_la-dkim-canon.o .libs/libopendkim_la-dkim-dns.o .libs/libopendkim_la-dkim-keys.o .libs/libopendkim_la-dkim-mailparse.o .libs/libopendkim_la-dkim-policy.o .libs/libopendkim_la-dkim-report.o .libs/libopendkim_la-dkim-tables.o .libs/libopendkim_la-dkim-test.o .libs/libopendkim_la-dkim-util.o .libs/libopendkim_la-dkim.o .libs/libopendkim_la-util.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/db46 -lssl -lcrypto -ldb-4.6 /usr/local/lib/libtre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lm -O2 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libopendkim.so.9 -Wl,-retain-symbols-file -Wl,symbols.map -o .libs/libopendkim.so.9
libtool: link: (cd ".libs" && rm -f "libopendkim.so" && ln -s "libopendkim.so.9" "libopendkim.so")
libtool: link: (cd ".libs" && rm -f "libopendkim.so" && ln -s "libopendkim.so.9" "libopendkim.so")
libtool: link: ar cru .libs/libopendkim.a libopendkim_la-base32.o libopendkim_la-base64.o libopendkim_la-dkim-atps.o libopendkim_la-dkim-cache.o libopendkim_la-dkim-canon.o libopendkim_la-dkim-dns.o libopendkim_la-dkim-keys.o libopendkim_la-dkim-mailparse.o libopendkim_la-dkim-policy.o libopendkim_la-dkim-report.o libopendkim_la-dkim-tables.o libopendkim_la-dkim-test.o libopendkim_la-dkim-util.o libopendkim_la-dkim.o libopendkim_la-util.o
libtool: link: ranlib .libs/libopendkim.a
libtool: link: ( cd ".libs" && rm -f "libopendkim.la" && ln -s "../libopendkim.la" "libopendkim.la" )
Making all in contrib
Making all in convert
Making all in docs
Making all in init
Making all in generic
Making all in redhat
Making all in solaris
Making all in ldap
Making all in lua
Making all in patches
Making all in spec
Making all in stats
Making all in systemd
Making all in docs
Making all in libvbr
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT vbr.lo -MD -MP -MF .deps/vbr.Tpo -c -o vbr.lo vbr.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT vbr.lo -MD -MP -MF .deps/vbr.Tpo -c vbr.c -fPIC -DPIC -o .libs/vbr.o
vbr.c:463:8: warning: comparison of constant 18446744073709551615 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (n == (size_t) -1)
~ ^ ~~~~~~~~~~~
vbr.c:1003:2: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy((char *) certs, vbr->vbr_cert, sizeof certs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vbr.c:136:41: note: expanded from macro 'strlcpy'
#define strlcpy(x,y,z) vbr_strlcpy((x), (y), (z))
^~~
vbr.c:1068:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(vbr->vbr_error, sizeof vbr->vbr_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
vbr.c:1080:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(vbr->vbr_error, sizeof vbr->vbr_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
4 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT vbr.lo -MD -MP -MF .deps/vbr.Tpo -c vbr.c -o vbr.o >/dev/null 2>&1
mv -f .deps/vbr.Tpo .deps/vbr.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -version-info 2:0:0 -o libvbr.la -rpath /usr/local/lib vbr.lo -lm
libtool: link: clang -shared -fPIC -DPIC .libs/vbr.o -lm -O2 -Wl,-soname -Wl,libvbr.so.2 -o .libs/libvbr.so.2
libtool: link: (cd ".libs" && rm -f "libvbr.so" && ln -s "libvbr.so.2" "libvbr.so")
libtool: link: (cd ".libs" && rm -f "libvbr.so" && ln -s "libvbr.so.2" "libvbr.so")
libtool: link: ar cru .libs/libvbr.a vbr.o
libtool: link: ranlib .libs/libvbr.a
libtool: link: ( cd ".libs" && rm -f "libvbr.la" && ln -s "../libvbr.la" "libvbr.la" )
Making all in librbl
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT rbl.lo -MD -MP -MF .deps/rbl.Tpo -c -o rbl.lo rbl.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT rbl.lo -MD -MP -MF .deps/rbl.Tpo -c rbl.c -fPIC -DPIC -o .libs/rbl.o
rbl.c:156:8: warning: comparison of constant 18446744073709551615 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (n == (size_t) -1)
~ ^ ~~~~~~~~~~~
rbl.c:315:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
rbl.c:448:10: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(rbl->rbl_qroot, qroot, sizeof rbl->rbl_qroot);
^~~~~~~~~~~~~~
/usr/include/string.h:102:32: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
rbl.c:448:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(rbl->rbl_qroot, qroot, sizeof rbl->rbl_qroot);
^~~~~
/usr/include/string.h:102:57: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
rbl.c:948:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:953:11: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rblquery, sizeof rblquery, "%s.%s", query, rbl->rbl_qroot);
^~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:980:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1027:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1056:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1065:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1075:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1099:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1109:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1135:14: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1147:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1154:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1165:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1178:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1189:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1197:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
rbl.c:1204:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(rbl->rbl_error, sizeof rbl->rbl_error,
^~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
21 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT rbl.lo -MD -MP -MF .deps/rbl.Tpo -c rbl.c -o rbl.o >/dev/null 2>&1
mv -f .deps/rbl.Tpo .deps/rbl.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -version-info 1:0:0 -o librbl.la -rpath /usr/local/lib rbl.lo -lm
libtool: link: clang -shared -fPIC -DPIC .libs/rbl.o -lm -O2 -Wl,-soname -Wl,librbl.so.1 -o .libs/librbl.so.1
libtool: link: (cd ".libs" && rm -f "librbl.so" && ln -s "librbl.so.1" "librbl.so")
libtool: link: (cd ".libs" && rm -f "librbl.so" && ln -s "librbl.so.1" "librbl.so")
libtool: link: ar cru .libs/librbl.a rbl.o
libtool: link: ranlib .libs/librbl.a
libtool: link: ( cd ".libs" && rm -f "librbl.la" && ln -s "../librbl.la" "librbl.la" )
Making all in libdkimrep
Making all in tests
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT libdkimrep_la-dkim-rep.lo -MD -MP -MF .deps/libdkimrep_la-dkim-rep.Tpo -c -o libdkimrep_la-dkim-rep.lo `test -f 'dkim-rep.c' || echo './'`dkim-rep.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT libdkimrep_la-dkim-rep.lo -MD -MP -MF .deps/libdkimrep_la-dkim-rep.Tpo -c dkim-rep.c -fPIC -DPIC -o .libs/libdkimrep_la-dkim-rep.o
dkim-rep.c:184:8: warning: comparison of constant 18446744073709551615 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (n == (size_t) -1)
~ ^ ~~~~~~~~~~~
dkim-rep.c:397:26: warning: passing 'char [23]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_rep_setdomain(new, DKIM_REP_DEFROOT);
^~~~~~~~~~~~~~~~
./dkim-rep.h:33:26: note: expanded from macro 'DKIM_REP_DEFROOT'
#define DKIM_REP_DEFROOT "al.dkim-reputation.org"
^~~~~~~~~~~~~~~~~~~~~~~~
./dkim-rep.h:95:55: note: passing argument to parameter here
extern void dkim_rep_setdomain __P((DKIM_REP, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
dkim-rep.c:463:10: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(dr->dkim_rep_qroot, qroot, sizeof dr->dkim_rep_qroot);
^~~~~~~~~~~~~~~~~~
/usr/include/string.h:102:32: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
dkim-rep.c:463:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(dr->dkim_rep_qroot, qroot, sizeof dr->dkim_rep_qroot);
^~~~~
/usr/include/string.h:102:57: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
dkim-rep.c:565:58: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
MD5_Update(&md5_signdomain, (void *) signdomain, strlen(signdomain));
^~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dkim-rep.c:584:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:590:34: warning: passing 'char [257]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
query, q->drq_buf, sizeof q->drq_buf,
^~~~~
dkim-rep.c:595:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:657:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:686:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:695:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:705:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:728:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:738:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:764:14: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:777:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:784:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:795:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:808:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:819:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:828:12: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dkim-rep.c:871:13: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dr->dkim_rep_error, sizeof dr->dkim_rep_error,
^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
22 warnings generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT libdkimrep_la-dkim-rep.lo -MD -MP -MF .deps/libdkimrep_la-dkim-rep.Tpo -c dkim-rep.c -o libdkimrep_la-dkim-rep.o >/dev/null 2>&1
mv -f .deps/libdkimrep_la-dkim-rep.Tpo .deps/libdkimrep_la-dkim-rep.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -no-undefined -version-info 1:0:0 -L/usr/local/lib -o libdkimrep.la -rpath /usr/local/lib libdkimrep_la-dkim-rep.lo -lssl -lcrypto -lm
libtool: link: clang -shared -fPIC -DPIC .libs/libdkimrep_la-dkim-rep.o -L/usr/local/lib -lssl -lcrypto -lm -O2 -Wl,-soname -Wl,libdkimrep.so.1 -o .libs/libdkimrep.so.1
libtool: link: (cd ".libs" && rm -f "libdkimrep.so" && ln -s "libdkimrep.so.1" "libdkimrep.so")
libtool: link: (cd ".libs" && rm -f "libdkimrep.so" && ln -s "libdkimrep.so.1" "libdkimrep.so")
libtool: link: ar cru .libs/libdkimrep.a libdkimrep_la-dkim-rep.o
libtool: link: ranlib .libs/libdkimrep.a
libtool: link: ( cd ".libs" && rm -f "libdkimrep.la" && ln -s "../libdkimrep.la" "libdkimrep.la" )
Making all in miltertest
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/include -I/usr/local/include/lua52 -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT miltertest-miltertest.o -MD -MP -MF .deps/miltertest-miltertest.Tpo -c -o miltertest-miltertest.o `test -f 'miltertest.c' || echo './'`miltertest.c
mv -f .deps/miltertest-miltertest.Tpo .deps/miltertest-miltertest.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 ../libopendkim/libopendkim.la -L/usr/local/lib/lua52 -o miltertest miltertest-miltertest.o -llua -lm -lm
libtool: link: clang -g -O2 -o .libs/miltertest miltertest-miltertest.o ../libopendkim/.libs/libopendkim.so -L/usr/local/lib -L/usr/local/lib/db46 -lssl -lcrypto -ldb-4.6 /usr/local/lib/libtre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -L/usr/local/lib/lua52 -llua -lm -Wl,-rpath -Wl,/usr/local/lib
Making all in stats
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I./../opendkim -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_importstats-opendkim-importstats.o -MD -MP -MF .deps/opendkim_importstats-opendkim-importstats.Tpo -c -o opendkim_importstats-opendkim-importstats.o `test -f 'opendkim-importstats.c' || echo './'`opendkim-importstats.c
mv -f .deps/opendkim_importstats-opendkim-importstats.Tpo .deps/opendkim_importstats-opendkim-importstats.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -I/usr/local/include -g -O2 -o opendkim-importstats opendkim_importstats-opendkim-importstats.o -L/usr/local/lib -lopendbx -lm
libtool: link: clang -I/usr/local/include -g -O2 -o opendkim-importstats opendkim_importstats-opendkim-importstats.o -L/usr/local/lib /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
Making all in libut
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT ut.lo -MD -MP -MF .deps/ut.Tpo -c -o ut.lo ut.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT ut.lo -MD -MP -MF .deps/ut.Tpo -c ut.c -fPIC -DPIC -o .libs/ut.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT ut.lo -MD -MP -MF .deps/ut.Tpo -c ut.c -o ut.o >/dev/null 2>&1
mv -f .deps/ut.Tpo .deps/ut.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -version-info 1:0:0 -o libut.la -rpath /usr/local/lib ut.lo -lm
libtool: link: clang -shared -fPIC -DPIC .libs/ut.o -lm -O2 -Wl,-soname -Wl,libut.so.1 -o .libs/libut.so.1
libtool: link: (cd ".libs" && rm -f "libut.so" && ln -s "libut.so.1" "libut.so")
libtool: link: (cd ".libs" && rm -f "libut.so" && ln -s "libut.so.1" "libut.so")
libtool: link: ar cru .libs/libut.a ut.o
libtool: link: ranlib .libs/libut.a
libtool: link: ( cd ".libs" && rm -f "libut.la" && ln -s "../libut.la" "libut.la" )
Making all in reputation
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I../libut -g -O2 -MT librepute_la-repute.lo -MD -MP -MF .deps/librepute_la-repute.Tpo -c -o librepute_la-repute.lo `test -f 'repute.c' || echo './'`repute.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I../libut -g -O2 -MT librepute_la-repute.lo -MD -MP -MF .deps/librepute_la-repute.Tpo -c repute.c -fPIC -DPIC -o .libs/librepute_la-repute.o
repute.c:656:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
snprintf(buf, buflen, curl_easy_strerror(rio->repute_errcode));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I../libut -g -O2 -MT librepute_la-repute.lo -MD -MP -MF .deps/librepute_la-repute.Tpo -c repute.c -o librepute_la-repute.o >/dev/null 2>&1
mv -f .deps/librepute_la-repute.Tpo .deps/librepute_la-repute.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I../libut -g -O2 -no-undefined -D_THREAD_SAFE -pthread -version-info 1:0:0 -o librepute.la -rpath /usr/local/lib librepute_la-repute.lo -L/usr/local/lib -lcurl -L/usr/local/lib -ljansson ../libut/libut.la -lm
libtool: link: clang -shared -fPIC -DPIC .libs/librepute_la-repute.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/home/umq/work/git/sf.net/opendkim/libut/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libcurl.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/libssh2.so -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lrtmp /usr/local/lib/libjansson.so ../libut/.libs/libut.so -lm -pthread -O2 -pthread -pthread -Wl,-soname -Wl,librepute.so.1 -o .libs/librepute.so.1
libtool: link: (cd ".libs" && rm -f "librepute.so" && ln -s "librepute.so.1" "librepute.so")
libtool: link: (cd ".libs" && rm -f "librepute.so" && ln -s "librepute.so.1" "librepute.so")
libtool: link: ar cru .libs/librepute.a librepute_la-repute.o
libtool: link: ranlib .libs/librepute.a
libtool: link: ( cd ".libs" && rm -f "librepute.la" && ln -s "../librepute.la" "librepute.la" )
Making all in reprrd
/usr/local/bin/bash ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT libreprrd_la-reprrd.lo -MD -MP -MF .deps/libreprrd_la-reprrd.Tpo -c -o libreprrd_la-reprrd.lo `test -f 'reprrd.c' || echo './'`reprrd.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT libreprrd_la-reprrd.lo -MD -MP -MF .deps/libreprrd_la-reprrd.Tpo -c reprrd.c -fPIC -DPIC -o .libs/libreprrd_la-reprrd.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT libreprrd_la-reprrd.lo -MD -MP -MF .deps/libreprrd_la-reprrd.Tpo -c reprrd.c -o libreprrd_la-reprrd.o >/dev/null 2>&1
mv -f .deps/libreprrd_la-reprrd.Tpo .deps/libreprrd_la-reprrd.Plo
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -no-undefined -version-info 1:0:0 -o libreprrd.la -rpath /usr/local/lib libreprrd_la-reprrd.lo -L/usr/local/lib -lrrd -lm
libtool: link: clang -shared -fPIC -DPIC .libs/libreprrd_la-reprrd.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/librrd.so -L/usr/lib -lwrap /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libffi.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libpcre.so /usr/local/lib/libcairo.so /usr/local/lib/libpixman-1.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lbz2 -lpng15 /usr/local/lib/libxcb-shm.so /usr/local/lib/libxcb-render.so /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc /usr/local/lib/libxml2.so -lz -llzma /usr/local/lib/libiconv.so -lm -pthread -O2 -pthread -Wl,-soname -Wl,libreprrd.so.1 -o .libs/libreprrd.so.1
libtool: link: (cd ".libs" && rm -f "libreprrd.so" && ln -s "libreprrd.so.1" "libreprrd.so")
libtool: link: (cd ".libs" && rm -f "libreprrd.so" && ln -s "libreprrd.so.1" "libreprrd.so")
libtool: link: ar cru .libs/libreprrd.a libreprrd_la-reprrd.o
libtool: link: ranlib .libs/libreprrd.a
libtool: link: ( cd ".libs" && rm -f "libreprrd.la" && ln -s "../libreprrd.la" "libreprrd.la" )
Making all in autobuild
clang -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT autobuild-autobuild.o -MD -MP -MF .deps/autobuild-autobuild.Tpo -c -o autobuild-autobuild.o `test -f 'autobuild.c' || echo './'`autobuild.c
autobuild.c:171:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
err.column, err.position);
^~~~~~~~~~~~
autobuild.c:300:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
progname, nargs + nopts, combos);
^~~~~~~~~~~~~
autobuild.c:300:36: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
progname, nargs + nopts, combos);
^~~~~~
3 warnings generated.
mv -f .deps/autobuild-autobuild.Tpo .deps/autobuild-autobuild.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -o autobuild autobuild-autobuild.o -L/usr/local/lib -ljansson -lm -lm
libtool: link: clang -g -O2 -o autobuild autobuild-autobuild.o -L/usr/local/lib /usr/local/lib/libjansson.so -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
Making all in opendkim
Making all in tests
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_spam-config.o -MD -MP -MF .deps/opendkim_spam-config.Tpo -c -o opendkim_spam-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/opendkim_spam-config.Tpo .deps/opendkim_spam-config.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_spam-opendkim-spam.o -MD -MP -MF .deps/opendkim_spam-opendkim-spam.Tpo -c -o opendkim_spam-opendkim-spam.o `test -f 'opendkim-spam.c' || echo './'`opendkim-spam.c
mv -f .deps/opendkim_spam-opendkim-spam.Tpo .deps/opendkim_spam-opendkim-spam.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -I/usr/local/include -g -O2 -o opendkim-spam opendkim_spam-config.o opendkim_spam-opendkim-spam.o -L/usr/local/lib -lopendbx -lm
libtool: link: clang -I/usr/local/include -g -O2 -o opendkim-spam opendkim_spam-config.o opendkim_spam-opendkim-spam.o -L/usr/local/lib /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_genzone-config.o -MD -MP -MF .deps/opendkim_genzone-config.Tpo -c -o opendkim_genzone-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/opendkim_genzone-config.Tpo .deps/opendkim_genzone-config.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_genzone-opendkim-db.o -MD -MP -MF .deps/opendkim_genzone-opendkim-db.Tpo -c -o opendkim_genzone-opendkim-db.o `test -f 'opendkim-db.c' || echo './'`opendkim-db.c
opendkim-db.c:1950:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:1965:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2004:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2021:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2162:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2175:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2202:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2219:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2368:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_relist_data);
^~~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5324:40: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_catn(sdb->sockdb_buf, inbuf, wlen);
^~~~~
./util.h:74:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_catn __P((struct dkimf_dstring *, u_char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5326:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
tmp = dkimf_dstring_get(sdb->sockdb_buf);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
mv -f .deps/opendkim_genzone-opendkim-db.Tpo .deps/opendkim_genzone-opendkim-db.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_genzone-opendkim-genzone.o -MD -MP -MF .deps/opendkim_genzone-opendkim-genzone.Tpo -c -o opendkim_genzone-opendkim-genzone.o `test -f 'opendkim-genzone.c' || echo './'`opendkim-genzone.c
mv -f .deps/opendkim_genzone-opendkim-genzone.Tpo .deps/opendkim_genzone-opendkim-genzone.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_genzone-opendkim-lua.o -MD -MP -MF .deps/opendkim_genzone-opendkim-lua.Tpo -c -o opendkim_genzone-opendkim-lua.o `test -f 'opendkim-lua.c' || echo './'`opendkim-lua.c
mv -f .deps/opendkim_genzone-opendkim-lua.Tpo .deps/opendkim_genzone-opendkim-lua.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_genzone-util.o -MD -MP -MF .deps/opendkim_genzone-util.Tpo -c -o opendkim_genzone-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/opendkim_genzone-util.Tpo .deps/opendkim_genzone-util.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -I/usr/local/include -g -O2 -L/usr/local/lib -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib -o opendkim-genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o opendkim_genzone-util.o ../libopendkim/libopendkim.la -lssl -lcrypto -ldb-4.6 -L/usr/local/lib -lopendbx -L/usr/local/lib -lmemcached -lmemcachedutil -L/usr/local/lib -lldap -llber -llua -lm ../reputation/librepute.la -pthread -lerl_interface -lei -lm
libtool: link: clang -I/usr/local/include -g -O2 -o .libs/opendkim-genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o opendkim_genzone-util.o -pthread -L/usr/local/lib -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib ../libopendkim/.libs/libopendkim.so /usr/local/lib/libtre.so -ldb-4.6 /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libmemcachedutil.so /usr/local/lib/libmemcached.so -lexecinfo -llua ../reputation/.libs/librepute.so /usr/local/lib/libcurl.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/libssh2.so -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lrtmp /usr/local/lib/libjansson.so /usr/home/umq/work/git/sf.net/opendkim/libut/.libs/libut.so -lerl_interface -lei -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libssl.so.8
/usr/local/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libcrypto.so.8
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT opendkim_testadsp-opendkim-testadsp.o -MD -MP -MF .deps/opendkim_testadsp-opendkim-testadsp.Tpo -c -o opendkim_testadsp-opendkim-testadsp.o `test -f 'opendkim-testadsp.c' || echo './'`opendkim-testadsp.c
mv -f .deps/opendkim_testadsp-opendkim-testadsp.Tpo .deps/opendkim_testadsp-opendkim-testadsp.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -o opendkim-testadsp opendkim_testadsp-opendkim-testadsp.o ../libopendkim/libopendkim.la -lssl -lcrypto -lm
libtool: link: clang -g -O2 -o .libs/opendkim-testadsp opendkim_testadsp-opendkim-testadsp.o ../libopendkim/.libs/libopendkim.so -L/usr/local/lib -L/usr/local/lib/db46 -ldb-4.6 /usr/local/lib/libtre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lssl -lcrypto -lm -Wl,-rpath -Wl,/usr/local/lib
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-config.o -MD -MP -MF .deps/opendkim_testkey-config.Tpo -c -o opendkim_testkey-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/opendkim_testkey-config.Tpo .deps/opendkim_testkey-config.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-opendkim-crypto.o -MD -MP -MF .deps/opendkim_testkey-opendkim-crypto.Tpo -c -o opendkim_testkey-opendkim-crypto.o `test -f 'opendkim-crypto.c' || echo './'`opendkim-crypto.c
mv -f .deps/opendkim_testkey-opendkim-crypto.Tpo .deps/opendkim_testkey-opendkim-crypto.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-opendkim-db.o -MD -MP -MF .deps/opendkim_testkey-opendkim-db.Tpo -c -o opendkim_testkey-opendkim-db.o `test -f 'opendkim-db.c' || echo './'`opendkim-db.c
opendkim-db.c:1950:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:1965:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2004:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2021:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2162:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2175:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2202:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2219:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2368:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_relist_data);
^~~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5324:40: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_catn(sdb->sockdb_buf, inbuf, wlen);
^~~~~
./util.h:74:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_catn __P((struct dkimf_dstring *, u_char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5326:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
tmp = dkimf_dstring_get(sdb->sockdb_buf);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
mv -f .deps/opendkim_testkey-opendkim-db.Tpo .deps/opendkim_testkey-opendkim-db.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-opendkim-dns.o -MD -MP -MF .deps/opendkim_testkey-opendkim-dns.Tpo -c -o opendkim_testkey-opendkim-dns.o `test -f 'opendkim-dns.c' || echo './'`opendkim-dns.c
opendkim-dns.c:811:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qlen = res_mkquery(QUERY, query, C_IN, type, NULL, 0, NULL,
^~~~~
/usr/include/resolv.h:311:35: note: passing argument to parameter here
int res_mkquery(int, const char *, int, int, const u_char *,
^
opendkim-dns.c:892:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qstart = fq->fq_rbuf;
^ ~~~~~~~~~~~
opendkim-dns.c:893:5: warning: assigning to 'char *' from 'unsigned char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = fq->fq_qbuf;
^ ~~~~~~~~~~~
opendkim-dns.c:905:51: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(void) dn_expand((unsigned char *) fq->fq_qbuf, eom, cp,
^~~
/usr/include/resolv.h:446:46: note: passing argument to parameter here
int dn_expand(const u_char *, const u_char *, const u_char *,
^
opendkim-dns.c:905:56: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(void) dn_expand((unsigned char *) fq->fq_qbuf, eom, cp,
^~
/usr/include/resolv.h:446:62: note: passing argument to parameter here
int dn_expand(const u_char *, const u_char *, const u_char *,
^
opendkim-dns.c:908:24: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((n = dn_skipname(cp, eom)) < 0)
^~
/usr/include/resolv.h:426:32: note: passing argument to parameter here
int dn_skipname(const u_char *, const u_char *);
^
opendkim-dns.c:908:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((n = dn_skipname(cp, eom)) < 0)
^~~
/usr/include/resolv.h:426:48: note: passing argument to parameter here
int dn_skipname(const u_char *, const u_char *);
^
opendkim-dns.c:973:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = fq->fq_rbuf + HFIXEDSZ;
^ ~~~~~~~~~~~~~~~~~~~~~~
opendkim-dns.c:974:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
eom = fq->fq_rbuf + fq->fq_rbuflen;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim-dns.c:977:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
elen = dn_comp(qname, cp, eom - cp, dnptrs, lastdnptr);
^~
/usr/include/resolv.h:445:36: note: passing argument to parameter here
int dn_comp(const char *, u_char *, int, u_char **, u_char **);
^
opendkim-dns.c:985:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
elen = dn_comp(qname, cp, eom - cp, dnptrs, lastdnptr);
^~
/usr/include/resolv.h:445:36: note: passing argument to parameter here
int dn_comp(const char *, u_char *, int, u_char **, u_char **);
^
opendkim-dns.c:993:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len = cp;
^ ~~
opendkim-dns.c:1015:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = len;
^ ~~~
13 warnings generated.
mv -f .deps/opendkim_testkey-opendkim-dns.Tpo .deps/opendkim_testkey-opendkim-dns.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-opendkim-lua.o -MD -MP -MF .deps/opendkim_testkey-opendkim-lua.Tpo -c -o opendkim_testkey-opendkim-lua.o `test -f 'opendkim-lua.c' || echo './'`opendkim-lua.c
mv -f .deps/opendkim_testkey-opendkim-lua.Tpo .deps/opendkim_testkey-opendkim-lua.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-opendkim-testkey.o -MD -MP -MF .deps/opendkim_testkey-opendkim-testkey.Tpo -c -o opendkim_testkey-opendkim-testkey.o `test -f 'opendkim-testkey.c' || echo './'`opendkim-testkey.c
mv -f .deps/opendkim_testkey-opendkim-testkey.Tpo .deps/opendkim_testkey-opendkim-testkey.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libdkimrep -I./../librbl -I./../libvbr -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim_testkey-util.o -MD -MP -MF .deps/opendkim_testkey-util.Tpo -c -o opendkim_testkey-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/opendkim_testkey-util.Tpo .deps/opendkim_testkey-util.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -L/usr/local/lib -L/usr/local/lib/lua52 -L/usr/local/lib/db46 -L/usr/local/lib -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib -o opendkim-testkey opendkim_testkey-config.o opendkim_testkey-opendkim-crypto.o opendkim_testkey-opendkim-db.o opendkim_testkey-opendkim-dns.o opendkim_testkey-opendkim-lua.o opendkim_testkey-opendkim-testkey.o opendkim_testkey-util.o ../libopendkim/libopendkim.la -lssl -lcrypto -llua -lm -ldb-4.6 -L/usr/local/lib -lopendbx -L/usr/local/lib -lmemcached -lmemcachedutil -L/usr/local/lib -lldap -llber -lunbound ../libdkimrep/libdkimrep.la ../librbl/librbl.la ../libvbr/libvbr.la ../reputation/librepute.la -pthread -lerl_interface -lei -lm
libtool: link: clang -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -o .libs/opendkim-testkey opendkim_testkey-config.o opendkim_testkey-opendkim-crypto.o opendkim_testkey-opendkim-db.o opendkim_testkey-opendkim-dns.o opendkim_testkey-opendkim-lua.o opendkim_testkey-opendkim-testkey.o opendkim_testkey-util.o -pthread -L/usr/local/lib -L/usr/local/lib/lua52 -L/usr/local/lib/db46 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib ../libopendkim/.libs/libopendkim.so /usr/local/lib/libtre.so -llua -ldb-4.6 /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libmemcachedutil.so /usr/local/lib/libmemcached.so -lexecinfo /usr/local/lib/libunbound.so /usr/local/lib/libldns.so -lutil ../libdkimrep/.libs/libdkimrep.so ../librbl/.libs/librbl.so ../libvbr/.libs/libvbr.so ../reputation/.libs/librepute.so /usr/local/lib/libcurl.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/libssh2.so -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lrtmp /usr/local/lib/libjansson.so /usr/home/umq/work/git/sf.net/opendkim/libut/.libs/libut.so -lerl_interface -lei -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libssl.so.8
/usr/local/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libcrypto.so.8
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT opendkim_testmsg-opendkim-testmsg.o -MD -MP -MF .deps/opendkim_testmsg-opendkim-testmsg.Tpo -c -o opendkim_testmsg-opendkim-testmsg.o `test -f 'opendkim-testmsg.c' || echo './'`opendkim-testmsg.c
opendkim-testmsg.c:248:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim = dkim_verify(lib, progname, NULL, &status);
^~~~~~~~
./../libopendkim/dkim.h:467:73: note: passing argument to parameter 'id' here
extern DKIM *dkim_verify __P((DKIM_LIB *libhandle, const unsigned char *id,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:259:25: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim = dkim_sign(lib, progname, NULL, keydata, selector,
^~~~~~~~
./../libopendkim/dkim.h:443:71: note: passing argument to parameter 'id' here
extern DKIM *dkim_sign __P((DKIM_LIB *libhandle, const unsigned char *id,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:259:41: warning: passing 'char *' to parameter of type 'dkim_sigkey_t' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim = dkim_sign(lib, progname, NULL, keydata, selector,
^~~~~~~
./../libopendkim/dkim.h:444:67: note: passing argument to parameter 'secretkey' here
void *memclosure, const dkim_sigkey_t secretkey,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:259:50: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkim = dkim_sign(lib, progname, NULL, keydata, selector,
^~~~~~~~
./../libopendkim/dkim.h:445:50: note: passing argument to parameter 'selector' here
const unsigned char *selector,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:260:20: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
domain, hc, bc, sa, l, &status);
^~~~~~
./../libopendkim/dkim.h:446:50: note: passing argument to parameter 'domain' here
const unsigned char *domain,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:320:29: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = dkim_chunk(dkim, buf, rlen);
^~~
./../libopendkim/dkim.h:547:54: note: passing argument to parameter 'buf' here
extern DKIM_STAT dkim_chunk __P((DKIM *dkim, u_char *buf, size_t buflen));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-testmsg.c:390:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
decr(sighdr);
^~~~~~
opendkim-testmsg.c:82:12: note: passing argument to parameter 'str' here
decr(char *str)
^
7 warnings generated.
mv -f .deps/opendkim_testmsg-opendkim-testmsg.Tpo .deps/opendkim_testmsg-opendkim-testmsg.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -o opendkim-testmsg opendkim_testmsg-opendkim-testmsg.o ../libopendkim/libopendkim.la -lssl -lcrypto -lm
libtool: link: clang -g -O2 -o .libs/opendkim-testmsg opendkim_testmsg-opendkim-testmsg.o ../libopendkim/.libs/libopendkim.so -L/usr/local/lib -L/usr/local/lib/db46 -ldb-4.6 /usr/local/lib/libtre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lssl -lcrypto -lm -Wl,-rpath -Wl,/usr/local/lib
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_atpszone-config.o -MD -MP -MF .deps/opendkim_atpszone-config.Tpo -c -o opendkim_atpszone-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/opendkim_atpszone-config.Tpo .deps/opendkim_atpszone-config.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_atpszone-opendkim-db.o -MD -MP -MF .deps/opendkim_atpszone-opendkim-db.Tpo -c -o opendkim_atpszone-opendkim-db.o `test -f 'opendkim-db.c' || echo './'`opendkim-db.c
opendkim-db.c:1950:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:1965:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2004:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2021:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2162:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2175:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2202:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2219:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2368:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_relist_data);
^~~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5324:40: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_catn(sdb->sockdb_buf, inbuf, wlen);
^~~~~
./util.h:74:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_catn __P((struct dkimf_dstring *, u_char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5326:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
tmp = dkimf_dstring_get(sdb->sockdb_buf);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
mv -f .deps/opendkim_atpszone-opendkim-db.Tpo .deps/opendkim_atpszone-opendkim-db.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_atpszone-opendkim-atpszone.o -MD -MP -MF .deps/opendkim_atpszone-opendkim-atpszone.Tpo -c -o opendkim_atpszone-opendkim-atpszone.o `test -f 'opendkim-atpszone.c' || echo './'`opendkim-atpszone.c
opendkim-atpszone.c:419:19: warning: passing 'char [257]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_lowercase(domain);
^~~~~~
./util.h:58:42: note: passing argument to parameter here
extern void dkimf_lowercase __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-atpszone.c:448:18: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
SHA256_Final(shaout, &sha256);
^~~~~~
/usr/local/include/openssl/sha.h:154:33: note: passing argument to parameter 'md' here
int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
opendkim-atpszone.c:454:16: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
SHA1_Final(shaout, &sha);
^~~~~~
/usr/local/include/openssl/sha.h:124:31: note: passing argument to parameter 'md' here
int SHA1_Final(unsigned char *md, SHA_CTX *c);
^
3 warnings generated.
mv -f .deps/opendkim_atpszone-opendkim-atpszone.Tpo .deps/opendkim_atpszone-opendkim-atpszone.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_atpszone-opendkim-lua.o -MD -MP -MF .deps/opendkim_atpszone-opendkim-lua.Tpo -c -o opendkim_atpszone-opendkim-lua.o `test -f 'opendkim-lua.c' || echo './'`opendkim-lua.c
mv -f .deps/opendkim_atpszone-opendkim-lua.Tpo .deps/opendkim_atpszone-opendkim-lua.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/lua52 -I/usr/include -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -I/usr/local/include -g -O2 -MT opendkim_atpszone-util.o -MD -MP -MF .deps/opendkim_atpszone-util.Tpo -c -o opendkim_atpszone-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/opendkim_atpszone-util.Tpo .deps/opendkim_atpszone-util.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -I/usr/local/include -g -O2 -L/usr/local/lib -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib -o opendkim-atpszone opendkim_atpszone-config.o opendkim_atpszone-opendkim-db.o opendkim_atpszone-opendkim-atpszone.o opendkim_atpszone-opendkim-lua.o opendkim_atpszone-util.o ../libopendkim/libopendkim.la -lssl -lcrypto -ldb-4.6 -L/usr/local/lib -lopendbx -L/usr/local/lib -lmemcached -lmemcachedutil -L/usr/local/lib -lldap -llber -llua -lm ../reputation/librepute.la -pthread -lerl_interface -lei -lm
libtool: link: clang -I/usr/local/include -g -O2 -o .libs/opendkim-atpszone opendkim_atpszone-config.o opendkim_atpszone-opendkim-db.o opendkim_atpszone-opendkim-atpszone.o opendkim_atpszone-opendkim-lua.o opendkim_atpszone-util.o -pthread -L/usr/local/lib -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib ../libopendkim/.libs/libopendkim.so /usr/local/lib/libtre.so -ldb-4.6 /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libmemcachedutil.so /usr/local/lib/libmemcached.so -lexecinfo -llua ../reputation/.libs/librepute.so /usr/local/lib/libcurl.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/libssh2.so -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lrtmp /usr/local/lib/libjansson.so /usr/home/umq/work/git/sf.net/opendkim/libut/.libs/libut.so -lerl_interface -lei -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libssl.so.8
/usr/local/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libcrypto.so.8
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -g -O2 -MT opendkim_stats-opendkim-stats.o -MD -MP -MF .deps/opendkim_stats-opendkim-stats.Tpo -c -o opendkim_stats-opendkim-stats.o `test -f 'opendkim-stats.c' || echo './'`opendkim-stats.c
mv -f .deps/opendkim_stats-opendkim-stats.Tpo .deps/opendkim_stats-opendkim-stats.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -g -O2 -o opendkim-stats opendkim_stats-opendkim-stats.o ../libopendkim/libopendkim.la -lssl -lcrypto -lm
libtool: link: clang -g -O2 -o .libs/opendkim-stats opendkim_stats-opendkim-stats.o ../libopendkim/.libs/libopendkim.so -L/usr/local/lib -L/usr/local/lib/db46 -ldb-4.6 /usr/local/lib/libtre.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lssl -lcrypto -lm -Wl,-rpath -Wl,/usr/local/lib
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim.o -MD -MP -MF .deps/opendkim-opendkim.Tpo -c -o opendkim-opendkim.o `test -f 'opendkim.c' || echo './'`opendkim.c
opendkim.c:1276:27: warning: passing 'char [257]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = dkim_mail_parse(addr, &user, &domain);
^~~~
./../libopendkim/dkim.h:1538:41: note: passing argument to parameter 'addr' here
extern int dkim_mail_parse __P((u_char *addr, u_char **user, u_char **domain));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:1303:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
opendkim.c:1557:21: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
lua_pushstring(l, rbl_geterror(rbl));
^~~~~~~~~~~~~~~~~
/usr/local/include/lua52/lua.h:210:65: note: passing argument to parameter 's' here
LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
^
opendkim.c:1684:10: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(field, lua_tostring(l, 1), sizeof field);
^~~~~
/usr/include/string.h:94:34: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:1700:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
lua_pushstring(l, user);
^~~~
/usr/local/include/lua52/lua.h:210:65: note: passing argument to parameter 's' here
LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
^
opendkim.c:1701:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
lua_pushstring(l, domain);
^~~~~~
/usr/local/include/lua52/lua.h:210:65: note: passing argument to parameter 's' here
LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
^
opendkim.c:2301:21: warning: passing 'unsigned char [257]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
lua_pushstring(l, dfc->mctx_envfrom);
^~~~~~~~~~~~~~~~~
/usr/local/include/lua52/lua.h:210:65: note: passing argument to parameter 's' here
LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
^
opendkim.c:2431:39: warning: incompatible pointer types passing 'struct sockaddr_storage *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types]
popauth = dkimf_checkpopauth(popdb, &cc->cctx_ip);
^~~~~~~~~~~~
./util.h:45:65: note: passing argument to parameter here
extern _Bool dkimf_checkpopauth __P((DKIMF_DB, struct sockaddr *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:4279:28: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkim_rep_setdomain(dr, qroot);
^~~~~
./../libdkimrep/dkim-rep.h:95:55: note: passing argument to parameter here
extern void dkim_rep_setdomain __P((DKIM_REP, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:4437:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(p);
^
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:4438:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(q + 1);
^~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:5272:7: warning: assigning to 'char *' from 'unsigned char [257]' converts between pointers to integer types with different sign [-Wpointer-sign]
d = dfc->mctx_domain;
^ ~~~~~~~~~~~~~~~~
opendkim.c:5276:19: warning: passing 'char [65537]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_reptoken(tmpdata, sizeof tmpdata, keydata, d);
^~~~~~~
opendkim.c:4629:24: note: passing argument to parameter 'out' here
dkimf_reptoken(u_char *out, size_t outlen, u_char *in, u_char *sub)
^
opendkim.c:5276:44: warning: passing 'char [65537]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_reptoken(tmpdata, sizeof tmpdata, keydata, d);
^~~~~~~
opendkim.c:4629:52: note: passing argument to parameter 'in' here
dkimf_reptoken(u_char *out, size_t outlen, u_char *in, u_char *sub)
^
opendkim.c:5276:53: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_reptoken(tmpdata, sizeof tmpdata, keydata, d);
^
opendkim.c:4629:64: note: passing argument to parameter 'sub' here
dkimf_reptoken(u_char *out, size_t outlen, u_char *in, u_char *sub)
^
opendkim.c:9353:27: warning: passing 'char [257]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = dkim_mail_parse(addr, (u_char **) &user, (u_char **) &domain);
^~~~
./../libopendkim/dkim.h:1538:41: note: passing argument to parameter 'addr' here
extern int dkim_mail_parse __P((u_char *addr, u_char **user, u_char **domain));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:9545:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
domain = dkim_sig_getdomain(sig);
^ ~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:9546:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
selector = dkim_sig_getselector(sig);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:10179:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain, sizeof keyname);
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10233:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain, sizeof keyname);
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10272:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain, sizeof keyname);
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10319:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain,
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10363:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain,
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10410:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain, sizeof keyname);
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:10448:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(keyname, domain, sizeof keyname);
^~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:11479:32: warning: passing 'char [257]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
val, sizeof val - 1);
^~~
./../libopendkim/dkim.h:816:52: note: passing argument to parameter 'val' here
u_char *val, size_t vallen));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:11481:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
domain = dkim_sig_getdomain(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:11883:11: warning: passing 'unsigned char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(dfc->mctx_envfrom, envfrom[0],
^~~~~~~~~~~~~~~~~
/usr/include/string.h:94:34: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:11886:16: warning: passing 'unsigned char [257]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len = strlen(dfc->mctx_envfrom);
^~~~~~~~~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
opendkim.c:12228:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = dkimf_dstring_get(dfc->mctx_tmpstr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:12257:32: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_copy(tmphdr, str);
^~~
./util.h:71:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_copy __P((struct dkimf_dstring *, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:12259:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_cat(tmphdr, rep->repl_txt);
^~~~~~~~~~~~~
./util.h:72:69: note: passing argument to parameter here
extern _Bool dkimf_dstring_cat __P((struct dkimf_dstring *, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:12260:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_cat(tmphdr, str + match.rm_eo);
^~~~~~~~~~~~~~~~~
./util.h:72:69: note: passing argument to parameter here
extern _Bool dkimf_dstring_cat __P((struct dkimf_dstring *, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:12263:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
str = dkimf_dstring_get(tmphdr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:12264:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_cat(dfc->mctx_tmpstr, str);
^~~
./util.h:72:69: note: passing argument to parameter here
extern _Bool dkimf_dstring_cat __P((struct dkimf_dstring *, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:12444:11: warning: passing 'u_char [257]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(addr, conf->conf_defsender, sizeof addr);
^~~~
/usr/include/string.h:94:34: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:12537:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dfc->mctx_jobid))
^~~~~~~~~~~~~~~
opendkim.c:9341:46: note: passing argument to parameter 'jobid' here
dkimf_checkbldb(DKIMF_DB db, char *to, char *jobid)
^
opendkim.c:12540:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dfc->mctx_laddr = a->a_addr;
^ ~~~~~~~~~
opendkim.c:13189:20: warning: passing 'unsigned char [257]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dfc->mctx_domain);
^~~~~~~~~~~~~~~~
opendkim.c:4502:41: note: passing argument to parameter 'key' here
dkimf_db_error(DKIMF_DB db, const char *key)
^
opendkim.c:13253:28: warning: passing 'unsigned char [257]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dfc->mctx_domain);
^~~~~~~~~~~~~~~~
./../libopendkim/dkim.h:1993:71: note: passing argument to parameter here
extern DKIM_STAT dkim_add_xtag __P((DKIM *, const char *, const char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:13381:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
status = dkim_mail_parse(hdr->hdr_val,
^~~~~~~~~~~~
./../libopendkim/dkim.h:1538:41: note: passing argument to parameter 'addr' here
extern int dkim_mail_parse __P((u_char *addr, u_char **user, u_char **domain));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:13583:27: warning: passing 'char [4097]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
header, sizeof header);
^~~~~~
./../libvbr/vbr.h:113:58: note: passing argument to parameter here
extern VBR_STAT vbr_getheader __P((VBR *, unsigned char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:13588:9: warning: assigning to 'const char *' from 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
err = vbr_geterror(dfc->mctx_vbr);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:13718:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_get(dfc->mctx_tmpstr),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/regex.h:115:64: note: passing argument to parameter here
int regexec(const regex_t * __restrict, const char * __restrict, size_t,
^
opendkim.c:14383:13: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
domain = dkim_sig_getdomain(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:14384:15: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
selector = dkim_sig_getselector(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:14404:27: warning: passing 'char [3]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
"; ",
^~~~
./util.h:74:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_catn __P((struct dkimf_dstring *, u_char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:14876:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strcasecmp(dkim_sig_getdomain(sigs[c]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:60:29: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
opendkim.c:14877:21: warning: passing 'unsigned char [257]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dfc->mctx_domain) != 0)
^~~~~~~~~~~~~~~~
/usr/include/strings.h:60:43: note: passing argument to parameter here
int strcasecmp(const char *, const char *) __pure;
^
opendkim.c:15005:67: warning: '&&' within '||' [-Wlogical-op-parentheses]
(dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
opendkim.c:15005:67: note: place parentheses around the '&&' expression to silence this warning
(dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
opendkim.c:15009:9: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cd = dkim_sig_getdomain(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:15182:67: warning: '&&' within '||' [-Wlogical-op-parentheses]
(dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
opendkim.c:15182:67: note: place parentheses around the '&&' expression to silence this warning
(dkim_sig_getflags(sigs[c]) & DKIM_SIGFLAG_TESTKEY) != 0 &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
opendkim.c:15188:9: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cd = dkim_sig_getdomain(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:15211:11: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cd = dkim_sig_getdomain(sigs[c]);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:15366:23: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_ar_all_sigs(header, sizeof header,
^~~~~~
opendkim.c:11358:25: note: passing argument to parameter 'hdr' here
dkimf_ar_all_sigs(char *hdr, size_t hdrlen, DKIM *dkim,
^
opendkim.c:15602:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
domain = dkim_sig_getdomain(sig);
^ ~~~~~~~~~~~~~~~~~~~~~~~
opendkim.c:15858:15: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(header, sizeof header,
^~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
opendkim.c:15866:39: warning: passing 'unsigned char [4097]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlen(header));
^~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
opendkim.c:15912:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (dkimf_rate_check(dkim_sig_getdomain(sigs[c]),
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./flowrate.h:28:46: note: passing argument to parameter here
extern int dkimf_rate_check __P((const char *, DKIMF_DB, DKIMF_DB, int, int,
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:16159:15: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcat(header,
^~~~~~
/usr/include/string.h:93:34: note: passing argument to parameter here
size_t strlcat(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:16162:15: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcat(header,
^~~~~~
/usr/include/string.h:93:34: note: passing argument to parameter here
size_t strlcat(char * __restrict, const char * __restrict, size_t);
^
opendkim.c:16217:26: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
conf->conf_reproot);
^~~~~~~~~~~~~~~~~~
./../libdkimrep/dkim-rep.h:95:55: note: passing argument to parameter here
extern void dkim_rep_setdomain __P((DKIM_REP, u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim.c:16275:17: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(header, sizeof header,
^~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
opendkim.c:16295:28: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
header) == MI_FAILURE)
^~~~~~
opendkim.c:930:59: note: passing argument to parameter 'hvalue' here
dkimf_insheader(SMFICTX *ctx, int idx, char *hname, char *hvalue)
^
opendkim.c:16338:14: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(header, sizeof header,
^~~~~~
/usr/include/stdio.h:277:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
opendkim.c:16341:25: warning: passing 'unsigned char [4097]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
header) != MI_SUCCESS)
^~~~~~
opendkim.c:1008:50: note: passing argument to parameter 'hvalue' here
dkimf_addheader(SMFICTX *ctx, char *hname, char *hvalue)
^
opendkim.c:16517:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
d = sr->srq_domain;
^ ~~~~~~~~~~~~~~
opendkim.c:16519:8: warning: assigning to 'char *' from 'unsigned char [257]' converts between pointers to integer types with different sign [-Wpointer-sign]
d = dfc->mctx_domain;
^ ~~~~~~~~~~~~~~~~
opendkim.c:16522:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
s = sr->srq_selector;
^ ~~~~~~~~~~~~~~~~
opendkim.c:16524:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
s = conf->conf_selector;
^ ~~~~~~~~~~~~~~~~~~~
70 warnings generated.
mv -f .deps/opendkim-opendkim.Tpo .deps/opendkim-opendkim.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-ar.o -MD -MP -MF .deps/opendkim-opendkim-ar.Tpo -c -o opendkim-opendkim-ar.o `test -f 'opendkim-ar.c' || echo './'`opendkim-ar.c
mv -f .deps/opendkim-opendkim-ar.Tpo .deps/opendkim-opendkim-ar.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-arf.o -MD -MP -MF .deps/opendkim-opendkim-arf.Tpo -c -o opendkim-opendkim-arf.o `test -f 'opendkim-arf.c' || echo './'`opendkim-arf.c
mv -f .deps/opendkim-opendkim-arf.Tpo .deps/opendkim-opendkim-arf.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-crypto.o -MD -MP -MF .deps/opendkim-opendkim-crypto.Tpo -c -o opendkim-opendkim-crypto.o `test -f 'opendkim-crypto.c' || echo './'`opendkim-crypto.c
mv -f .deps/opendkim-opendkim-crypto.Tpo .deps/opendkim-opendkim-crypto.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-db.o -MD -MP -MF .deps/opendkim-opendkim-db.Tpo -c -o opendkim-opendkim-db.o `test -f 'opendkim-db.c' || echo './'`opendkim-db.c
opendkim-db.c:1950:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:1965:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2004:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2021:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2162:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2175:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2202:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_key);
^~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2219:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_list_value);
^~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:2368:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_trimspaces(newl->db_relist_data);
^~~~~~~~~~~~~~~~~~~~
./util.h:67:43: note: passing argument to parameter here
extern void dkimf_trimspaces __P((u_char *));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5324:40: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
dkimf_dstring_catn(sdb->sockdb_buf, inbuf, wlen);
^~~~~
./util.h:74:70: note: passing argument to parameter here
extern _Bool dkimf_dstring_catn __P((struct dkimf_dstring *, u_char *, size_t));
^
/usr/include/sys/cdefs.h:131:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
opendkim-db.c:5326:8: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
tmp = dkimf_dstring_get(sdb->sockdb_buf);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
mv -f .deps/opendkim-opendkim-db.Tpo .deps/opendkim-opendkim-db.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-dns.o -MD -MP -MF .deps/opendkim-opendkim-dns.Tpo -c -o opendkim-opendkim-dns.o `test -f 'opendkim-dns.c' || echo './'`opendkim-dns.c
opendkim-dns.c:811:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qlen = res_mkquery(QUERY, query, C_IN, type, NULL, 0, NULL,
^~~~~
/usr/include/resolv.h:311:35: note: passing argument to parameter here
int res_mkquery(int, const char *, int, int, const u_char *,
^
opendkim-dns.c:892:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
qstart = fq->fq_rbuf;
^ ~~~~~~~~~~~
opendkim-dns.c:893:5: warning: assigning to 'char *' from 'unsigned char [8192]' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = fq->fq_qbuf;
^ ~~~~~~~~~~~
opendkim-dns.c:905:51: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(void) dn_expand((unsigned char *) fq->fq_qbuf, eom, cp,
^~~
/usr/include/resolv.h:446:46: note: passing argument to parameter here
int dn_expand(const u_char *, const u_char *, const u_char *,
^
opendkim-dns.c:905:56: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
(void) dn_expand((unsigned char *) fq->fq_qbuf, eom, cp,
^~
/usr/include/resolv.h:446:62: note: passing argument to parameter here
int dn_expand(const u_char *, const u_char *, const u_char *,
^
opendkim-dns.c:908:24: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((n = dn_skipname(cp, eom)) < 0)
^~
/usr/include/resolv.h:426:32: note: passing argument to parameter here
int dn_skipname(const u_char *, const u_char *);
^
opendkim-dns.c:908:28: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((n = dn_skipname(cp, eom)) < 0)
^~~
/usr/include/resolv.h:426:48: note: passing argument to parameter here
int dn_skipname(const u_char *, const u_char *);
^
opendkim-dns.c:973:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = fq->fq_rbuf + HFIXEDSZ;
^ ~~~~~~~~~~~~~~~~~~~~~~
opendkim-dns.c:974:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
eom = fq->fq_rbuf + fq->fq_rbuflen;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opendkim-dns.c:977:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
elen = dn_comp(qname, cp, eom - cp, dnptrs, lastdnptr);
^~
/usr/include/resolv.h:445:36: note: passing argument to parameter here
int dn_comp(const char *, u_char *, int, u_char **, u_char **);
^
opendkim-dns.c:985:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
elen = dn_comp(qname, cp, eom - cp, dnptrs, lastdnptr);
^~
/usr/include/resolv.h:445:36: note: passing argument to parameter here
int dn_comp(const char *, u_char *, int, u_char **, u_char **);
^
opendkim-dns.c:993:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len = cp;
^ ~~
opendkim-dns.c:1015:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
cp = len;
^ ~~~
13 warnings generated.
mv -f .deps/opendkim-opendkim-dns.Tpo .deps/opendkim-opendkim-dns.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-opendkim-lua.o -MD -MP -MF .deps/opendkim-opendkim-lua.Tpo -c -o opendkim-opendkim-lua.o `test -f 'opendkim-lua.c' || echo './'`opendkim-lua.c
mv -f .deps/opendkim-opendkim-lua.Tpo .deps/opendkim-opendkim-lua.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-config.o -MD -MP -MF .deps/opendkim-config.Tpo -c -o opendkim-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/opendkim-config.Tpo .deps/opendkim-config.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-flowrate.o -MD -MP -MF .deps/opendkim-flowrate.Tpo -c -o opendkim-flowrate.o `test -f 'flowrate.c' || echo './'`flowrate.c
mv -f .deps/opendkim-flowrate.Tpo .deps/opendkim-flowrate.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-reputation.o -MD -MP -MF .deps/opendkim-reputation.Tpo -c -o opendkim-reputation.o `test -f 'reputation.c' || echo './'`reputation.c
reputation.c:287:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(domain, dkim_sig_getdomain(sig), sizeof domain);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:94:59: note: passing argument to parameter here
size_t strlcpy(char * __restrict, const char * __restrict, size_t);
^
1 warning generated.
mv -f .deps/opendkim-reputation.Tpo .deps/opendkim-reputation.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-stats.o -MD -MP -MF .deps/opendkim-stats.Tpo -c -o opendkim-stats.o `test -f 'stats.c' || echo './'`stats.c
mv -f .deps/opendkim-stats.Tpo .deps/opendkim-stats.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-test.o -MD -MP -MF .deps/opendkim-test.Tpo -c -o opendkim-test.o `test -f 'test.c' || echo './'`test.c
mv -f .deps/opendkim-test.Tpo .deps/opendkim-test.Po
clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/local/include/db46 -I/usr/local/include -I/usr/local/include/lua52 -DDKIMF_LUA_CONTEXT_HOOKS -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./../libvbr -I./../librbl -I./../libdkimrep -I./../reputation -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -I./../reprrd -I/usr/include -I/usr/local/lib/erlang/lib/erl_interface-3.7.9/include -DCONFIG_BASE=\"/usr/local/etc\" -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -MT opendkim-util.o -MD -MP -MF .deps/opendkim-util.Tpo -c -o opendkim-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/opendkim-util.Tpo .deps/opendkim-util.Po
/usr/local/bin/bash ../libtool --tag=CC --mode=link clang -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -L/usr/local/lib -L/usr/lib -D_THREAD_SAFE -pthread -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib -o opendkim opendkim-opendkim.o opendkim-opendkim-ar.o opendkim-opendkim-arf.o opendkim-opendkim-crypto.o opendkim-opendkim-db.o opendkim-opendkim-dns.o opendkim-opendkim-lua.o opendkim-config.o opendkim-flowrate.o opendkim-reputation.o opendkim-stats.o opendkim-test.o opendkim-util.o ../libopendkim/libopendkim.la -lmilter -lssl -lcrypto -ldb-4.6 -L/usr/local/lib -lopendbx -L/usr/local/lib -lmemcached -lmemcachedutil -llua -lm -L/usr/local/lib -lldap -llber -lunbound ../libvbr/libvbr.la ../librbl/librbl.la ../libdkimrep/libdkimrep.la ../reputation/librepute.la -pthread -lerl_interface -lei ../reprrd/libreprrd.la -lm
libtool: link: clang -D_THREAD_SAFE -pthread -I/usr/local/include -g -O2 -D_THREAD_SAFE -pthread -o .libs/opendkim opendkim-opendkim.o opendkim-opendkim-ar.o opendkim-opendkim-arf.o opendkim-opendkim-crypto.o opendkim-opendkim-db.o opendkim-opendkim-dns.o opendkim-opendkim-lua.o opendkim-config.o opendkim-flowrate.o opendkim-reputation.o opendkim-stats.o opendkim-test.o opendkim-util.o -pthread -L/usr/local/lib -L/usr/lib -L/usr/local/lib/db46 -L/usr/local/lib/lua52 -L/usr/local/lib/erlang/lib/erl_interface-3.7.9/lib ../libopendkim/.libs/libopendkim.so /usr/local/lib/libtre.so -lmilter -ldb-4.6 /usr/local/lib/libopendbx.so -L/usr/ports/databases/opendbx/work/opendbx-1.4.5/lib -L/usr/local/lib/mysql /usr/local/lib/libmemcachedutil.so /usr/local/lib/libmemcached.so -lexecinfo -llua /usr/local/lib/libunbound.so /usr/local/lib/libldns.so -lutil ../libvbr/.libs/libvbr.so ../librbl/.libs/librbl.so ../libdkimrep/.libs/libdkimrep.so ../reputation/.libs/librepute.so /usr/local/lib/libcurl.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/libssh2.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so -lrtmp /usr/local/lib/libjansson.so /usr/home/umq/work/git/sf.net/opendkim/libut/.libs/libut.so -lerl_interface -lei ../reprrd/.libs/libreprrd.so /usr/local/lib/librrd.so -lwrap /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so /usr/local/lib/libffi.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libpcre.so /usr/local/lib/libcairo.so /usr/local/lib/libpixman-1.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lbz2 -lpng15 /usr/local/lib/libxcb-shm.so /usr/local/lib/libxcb-render.so /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc /usr/local/lib/libxml2.so -lz -llzma /usr/local/lib/libiconv.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/bin/ld: warning: libssl.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libssl.so.8
/usr/local/bin/ld: warning: libcrypto.so.6, needed by /usr/local/lib/librtmp.so, may conflict with libcrypto.so.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment