Hi guys,

I've just begun playing with Cython over the last few days, but I've come
across what appears to be errors in the generated .c file.

When I try to build this source file http://pastebin.com/f686e0ac I receive
the output below from MingW.  The entire source package is available at
http://hiddenworlds.org/temp/Jupiter.zip if that helps.

-Building renderdata.pyx ----------------------------------------
running build_ext
building 'renderdata' extension
C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -ID:\Programs\Python\include
-ID
:\Programs\Python\PC -c renderdata.c -o
build\temp.win32-2.5\Release\renderdata.
o
renderdata.c:360: error: syntax error before "__pyx_t_10renderdata_FACE"
renderdata.c:360: warning: no semicolon at end of struct or union
renderdata.c:361: warning: type defaults to `int' in declaration of `next'
renderdata.c:361: warning: data definition has no type or storage class
renderdata.c:362: error: syntax error before '*' token
renderdata.c:362: warning: type defaults to `int' in declaration of `last'
renderdata.c:362: warning: data definition has no type or storage class
renderdata.c:363: error: syntax error before '}' token
renderdata.c:363: warning: type defaults to `int' in declaration of
`__pyx_t_10r
enderdata_FACE'
renderdata.c:363: warning: data definition has no type or storage class
renderdata.c:375: error: syntax error before "__pyx_t_10renderdata_FACE"
renderdata.c:375: warning: no semicolon at end of struct or union
renderdata.c:376: warning: type defaults to `int' in declaration of
`__pyx_t_10r
enderdata_MESH'
renderdata.c:376: warning: data definition has no type or storage class
renderdata.c:430: warning: '__pyx_f_10renderdata_test' defined but not used
error: command 'gcc' failed with exit status 1


D:\Programming\Jupiter>

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to