Skip to content

XCode 4.6.3 compile fail #6

Description

@sharrismobiquity

When I include MSWeakTimer.m in my iPhone XCode project, I get the following errors at line 169 of MSWeakTimer.m ( __weak typeof(self) weakSelf = self; ) - A parameter list without types is only allowed in a function definition. A corresponding warning tells me that __weak only applies to Objective-C object or block pointer types; type here is 'int'. Any idea why I get these warnings/errors, and what I should do about them?

Thanks!

Steve Harris (sharris595@gmail.com)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions