This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libresolv tests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]