Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pointer syntax error #1305

Merged
merged 1 commit into from Sep 24, 2012
Merged

Fix pointer syntax error #1305

merged 1 commit into from Sep 24, 2012

Conversation

dmcdougall
Copy link
Member

Fix #1304.

@dmcdougall
Copy link
Member Author

@r-owen Would you mind testing this again? Teamwork! :)

@r-owen
Copy link
Contributor

r-owen commented Sep 24, 2012

I'm afraid that didn't fix the problem, though it changed the error (see original error log in ticket #1304). The new error is:

gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I/usr/X11/include -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/_macosx.m -o build/temp.macosx-10.3-fat-2.7/src/_macosx.o
src/_macosx.m: In function 'FigureCanvas_write_bitmap':
src/_macosx.m: In function 'FigureCanvas_write_bitmap':
src/_macosx.m:3557: error: 'struct NSBitmapImageRep' has no member named 'pixelsWide'
src/_macosx.m:3557: error: 'struct NSBitmapImageRep' has no member named 'pixelsHigh'
src/_macosx.m:3557: error: 'struct NSBitmapImageRep' has no member named 'pixelsWide'
src/_macosx.m:3557: error: 'struct NSBitmapImageRep' has no member named 'pixelsHigh'

@dmcdougall
Copy link
Member Author

@r-owen Right, so it wasn't a pointer error, it was an Objective C 2.0 properties syntax not supported by gcc-4.0. I've updated the branch to reflect the new change. Would you mind trying again?

@r-owen
Copy link
Contributor

r-owen commented Sep 24, 2012

That did it! Building on MacOS X 10.4 now works!

@dmcdougall
Copy link
Member Author

Awesome. I'm going to squash this to a single commit before merging.

dmcdougall added a commit that referenced this pull request Sep 24, 2012
@dmcdougall dmcdougall merged commit e1a3731 into matplotlib:v1.2.x Sep 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants