Project

General

Profile

Actions

Bug #2306

closed

Unable to compile on MacOSX 10.9

Added by Thomas M over 10 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2014-09-16
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.1499~g97999e4
Affected Versions:

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!

Actions

Also available in: Atom PDF