Bug 135339 - REGRESSION: unknown type name 'qos_class_t' in iOS 8.0 beta 4
Summary: REGRESSION: unknown type name 'qos_class_t' in iOS 8.0 beta 4
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-28 10:34 PDT by Isaac Burns
Modified: 2014-07-31 09:47 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Isaac Burns 2014-07-28 10:34:09 PDT
Error when including /usr/include/dispatch/dispatch.h.
Comment 1 Alexey Proskuryakov 2014-07-29 00:01:08 PDT
Could you please post a complete test project?
Comment 2 Isaac Burns 2014-07-29 09:46:22 PDT
I'll see if I can get a smaller test project put together.  The full project involves attaching libuv to JSC.  From what I can tell, the only thing included before <JavaScriptCore/JavaScriptCore.h> is "uv.h".

The following conditional in qos.h is failing, leaving qos_class_t undefined.

/Applications/Xcode6-Beta4/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/include/sys/qos.h:30

#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL

How about adding a fallback for the other cases, as in .../usr/include/dispatch/queue.h:370?

#else
typedef unsigned int qos_class_t;
#endif
Comment 3 Alexey Proskuryakov 2014-07-29 09:50:19 PDT
If you think that the problem is in qos.h itself, then WebKit bugzilla is not the right place to discuss it, we don't maintain it. Could you please file a bug with more details via <http://bugreport.apple.com>?
Comment 4 Isaac Burns 2014-07-29 11:44:24 PDT
Done.  Problem ID 17844922.
Comment 5 Alexey Proskuryakov 2014-07-31 09:47:45 PDT
Thank you! Let's have it tracked there.