Skip to content

XCode 4.6.3 compile fail #6

@sharrismobiquity

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions