Skip to content

Typedef redefinition with different types... #35

@MartinGebske

Description

@MartinGebske

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions