[Bugs] [Bug 1336508] New: rpc-transport: compiler warning format string
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 16 16:49:14 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1336508
Bug ID: 1336508
Summary: rpc-transport: compiler warning format string
Product: GlusterFS
Version: mainline
Component: rpc
Assignee: bugs at gluster.org
Reporter: kkeithle at redhat.com
CC: bugs at gluster.org
Description of problem:
Making all in rpc-transport
Making all in socket
Making all in src
CC socket.lo
CC name.lo
In file included from ../../../../libglusterfs/src/common-utils.h:35:0,
from ../../../../libglusterfs/src/dict.h:18,
from ../../../../rpc/rpc-lib/src/rpc-transport.h:61,
from socket.h:25,
from socket.c:11:
socket.c: In function '_socket_reap_own_threads':
socket.c:220:33: warning: format '%zu' expects argument of type 'size_t', but
argument 2 has type 'pthread_t {aka long unsigned int}' [-Wformat=]
"own-thread: failed to join thread (tid:
%zu)",
^
../../../../libglusterfs/src/logging.h:208:46: note: in definition of macro
'FMT_WARN'
#define FMT_WARN(fmt...) do { if (0) printf (fmt); } while (0)
^~~
socket.c:219:25: note: in expansion of macro 'gf_log'
gf_log (THIS->name, GF_LOG_ERROR,
^~~~~~
socket.c:220:33: warning: format '%zu' expects argument of type 'size_t', but
argument 7 has type 'pthread_t {aka long unsigned int}' [-Wformat=]
"own-thread: failed to join thread (tid:
%zu)",
^
../../../../libglusterfs/src/logging.h:259:34: note: in definition of macro
'gf_log'
levl, ##fmt); \
^~~
CCLD socket.la
Making all in rdma
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list