[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] unix compiling cleanly?



Pete Shinners writes:
 > before the 0.5 release i tried to go through the code
 > and clean out all the warnings i was seeing under unix.

Yup. Core pygame compiles without error, whereas before there were a
fair number. The optional modules, on the other hand, still issue some
warnings.

The command:

python setup.py build 2>err.txt; cat err.txt

The result:

src/font.c:43: warning: function declaration isn't a prototype
src/font.c:667: warning: function declaration isn't a prototype
src/font.h:59: warning: `PyFONT_C_API' defined but not used
src/font.c:548: warning: `doc_Font_MODULE' defined but not used
src/mixer.c:48: warning: function declaration isn't a prototype
src/mixer.c:1058: warning: function declaration isn't a prototype
src/mixer.h:69: warning: `PyMIXER_C_API' defined but not used
src/music.c:37: warning: function declaration isn't a prototype
src/music.c:366: warning: function declaration isn't a prototype
src/mixer.h:69: warning: `PyMIXER_C_API' defined but not used
src/music.c:37: warning: `endmusic_callback' defined but not used


The system:

gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386)


-- 
David Clark
silenus@telus.net

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org