Laura Conrad wrote:

rm -f ./out/midi.dep; DEPENDENCIES_OUTPUT="./out/midi.dep ./out/midi.lo" 
/usr/bin/g++-4.0 -c -DPy_BUILD_CORE  -I/usr/include/python2.3  -DHAVE_CONFIG_H  -DNDEBUG 
-DSTRING_UTILS_INLINED -I./include -I./out -I../flower/include -I../flower/./out -O2 
-finline-functions -g -pipe  -I/usr/include/freetype2   -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -fpic 
-fPIC -o out/midi.lo midi.c
midi.c: In function 'PyObject* midi_parse_track(unsigned char**, unsigned 
char*)':
midi.c:284: error: invalid conversion from 'unsigned char*' to 'const char*'
midi.c:284: error:   initializing argument 1 of 'int strcmp(const char*, const 
char*)'
midi.c: In function 'PyObject* pymidi_parse(PyObject*, PyObject*)':
midi.c:402: error: invalid conversion from 'unsigned char*' to 'const char*'
midi.c:402: error:   initializing argument 1 of 'int strcmp(const char*, const 
char*)'

thanks; fixed. FWIW, you problaby want CC=gcc-4.0 ; g++ is to be likely more strict about pointer conversions.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to