This project is closed and read-only.
Bug #2306
closedUnable to compile on MacOSX 10.9
0%
Description
I am unable to compile the current src on a Mac Mini running Mavericks, obviously because of a bug in webui.c:
CC src/webui/webui.o
src/webui/webui.c:1227:5: error: format specifies type 'long long' but the argument has type 'intmax_t' (aka 'long') [-Werror,-Wformat]
file_start, file_end, st.st_size);
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
builtin_sprintf_chk (str, 0, darwin_obsz(str), __VA_ARGS)
src/webui/webui.c:1227:17: error: format specifies type 'long long' but the argument has type 'intmax_t' (aka 'long') [-Werror,-Wformat]
file_start, file_end, st.st_size);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
builtin_sprintf_chk (str, 0, darwin_obsz(str), __VA_ARGS)
^
2 errors generated.
make: *** [/Users/admin/Downloads/tvheadend/build.darwin/src/webui/webui.o] Error 1
Can you please help?
Thank you!