objective c - Error after upgrading to iOS 7.1 SDK - implicit conversions with precision loss no longer allowed -


i upgraded xcode + ios sdk latest versions (5.1/7.1) , getting bunch of errors implicit conversions losing precision (nsinteger int etc).

does know if there compiler flag or allows me tell compiler treat warnings rather errors again? couldn't find far. don't want go through code , add explicit casts everywhere in lot of places.

this error reason. nsinteger throughout codebase make sure when compile code 32 , 64 bit ios devices handled consistently. in 32 bit world nsinteger , int same, advent of iphone 5s , ipad air, ios no longer 32 bit only.

as others have said, there no way around if don't want trouble modern devices.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -