Nice one, thanks. That compiles now. On Wed, Jun 1, 2011 at 5:38 PM, Lenard Lindstrom <le...@telus.net> wrote:
> Hi, > > Hopefully fixed in rev 3142. I switched most integer arguments to > Py_ssize_t, and missed a declaration. Funny it caused a compiler error for > an i386 gcc build on a Mac, but not for Debian. > > Lenard > > > On 01/06/11 01:34 AM, René Dudfield wrote: > >> 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 >> >> >> >