Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Build fails on NS_ENUM and NS_OPTIONS usage #160

Open
capnslipp opened this issue Sep 22, 2013 · 0 comments
Open

Build fails on NS_ENUM and NS_OPTIONS usage #160

capnslipp opened this issue Sep 22, 2013 · 0 comments

Comments

@capnslipp
Copy link

When trying to do a fresh post-checkout build, a large number of build warnings and error are thrown around the uses of NS_ENUM and NS_OPTIONS (e.g. NS_ENUM(NSUInteger, PKRevealControllerState) and NS_OPTIONS(NSUInteger, PKRevealControllerType).

Errors include things like:

  • type specifier missing, defaults to 'int'
  • expected ';' after top level declarator
  • expected ')'
  • typedef redefinition with different types ('NS_ENUM' (aka 'int (NSUInteger, int)') vs 'unsigned int')
  • unknown type name 'PKRevealControllerState'; did you mean 'PKRevealController'?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant