[CF-Devel] client compile warnings
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Sun Apr 4 04:50:33 CDT 2004
it's been a while since I built the client (gtk) but when I do (gcc
version 3.3.3 (Debian 20040320)) I get a few warnings but it doesn't
seem to be a problem. Just thought I'd let folks know about them.
png.c: In function `rgba_to_xpixmap':
png.c:783: warning: `cmask' might be used uninitialized in this function
png.c:783: warning: `lastcolor' might be used uninitialized in this
function
gcc -g -O2 -DOSS_SOUND -Wall -I/usr/X11R6/include -I.. -I../common
-I. -c sound.c
gcc -g -O2 -DOSS_SOUND -Wall -I/usr/X11R6/include -I.. -I../common
-I. -c x11.c
x11.c: In function `get_root_display':
x11.c:2092: warning: passing arg 1 of `XSetErrorHandler' from
incompatible pointer type
gcc -g -O2 -DOSS_SOUND -Wall -I/usr/X11R6/include -I.. -I../common
-I. -c xutil.c
xutil.c: In function `insert_key':
xutil.c:247: warning: comparison is always false due to limited range of
data type
gcc -o cfclient png.o sound.o x11.o xutil.o -lpng -lz -lm
-L/usr/X11R6/lib -lX11 -lXext ../common/libcfclient.a
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list