Closed
Bug 577206
Opened 14 years ago
Closed 14 years ago
vp8 warning: implicit declaration of function ‘mach_task_self’
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: mkohler)
References
()
Details
Attachments
(1 file, 2 obsolete files)
1.52 KB,
patch
|
derf
:
review-
|
Details | Diff | Splinter Review |
media/libvpx/vp8/ decoder/threading.c: In function ‘vp8_decoder_create_threads’: decoder/threading.c:406: warning: implicit declaration of function ‘mach_task_self’
i've filed a bug for upstream: http://code.google.com/p/webm/issues/detail?id=122
Assignee: timeless → michaelkohler
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #456234 -
Attachment is obsolete: true
Attachment #456278 -
Flags: review?(tterribe)
Attachment #456234 -
Flags: review?(chris)
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #456278 -
Attachment is obsolete: true
Attachment #456292 -
Flags: review?(tterribe)
Attachment #456278 -
Flags: review?(tterribe)
Comment 5•14 years ago
|
||
Comment on attachment 456292 [details] [diff] [review] Patch v3 >+#ifdef __APPLE__ >+#include <mach/mach_init.h> >+#endif This probably belongs in the existing __APPLE__ block in threading.h, since the macros that actually invoke mach_task_self are defined there. Also, the manpage suggests that the correct header to include is <mach/mach_traps.h>. Why did you pick mach_init.h?
Attachment #456292 -
Flags: review?(tterribe) → review-
I think it was something like this: http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_task_self.html the documentation from apple is painful to find/read/understand.
Assignee | ||
Comment 7•14 years ago
|
||
Merged: http://review.webmproject.org/362
Assignee | ||
Comment 8•14 years ago
|
||
Checked in as part of changeset 012c64c66def.. http://hg.mozilla.org/mozilla-central/diff/012c64c66def/media/libvpx/vp8/decoder/threading.c#l1.20 -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•