xboard 4.4.2 on MacOS
Posted: 02 Feb 2010, 23:11
I tried (after running configure --disable-sigint --enable-zippy) compiling on MacOS Leopard with gcc 4.2 and get this error:
g++-4.2 -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/local/share/info"' -I/usr/X11/include -I/usr/X11/include -MT backend.o -MD -MP -MF .deps/backend.Tpo -c -o backend.o backend.c
backend.c:332: error: invalid conversion from ‘char* (*)(const char*, int)’ to ‘int’
backend.c:333: error: expected ‘,’ or ‘;’ before ‘{’ token
make[1]: *** [backend.o] Error 1
Looks pretty odd - maybe the function name has a #define for it somewhere else?
g++-4.2 -DHAVE_CONFIG_H -I. -DINFODIR='"/usr/local/share/info"' -I/usr/X11/include -I/usr/X11/include -MT backend.o -MD -MP -MF .deps/backend.Tpo -c -o backend.o backend.c
backend.c:332: error: invalid conversion from ‘char* (*)(const char*, int)’ to ‘int’
backend.c:333: error: expected ‘,’ or ‘;’ before ‘{’ token
make[1]: *** [backend.o] Error 1
Looks pretty odd - maybe the function name has a #define for it somewhere else?