mattt/TTTAttributedLabel — Issue #45: Compiler Warnings in iOS4.3
Author: kamekametenshi
Created: 2011-12-25 05:04:52+00:00
State: open

occurs below.
TTTAttributedLabel.m:521:
warning: implicit declaration of function 'CGPathCreateWithRect'
warning: initialization makes pointer from integer without a cast

I wonder if CGPathCreateWithRect was added in iOS5.
http://developer.apple.com/library/IOS/#documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html

I did workaround below.
CGMutablePathRef path = CGPathCreateMutable();
CGPathAddRect(path, NULL, CGRectMake(0.0f, 0.0f, self.bounds.size.width, CGFLOAT_MAX));