forked from jdg/MBProgressHUD
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
efedaeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What kind of issues were you seeing here?
efedaeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a workaround for a compiler bug (see: https://devforums.apple.com/thread/122059?tstart=15) with armv6 architecture.
efedaeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. And this fixed it? Was only the origin corrupted? What about all other CGrect/CGSize returning calls? Those weren't affected by this bug?
efedaeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a problem with calls that return CGRect/CGSize. There are probably more issues because of that. One solution is to disable thumb compiling for armv6 (use this flag: -mno-thumb - for additional information see the blog post above).