[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pixelarray on osx compile error



Hey,

I just noticed a compile error on OSX for pixelarray.  I'm not really sure how to solve it.

gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/pixelarray.c -o build/temp.macosx-10.3-fat-2.6/src/pixelarray.o
src/pixelarray.c:200: warning: initialization from incompatible pointer type
src/pixelarray.c:200: warning: initialization from incompatible pointer type
src/pixelarray.c:725: error: conflicting types for ‘_array_slice_internal’
src/pixelarray.c:75: error: previous declaration of ‘_array_slice_internal’ was here
src/pixelarray.c:725: error: conflicting types for ‘_array_slice_internal’
src/pixelarray.c:75: error: previous declaration of ‘_array_slice_internal’ was here