Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error when including <mach/mach_time.h> #535

Closed
rupertdaniel opened this issue Jun 7, 2016 · 0 comments
Closed

Compile error when including <mach/mach_time.h> #535

rupertdaniel opened this issue Jun 7, 2016 · 0 comments

Comments

@rupertdaniel
Copy link

Using the latest 3th June release, you now get a compile error when including <mach/mach_time.h> from a .c file.

Steps to reproduce:

  1. Create a *.c file and use clang to build it.
  2. Add include #include <mach/mach_time.h>
  3. Build the source file.

The compiler generates the following error:

C:\Dev\winobjc\include\WOCStdLib\mach/mach_time.h(36,5) :  error: use of undeclared identifier 'LARGE_INTEGER'
C:\Dev\winobjc\include\WOCStdLib\mach/mach_time.h(37,30) :  error: use of undeclared identifier 'count'; did you mean 'round'?
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\ucrt\math.h(534,40) :  note: 'round' declared here
In file included from ..\djayapp\Classes\AudioHostTimeUtils.c:19:
C:\Dev\winobjc\include\WOCStdLib\mach/mach_time.h(39,22) :  error: use of undeclared identifier 'count'; did you mean 'const'?
C:\Dev\winobjc\include\WOCStdLib\mach/mach_time.h(39,22) :  error: expected expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants