[CF-Devel] Compiling CVS warnings

Michael Toennies michael.toennies at nord-com.net
Wed Jun 13 06:13:35 CDT 2001


I got some warnings as i compile CVS.
The compile success but the authors of the code
should look at this.

------------------------

/home/unitel/cf/crossfire/install/crossfire
loader.l: In function `load_object':
loader.l:759: warning: assignment makes pointer from integer without a cast
script.c: In function `Script_getFirstOnSquare':
script.c:565: warning: passing arg 1 of `gh_long2scm' makes integer from
pointer without a cast
client: configure, make depend, make
/home/unitel/cf/crossfire/install/client
/usr/X11R6/bin/makedepend: warning:  gx11.c (reading /usr/include/glib.h,
line 66): cannot find include file "glibconfig.h"
        not in ./glibconfig.h
        not in /usr/X11R6/include/glibconfig.h
        not in /usr/local/lib/gcc-include/glibconfig.h
        not in /usr/include/glibconfig.h
        not in
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/glibconfig.h
In file included from gx11.c:111:
png.c: In function `png_to_gdkpixmap':
png.c:201: warning: variable `has_alpha' might be clobbered by `longjmp' or
`vfork'
In file included from x11.c:294:
png.c: In function `png_to_xpixmap':
png.c:565: warning: variable `has_alpha' might be clobbered by `longjmp' or
`vfork'
png.c:565: warning: variable `cmask' might be clobbered by `longjmp' or
`vfork'
png.c:565: warning: variable `lastcolor' might be clobbered by `longjmp' or
`vfork'


    
    


More information about the crossfire mailing list