<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40661 >

> [halton....@sun.com - Thu Jan 15 03:47:27 2009]:
> 
> Hi,
> 
> I'm compiling freeciv-2.1.8 with sun cc, and I get following
> 
> source='helpdata.c' object='helpdata.o' libtool=no \
> DEPDIR= depmode=none /bin/bash ../bootstrap/depcomp \
> /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I..  -I../utility -I./
include
> -I../common -I../common/aicore -I../intl -I./agents -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/X11/include -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT -I /usr/include -I /usr/include
> -I /usr/include -DLOCALEDIR="\"/usr/share/locale\""
> -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/usr/share/freeciv\""  -i -
xO4
> -xspace -xstrconst -xpentium -mr -xregs=no%frameptr -xchar=signed -c
> helpdata.c
> "helpdata.c", line 257: operands have incompatible types:
> int ":" void
> cc: acomp failed for helpdata.c
> 
> Attachment is patch for this bug.

A similar fix has already been committed to svn. See:
http://bugs.freeciv.org/Ticket/Display.html?id=40616


-----------------------------------------------------------------------
同僚がもうしました。

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to