[Bug 772451] Broken clock_gettime and mkostemp detection with XCode 8
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Oct 22 10:20:20 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772451
Andoni Morales <ylatuya at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ylatuya at gmail.com
--- Comment #11 from Andoni Morales <ylatuya at gmail.com> ---
As a side note, the main issue is that Apple is using incorrectly their own
availablity checks.
The in time.h clock_gettime function is defined this way
__CLOCK_AVAILABILITY
int clock_gettime(clockid_t __clock_id, struct timespec *__tp);
While it should be defined this way
__CLOCK_AVAILABILITY int clock_gettime(clockid_t __clock_id, struct timespec
*__tp);
When __CLOCK_AVAILABILITY is in the same line as the function, the compiler
correctly removes the function with -mmacosx-version-min=10.7
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list