os x trouble

With 0.99.0, I'm getting the following error when building from source. I believe this is the same error I got in earlier versions:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -I/opt/lib/python2.5/site-packages/numpy/core/include -I/sw/lib/freetype219/include -I/usr/local/include -I/usr/include -I/sw/include -I. -I/opt/lib/python2.5/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/sw/include/python2.5 -c src/_macosx.m -o build/temp.macosx-10.5-i386-2.5/src/_macosx.o
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:7,
                  from /System/Library/Frameworks/Foundation.framework/Headers/NSAffineTransform.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:13,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:364: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:16,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:50: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h:5,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:43,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NSString’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BOOL’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h:9,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:49,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:76,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:44: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:6,
                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:52: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:53: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:54: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:55: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:56: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:67: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:68: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:70: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:71: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:73: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:74: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:80: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:86: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:90: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:93: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:94: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:95: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:97: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:98: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:99: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:100: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:102: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:103: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:104: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:88,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:19,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:68: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:27,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:215: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:217: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:218: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:219: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:220: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:221: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:222: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:223: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:224: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:227: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:228: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:229: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:230: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:231: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:232: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8,
                  from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:30,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:471: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:472: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:78,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:57: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:95,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTrackingArea.h:44: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:16,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:112,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:17: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSTextInputClient.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:153,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSATSTypesetter.h:46: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSObjectController.h:10,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:158,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:24: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h:10,
                  from /System/Library/Frameworks/AppKit.framework/Headers/NSPredicateEditorRowTemplate.h:13,
                  from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:175,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPropertyDescription.h:25: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:176,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:148: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:177,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
                  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:73: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘-’ token
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:14,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:28: error: expected specifier-qualifier-list before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:32: error: expected specifier-qualifier-list before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h:33: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:17,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h:28: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:22,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h:26: error: expected specifier-qualifier-list before ‘__weak’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:25,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h:172: error: expected ‘;’ before ‘__attribute__’
In file included from /System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:27,
                  from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:14,
                  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h:16: error: expected specifier-qualifier-list before ‘__weak’
error: command 'gcc' failed with exit status 1

The error occurs in the first line of _macosx.m, which is
#include <Cocoa/Cocoa.h>
Can you compile anything (with the same compiler flags) that contains this line?

--Michiel

···

--- On Fri, 8/7/09, Gideon Simpson <simpson@...2186...> wrote:

From: Gideon Simpson <simpson@...2186...>
Subject: [Matplotlib-users] os x trouble
To: matplotlib-users@lists.sourceforge.net
Date: Friday, August 7, 2009, 12:27 PM
With 0.99.0, I'm getting the
following error when building from
source. I believe this is the same error I got in
earlier versions:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g
-fwrapv -O3 -Wall
-Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/opt/lib/
python2.5/site-packages/numpy/core/include
-I/sw/lib/freetype219/
include -I/usr/local/include -I/usr/include -I/sw/include
-I. -I/opt/
lib/python2.5/site-packages/numpy/core/include -Isrc
-Iagg24/include -
I. -I/sw/include/python2.5 -c src/_macosx.m -o
build/temp.macosx-10.5-
i386-2.5/src/_macosx.o
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAffineTransform.h:5,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:13,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:

122: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSGeometry.h:7,

from /System/Library/Frameworks/Foundation.framework/

Headers/NSAffineTransform.h:6,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:13,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:15,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAttributedString.h:5,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:16,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

364: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAttributedString.h:6,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:16,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:

45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:

50: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSHashTable.h:5,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:43,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:59: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:59: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:60: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:60: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:61: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:61: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:62: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSString’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:65: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:65: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:66: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:66: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:69: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:69: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:70: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:70: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSKeyValueCoding.h:9,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:49,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:76,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:

44: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSURL.h:6,

from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:88,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

52: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

53: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

54: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

55: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

56: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

67: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

68: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

70: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

71: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

73: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

74: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

80: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

86: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

90: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

93: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

94: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

95: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

97: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

98: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

99: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

100: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

102: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

103: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

104: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:88,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:19,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:

68: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:27,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:215:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:217:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:218:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:219:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:220:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:221:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:222:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:223:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:224:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:227:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:228:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:229:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:230:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:231:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:232:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSPanel.h:8,

from /System/Library/Frameworks/AppKit.framework/
Headers/NSFontPanel.h:8,

from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:30,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:471:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:472:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:78,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:57:

error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:61:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:95,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTrackingArea.h:

44: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSTextView.h:16,

from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:112,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:17: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:20: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:65: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:153,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSATSTypesetter.h:

46: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSObjectController.h:10,

from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:158,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:

24: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/NSAttributeDescription.h:10,

from /System/Library/Frameworks/AppKit.framework/
Headers/NSPredicateEditorRowTemplate.h:13,

from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:175,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPropertyDescription.h:25: error: expected
specifier-qualifier-list
before ‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:176,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:148:

error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:152:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:177,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:

73: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:

77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’
token
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:14,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:28: error: expected
specifier-qualifier-list
before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:32: error: expected
specifier-qualifier-list
before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:33: error: expected
specifier-qualifier-list
before ‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:17,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSRelationshipDescription.h:28: error: expected
specifier-qualifier-
list before ‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:22,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSManagedObject.h:26: error: expected
specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:25,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPersistentStoreCoordinator.h:172: error: expected ‘;’
before
‘__attribute__’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:27,

from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPersistentStore.h:16: error: expected
specifier-qualifier-list
before ‘__weak’
error: command 'gcc' failed with exit status 1

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal
Reports 2008 30-Day
trial. Simplify your report design, integration and
deployment - and focus on
what you do best, core application coding. Discover what's
new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

The error occurs in the first line of _macosx.m, which is
#include <Cocoa/Cocoa.h>
Can you compile anything (with the same compiler flags) that contains this line?

Nope. Got similar errors on a generic piece of code.

--Michiel

From: Gideon Simpson <simpson@...2186...>
Subject: [Matplotlib-users] os x trouble
To: matplotlib-users@lists.sourceforge.net
Date: Friday, August 7, 2009, 12:27 PM
With 0.99.0, I'm getting the
following error when building from
source. I believe this is the same error I got in
earlier versions:

gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g
-fwrapv -O3 -Wall
-Wstrict-prototypes -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-I/opt/lib/
python2.5/site-packages/numpy/core/include
-I/sw/lib/freetype219/
include -I/usr/local/include -I/usr/include -I/sw/include
-I. -I/opt/
lib/python2.5/site-packages/numpy/core/include -Isrc
-Iagg24/include -
I. -I/sw/include/python2.5 -c src/_macosx.m -o
build/temp.macosx-10.5-
i386-2.5/src/_macosx.o
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAffineTransform.h:5,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:13,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:

122: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSGeometry.h:7,

  from /System/Library/Frameworks/Foundation.framework/

Headers/NSAffineTransform.h:6,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:13,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:15,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAttributedString.h:5,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:16,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

345: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

346: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

347: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

348: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

349: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

350: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

352: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

353: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

355: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

356: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

357: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

358: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

360: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

361: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

362: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

363: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:

364: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSAttributedString.h:6,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:16,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:

45: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:

50: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSHashTable.h:5,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:43,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:59: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:59: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:60: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:60: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:61: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:61: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSUInteger’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:62: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘NSString’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:65: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:65: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:66: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:66: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:69: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:69: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:70: error: stray ‘@’ in program
/System/Library/Frameworks/Foundation.framework/Headers/
NSPointerFunctions.h:70: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘BOOL’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSKeyValueCoding.h:9,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:49,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:45:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h:50:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:76,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:

44: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/NSURL.h:6,

  from /System/Library/Frameworks/Foundation.framework/

Headers/Foundation.h:88,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

52: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

53: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

54: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

55: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

56: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

67: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

68: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

70: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

71: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

73: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

74: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

76: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

77: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

79: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

80: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

83: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

86: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

89: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

90: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

93: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

94: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

95: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

97: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

98: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

99: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

100: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

102: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

103: error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURLHandle.h:

104: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/Foundation.framework/
Headers/Foundation.h:88,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:12,

  from src/_macosx.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:75:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:76:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:77:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:78:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:83:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:84:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:85:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:88:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:89:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:91:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:19,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:

68: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:27,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:215:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:217:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:218:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:219:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:220:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:221:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:222:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:223:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:224:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:227:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:228:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:229:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:230:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:231:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:232:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSPanel.h:8,

  from /System/Library/Frameworks/AppKit.framework/
Headers/NSFontPanel.h:8,

  from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:30,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:471:

error: expected ‘;’ before ‘__attribute__’
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:472:

error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:78,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:57:

error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h:61:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:95,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSTrackingArea.h:

44: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSTextView.h:16,

  from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:112,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:17: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:20: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:62: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/
NSTextInputClient.h:65: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:153,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSATSTypesetter.h:

46: error: expected ‘;’ before ‘__attribute__’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/NSObjectController.h:10,

  from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:158,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h:

24: error: expected specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/NSAttributeDescription.h:10,

  from /System/Library/Frameworks/AppKit.framework/
Headers/NSPredicateEditorRowTemplate.h:13,

  from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:175,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPropertyDescription.h:25: error: expected
specifier-qualifier-list
before ‘__weak’
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:176,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:148:

error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathCell.h:152:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’ token
In file included from
/System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:177,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:13,

  from src/_macosx.m:1:
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:

73: error: stray ‘@’ in program
/System/Library/Frameworks/AppKit.framework/Headers/NSPathControl.h:

77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘-’
token
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:14,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:28: error: expected
specifier-qualifier-list
before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:32: error: expected
specifier-qualifier-list
before ‘__weak’
/System/Library/Frameworks/CoreData.framework/Headers/
NSEntityDescription.h:33: error: expected
specifier-qualifier-list
before ‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:17,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSRelationshipDescription.h:28: error: expected
specifier-qualifier-
list before ‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:22,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSManagedObject.h:26: error: expected
specifier-qualifier-list before
‘__weak’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:25,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPersistentStoreCoordinator.h:172: error: expected ‘;’
before
‘__attribute__’
In file included from
/System/Library/Frameworks/CoreData.framework/
Headers/CoreData.h:27,

  from /System/Library/Frameworks/Cocoa.framework/
Headers/Cocoa.h:14,

  from src/_macosx.m:1:
/System/Library/Frameworks/CoreData.framework/Headers/
NSPersistentStore.h:16: error: expected
specifier-qualifier-list
before ‘__weak’
error: command 'gcc' failed with exit status 1

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal
Reports 2008 30-Day
trial. Simplify your report design, integration and
deployment - and focus on
what you do best, core application coding. Discover what's
new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-gideon

···

On Aug 9, 2009, at 11:06 AM, Michiel de Hoon wrote:

--- On Fri, 8/7/09, Gideon Simpson <simpson@...2186...> wrote: