Mon 05 Jan 2009 09:02:18 AM UTC, comment #2:
with TLA 829
I've been told to 'ignore' ino_t and dev_t but what about the others?
(and am I really supposed to ignore ino_t and dev_t? I mean, that can't cause problems when interacting with clients on different operating systems?)
====
gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_BSD_HOST_OS -I../../../../libglusterfs/src -shared -nostartfiles -I../../../../argp-standalone -g -O2 -MT trace.lo -MD -MP -MF .deps/trace.Tpo -c trace.c -fPIC -DPIC -o .libs/trace.o
trace.c: In function 'trace_create_cbk':
trace.c:77: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:77: warning: format '%lld' expects type 'long long int', but argument 6 has type '__dev_t'
trace.c:77: warning: format '%llu' expects type 'long long unsigned int', but argument 7 has type 'ino_t'
trace.c:77: warning: format '%lld' expects type 'long long int', but argument 12 has type '__dev_t'
trace.c:77: warning: format '%ld' expects type 'long int', but argument 14 has type 'blksize_t'
trace.c: In function 'trace_stat_cbk':
trace.c:138: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:138: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:138: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:138: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_readv_cbk':
trace.c:179: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:179: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:179: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:179: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_writev_cbk':
trace.c:217: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chown_cbk':
trace.c:312: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chmod_cbk':
trace.c:345: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_fchmod_cbk':
trace.c:378: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_fchown_cbk':
trace.c:411: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_rename_cbk':
trace.c:457: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_lookup_cbk':
trace.c:501: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:501: warning: format '%lld' expects type 'long long int', but argument 5 has type '__dev_t'
trace.c:501: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c:501: warning: format '%lld' expects type 'long long int', but argument 11 has type '__dev_t'
trace.c:501: warning: format '%ld' expects type 'long int', but argument 13 has type 'blksize_t'
trace.c: In function 'trace_symlink_cbk':
trace.c:539: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:539: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_mknod_cbk':
trace.c:576: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:576: warning: format '%lld' expects type 'long long int', but argument 5 has type '__dev_t'
trace.c:576: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c:576: warning: format '%lld' expects type 'long long int', but argument 11 has type '__dev_t'
trace.c:576: warning: format '%ld' expects type 'long int', but argument 13 has type 'blksize_t'
trace.c: In function 'trace_mkdir_cbk':
trace.c:610: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_link_cbk':
trace.c:633: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_truncate_cbk':
trace.c:719: warning: format '%ld' expects type 'long int', but argument 5 has type 'blksize_t'
trace.c: In function 'trace_ftruncate_cbk':
trace.c:907: warning: format '%ld' expects type 'long int', but argument 5 has type 'blksize_t'
trace.c: In function 'trace_fstat_cbk':
trace.c:940: warning: format '%lld' expects type 'long long int', but argument 4 has type '__dev_t'
trace.c:940: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c:940: warning: format '%lld' expects type 'long long int', but argument 10 has type '__dev_t'
trace.c:940: warning: format '%ld' expects type 'long int', but argument 12 has type 'blksize_t'
trace.c: In function 'trace_entrylk':
trace.c:1097: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_inodelk':
trace.c:1120: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_xattrop':
trace.c:1187: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_lookup':
trace.c:1234: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_stat':
trace.c:1257: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_readlink':
trace.c:1280: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1280: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'size_t'
trace.c: In function 'trace_mknod':
trace.c:1305: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1305: warning: format '%lld' expects type 'long long int', but argument 6 has type 'dev_t'
trace.c: In function 'trace_mkdir':
trace.c:1330: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_unlink':
trace.c:1353: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_rmdir':
trace.c:1374: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_symlink':
trace.c:1397: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'ino_t'
trace.c: In function 'trace_rename':
trace.c:1422: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1422: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c: In function 'trace_link':
trace.c:1448: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c:1448: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'ino_t'
trace.c: In function 'trace_chmod':
trace.c:1473: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_chown':
trace.c:1498: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_truncate':
trace.c:1523: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_utimens':
trace.c:1553: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_open':
trace.c:1580: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_create':
trace.c:1606: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_readv':
trace.c:1632: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_statfs':
trace.c:1682: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_setxattr':
trace.c:1750: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_getxattr':
trace.c:1775: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_removexattr':
trace.c:1799: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_opendir':
trace.c:1824: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
trace.c: In function 'trace_getdents':
trace.c:1849: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_readdir':
trace.c:1876: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
trace.c: In function 'trace_access':
trace.c:1925: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'ino_t'
|