bug-xboard
[Top][All Lists]
Advanced

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

[Bug-XBoard] Xboard 4.5.1 bug Mac OS X 10.6.6


From: Hans Aberg
Subject: [Bug-XBoard] Xboard 4.5.1 bug Mac OS X 10.6.6
Date: Fri, 4 Mar 2011 15:35:45 +0100

In order to compile xboard-4.5.1 under Mac OS X 10.6.6, I had to change in file 
engineoutput.c
  #include <malloc.h> 
to
  #include <stdlib.h>
which is also the location according to the C-standard.

There are also a couple of warnings "cast from pointer to integer of different 
size" - the platform is 64-bit (see below). But the program opens in X11.

Hans Aberg

----
 Configurations summary:

        prefix:          /usr/local       
        datarootdir:     ${prefix}/share  
        datadir:         ${datarootdir}   (icons will go in 
$datadir/icons/hicolor/...)
                                    (bitmaps will go in 
$datadir/games/xboard/...)
        infodir:         ${datarootdir}/info   (info files will go here)
        sysconfdir:      ${prefix}/etc   (xboard.conf will go here)

        Xaw3d:           no

        xpm:             yes
        ptys:            pipes
        zippy:           yes
        sigint:          yes
make  all-am
...
In file included from xboard.c:1376:
args.h: In function ‘ParseArgs’:
args.h:1012: warning: cast from pointer to integer of different size
args.h:1026: warning: cast from pointer to integer of different size
args.h: In function ‘SetDefaultsFromList’:
args.h:1122: warning: cast from pointer to integer of different size
args.h:1128: warning: cast from pointer to integer of different size
args.h:1136: warning: cast from pointer to integer of different size
args.h:1139: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveFontArg’:
xboard.c:1483: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveAttribsArg’:
xboard.c:1515: warning: cast from pointer to integer of different size
xboard.c: In function ‘SaveColor’:
xboard.c:1521: warning: cast from pointer to integer of different size
xboard.c:1522: warning: cast from pointer to integer of different size

...
filebrowser/selfile.c: In function ‘SFexposeList’:
filebrowser/selfile.c:159: warning: cast from pointer to integer of different 
size
filebrowser/selfile.c: In function ‘SFcreateWidgets’:
filebrowser/selfile.c:431: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:433: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:448: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:450: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:509: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:511: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:513: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:515: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:517: warning: cast to pointer from integer of different 
size
filebrowser/selfile.c:519: warning: cast to pointer from integer of different 
size
...
filebrowser/draw.c: In function ‘SFscrollTimer’:
filebrowser/draw.c:508: warning: cast from pointer to integer of different size
filebrowser/draw.c:538: warning: cast to pointer from integer of different size
filebrowser/draw.c: In function ‘SFnewInvertEntry’:
filebrowser/draw.c:579: warning: cast to pointer from integer of different size
----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]