xboard 4.4.2 on MacOS

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

xboard 4.4.2 on MacOS

Postby jdart » 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?
User avatar
jdart
 
Posts: 105
Joined: 26 Sep 2004, 21:11
Location: San Jose, CA

Re: xboard 4.4.2 on MacOS

Postby H.G.Muller » 02 Feb 2010, 23:46

I have PosFlags declared on that line. You could be right. It could either be #defined or declared in one of the system includes.

Unfrtunately it is used in 3 files: parser.c, moves.c and backend.c, so it would take some effort to replace the name everywhere by something else. Due to bad programming practice (probably mine...) it is not even declared in a header file!
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 16 guests