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

With strict compiler settings returning CAAnimation * from indeterminate property fails to compile. #12

Merged
merged 1 commit into from
Apr 18, 2013

Conversation

timle8n1
Copy link
Contributor

The existing code fails with strict compiler settings. Return 0 if not
indeterminate, 1 if it is.

DACircularProgressView.m:216:12: error: incompatible pointer to integer
conversion returning 'CAAnimation *__strong' from a function with
result type 'NSInteger' (aka 'int'); [-Werror]
return spinAnimation;

The existing code fails with strict compiler settings. Return 0 if not
indeterminate, 1 if it is.

DACircularProgressView.m:216:12: error: incompatible pointer to integer
conversion returning 'CAAnimation *__strong' from a function with
result type 'NSInteger' (aka 'int');  [-Werror]
return spinAnimation;
@danielamitay
Copy link
Owner

Thanks. It seems I've gotten used to my less-than-strict compiler settings. =(

danielamitay added a commit that referenced this pull request Apr 18, 2013
With strict compiler settings returning CAAnimation * from indeterminate property fails to compile.
@danielamitay danielamitay merged commit 185a2d9 into danielamitay:master Apr 18, 2013
@timle8n1
Copy link
Contributor Author

yw. Thanks for the neat progress view!

Sent from my iPhone

On Apr 18, 2013, at 5:01 PM, Daniel Amitay notifications@github.com wrote:

Thanks. It seems I've gotten used to my less-than-strict compiler settings. =(


Reply to this email directly or view it on GitHub.

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

Successfully merging this pull request may close these issues.

None yet

2 participants