Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get_map bug ?



It seems there's a problem with get_map.  I get compile errors in map.c and
xio.c

Here's an exemple of what I get:

gcc  -O2   -I/usr/include -I../include   -DSYSV -DMALLOC_0_RETURNS_NULL -DFUNCPROTO -DNARROWPROTO -DFONTDIR=\"/JSP/C1/usagers/casino/lib/xfire/fonts\" -DFONTNAME=\"crossfire\" -Dsgi -DLIBDIR=\"/JSP/C1/usagers/casino/lib/xfire\"     -c map.c -o map.o
map.c: In function `wall':
map.c:188: invalid type argument of `->'
map.c: In function `blocks_view':
map.c:199: invalid type argument of `->'
map.c: In function `blocks_magic':
map.c:209: invalid type argument of `->'
map.c: In function `blocked':
[ ... ]
map.c: At top level:
map.c:1198: warning: type mismatch with previous external decl
map.c:188: warning: previous external decl of `get_map'
map.c:1198: warning: type mismatch with previous implicit declaration
map.c:842: warning: previous implicit declaration of `get_map'
map.c:1198: warning: `get_map' was previously implicitly declared to return `int'
make: *** [map.o] Error 1

I'm not sure how to solve that problem... Do you have any suggestions ?

Thanks.

Daniel