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

Typedef redefinition with different types... #35

Open
MartinGebske opened this issue Oct 4, 2017 · 0 comments
Open

Typedef redefinition with different types... #35

MartinGebske opened this issue Oct 4, 2017 · 0 comments

Comments

@MartinGebske
Copy link

Hey ho!
I installed the latest xCode Verison (9.0) on my machine.
After building my Project for the iPhone (X on Simulator, but the regular build failed as well) there are some semantic issues:

typedef NSUInteger MTLPixelFormat; // Typedef redefinition with different types ('NSUInteger' (aka 'unsigned long') vs 'enum MTLPixelFormat') enum // Declaration does not declare anything { MTLPixelFormatBGRA8Unorm, // edefinition of enumerator 'MTLPixelFormatBGRA8Unorm' MTLPixelFormatBGRA8Unorm_sRGB, // Redefinition of enumerator 'MTLPixelFormatBGRA8Unorm_sRGB' };

How could I avoid this? I don't support metal on my release build and even when I recompile with metal activated it throws these errors.

Any help would be very appreciated.

Thanks in advance,
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant