Renish-GlobeSync / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cpt_weak breaking when target > 5 but not using arc #519

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This only started happening when I upgraded to XCode 4.6 from 4.5. I've been 
using CorePlot 1.1 with no issues prior to upgrading. My deployment target 
is/has been iOS 5.1, using the iOS 6.1 SDK, however I am not using any 
ARC-style memory management. After upgrading I receive the following error

CorePlot/framework/Source/CPTAxis.m:41:1: Property attribute in class extension 
does not match the primary class
CorePlot/framework/Source/CPTAxis.m:42:1: Property attribute in class extension 
does not match the primary class

I investigated further and found CPTDefinitions.h which seems to be setting 
CPT_SDK_SUPPORTS_WEAK=1. When I commented out the logic and left 
CPT_SDK_SUPPORTS_WEAK=0 my code compiles fine.

Original issue reported on code.google.com by mmeri...@gmail.com on 29 Mar 2013 at 4:31

GoogleCodeExporter commented 8 years ago
Fixed in revision cfb382c2b8ed106f98da7c5e56ad77c245beb8c4

Original comment by eskr...@mac.com on 29 Mar 2013 at 11:35