[Freeciv-Dev] update on sun cc (PR#2046)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The basic compilation will work fine. There are still some issues.
1. I get some weird errors with the PL_ macro when I compile with
--with-included-gettext:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -I../intl -g
-c diplhand.c
"diplhand.c", line 213: warning: improper pointer/integer combination:
arg #2
"diplhand.c", line 218: warning: improper pointer/integer combination:
arg #2
2. There are glib errors when compiling with GTK on my school system.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include
-I../../common -I../../intl -I./../agents -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include -g -c
colors.c
"/usr/local/include/glib-1.2/glib.h", line 1573: undefined or not a
type: inline"/usr/local/include/glib-1.2/glib.h", line 1574: parameter
not in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1576: only "register" valid
as formal parameter storage class
"/usr/local/include/glib-1.2/glib.h", line 1576: parameter not in
identifier list: inline
"/usr/local/include/glib-1.2/glib.h", line 1576: syntax error before or
at: gint"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not
in identifier list: g_bit_nth_lsf
"/usr/local/include/glib-1.2/glib.h", line 1579: parameter not in
identifier list: __func__
"/usr/local/include/glib-1.2/glib.h", line 1579: cannot initialize
parameter: __func__
"/usr/local/include/glib-1.2/glib.h", line 1582: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1583: undefined symbol: mask
"/usr/local/include/glib-1.2/glib.h", line 1586: undefined symbol: nth_bit
"/usr/local/include/glib-1.2/glib.h", line 1588: warning: statement not
reached
"/usr/local/include/glib-1.2/glib.h", line 1588: cannot recover from
previous errors
cc: acomp failed for colors.c
BTW, config.h contains "#define inline ". This could be the same as
PR#2104.
3. When compiling XAW there are some warnings.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include
-I../../common -I../../intl -I/usr/local/include -I/usr/local/include
-g -c graphics.c
"./../include/patrol_cursor.xbm", line 6: warning: initializer does not
fit or is out of range: 248
(...followed by hundreds of similar warnings in the same file...)
jason
- [Freeciv-Dev] update on sun cc (PR#2046),
Jason Short <=
|
|