This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] libresolv tests
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 31 Dec 2016 23:47:06 +0000
- Subject: Re: [PATCH] libresolv tests
- Authentication-results: sourceware.org; auth=none
- References: <45f7bb28-1a3a-ce4c-a8b9-7e9a4707d1fe@redhat.com>
I see build failures on alpha:
support_format_netent.c: In function 'support_format_netent':
support_format_netent.c:46:32: error: format '%x' expects argument of type
'unsigned int', but argument 3 has type 'long unsigned int'
[-Werror=format=]
fprintf (mem.out, "net: 0x%08x\n", e->n_net);
^
and on s390:
xwrite.c: In function 'xwrite':
xwrite.c:32:21: error: format '%zd' expects argument of type 'signed
size_t', but argument 6 has type 'int' [-Werror=format=]
FAIL_EXIT1 ("write of %zu bytes failed after %zd: %m",
^
../support/check.h:40:53: note: in definition of macro 'FAIL_EXIT1'
support_exit_failure_impl (1, __FILE__, __LINE__, __VA_ARGS__)
^~~~~~~~~~~
xwrite.c:35:21: error: format '%zd' expects argument of type 'signed
size_t', but argument 5 has type 'int' [-Werror=format=]
FAIL_EXIT1 ("write return 0 after writing %zd bytes of %zu",
^
../support/check.h:40:53: note: in definition of macro 'FAIL_EXIT1'
support_exit_failure_impl (1, __FILE__, __LINE__, __VA_ARGS__)
https://sourceware.org/ml/libc-testresults/2016-q4/msg00096.html
--
Joseph S. Myers
joseph@codesourcery.com