-- clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/include -D_THREAD_SAFE -pthread -I./../libar -O2 -fno-strict-aliasing -pipe -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:10735:22: warning: result of comparison against a string literal is unspecified (use strncmp instead) if (dfc->mctx_jobid == (u_char *) JOBIDUNKNOWN) ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. -- and numerous pointer sign warnings(i.e. (unsigned char *) vs (char *). such as: -- clang -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim -I/usr/local/include -I/usr/include -D_THREAD_SAFE -pthread -I./../libar -O2 -fno-strict-aliasing -pipe -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:612:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] q = ar_addquery(ar, query, C_IN, type, MAXCNAMEDEPTH, buf, buflen, ^~~~~ In file included from opendkim-dns.c:34: ./../libar/ar.h:58:43: note: passing argument to parameter here extern AR_QUERY ar_addquery(AR_LIB, char *, int, int, int, unsigned char *, ^ 1 warning generated. -- I'm just ignoring latter warnings for the moment. Regards, -- Hirohisa Yamaguchi <umq.461_at_gmail.com>
This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:54 PST