kaiserfarrell / core-plot

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

Fix compilation errors with Mountain Lion llvm #435

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
CorePlot wouldn't compile with latest version of LLVM from Apple. I fixed some 
warnings and removed some build flags. Patch is at 
https://github.com/nevyn/core-plot/commit/ad681fcae4fe15871d1b82ab9d22c5f3e1c305
02

Original issue reported on code.google.com by joach...@gmail.com on 10 May 2012 at 5:41

GoogleCodeExporter commented 8 years ago
We will update Core Plot when the Mountain Lion dev tools are released to the 
public.

Original comment by eskr...@mac.com on 11 May 2012 at 12:51

GoogleCodeExporter commented 8 years ago
Related to issue 442.

Original comment by eskr...@mac.com on 26 Jun 2012 at 10:29

GoogleCodeExporter commented 8 years ago
Now that Mountain Lion and the dev tools have been released to the public when 
can we expect a fix to CorePlot?

Thanks

Original comment by timjk...@gmail.com on 26 Jul 2012 at 5:55

GoogleCodeExporter commented 8 years ago
Hopefully by next weekend.

Original comment by eskr...@mac.com on 26 Jul 2012 at 10:52

GoogleCodeExporter commented 8 years ago
This issue was closed by revision aec950cf7128.

Original comment by eskr...@mac.com on 28 Jul 2012 at 8:35

GoogleCodeExporter commented 8 years ago
I entered the changes from revision aec950cf7128. When I try to build I get the 
following error in CPTColor.m

355     NSString *newKey = [[NSString alloc] 
initWithFormat:@"CPTColor.component[%u]", i];

CorePlot_1.0/Source/framework/Source/CPTColor.m:371:78: Format specifies type 
'unsigned int' but the argument has type 'size_t' (aka 'unsigned long')

371           NSString *newKey = [[NSString alloc] 
initWithFormat:@"CPTColor.component[%u]", i];

CorePlot_1.0/Source/framework/Source/CPTColor.m:355:77: Format specifies type 
'unsigned int' but the argument has type 'size_t' (aka 'unsigned long')

Original comment by timjk...@gmail.com on 3 Aug 2012 at 1:18

GoogleCodeExporter commented 8 years ago
If you're updating an old version and not updating to the latest code, there 
were a couple of older revisions that will help you.

http://code.google.com/p/core-plot/source/detail?r=16f8c6cf6b74e3f67d0986b71b028
bb37cc175e8

http://code.google.com/p/core-plot/source/detail?r=74cb5acef0ae2f09cf623465bbf71
278bcb6c078

Eric

Original comment by eskr...@mac.com on 3 Aug 2012 at 9:18

GoogleCodeExporter commented 8 years ago
I am running on the 1.0 version of the code - should I download the latest 
source?

Original comment by timjk...@gmail.com on 7 Aug 2012 at 1:35

GoogleCodeExporter commented 8 years ago
Yes, the latest source should work fine in Xcode 4.4.

Original comment by eskr...@mac.com on 7 Aug 2012 at 11:12