- 论坛徽章:
- 0
|
我的也是有这个问题,mac pro osx 10.8.2
tracker_mem.c:2038:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.success_sync_out_bytes, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2040:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.total_file_open_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2042:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.success_file_open_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2044:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.total_file_read_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2046:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.success_file_read_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2048:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.total_file_write_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2050:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->stat.success_file_write_count, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:2060:5: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
pStorage->changelog_offset \
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
tracker_mem.c:5131:13: error: use of undeclared identifier 'ENONET'
*result = ENONET;
^
35 warnings and 1 error generated.
make: *** [tracker_mem.o] Error 1
make: Nothing to be done for `all'.
make: Nothing to be done for `all'. |
|