Follow-up Comment #2, bug #21386 (project freeciv):

here are more warnings/errors from 2.4.1 compile on sheeva, server only:

./configure --enable-debug=yes --enable-svnrev --with-readline
--enable-ipv6=yes --enable-client=no

HTH

Making all in src
make[4]: Entering directory
`/home/chris/freeciv/release/freeciv-2.4.1/dependencies/lua-5.1/src'
if /bin/bash ../../../libtool --preserve-dup-deps --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../../..   -DLOCALEDIR="\"/usr/local/share/locale\""
-DBINDIR="\"/usr/local/bin\"" -DFC_CONF_PATH="\"/usr/local/etc/freeciv\""
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv/2.4:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH="\"\""
-DDEFAULT_SCENARIO_PATH="\".:data/scenarios:~/.freeciv/2.4/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
 -Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -g -O2 -MT lapi.lo -MD -MP -MF ".deps/lapi.Tpo"
-c -o lapi.lo lapi.c; \
        then mv -f ".deps/lapi.Tpo" ".deps/lapi.Plo"; else rm -f 
".deps/lapi.Tpo";
exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-DLOCALEDIR=\"/usr/local/share/locale\" -DBINDIR=\"/usr/local/bin\"
-DFC_CONF_PATH=\"/usr/local/etc/freeciv\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/2.4:/usr/local/share/freeciv\""
-DDEFAULT_SAVES_PATH=\"\"
"-DDEFAULT_SCENARIO_PATH=\".:data/scenarios:~/.freeciv/2.4/scenarios:~/.freeciv/scenarios:/usr/local/share/freeciv/scenarios\""
-Wall -Wpointer-arith -Wcast-align -Werror -Wmissing-prototypes
-Wmissing-declarations -Wformat -Wformat-security -Wnested-externs
-Wno-deprecated-declarations -g -O2 -MT lapi.lo -MD -MP -MF .deps/lapi.Tpo -c
lapi.c -o lapi.o
lapi.c: In function 'index2adr':
lapi.c:64:7: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_createtable':
lapi.c:581:3: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_getmetatable':
lapi.c:607:5: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_getfenv':
lapi.c:623:7: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:626:7: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_rawset':
lapi.c:678:3: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_rawseti':
lapi.c:691:3: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_setmetatable':
lapi.c:714:9: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:714:9: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:720:9: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:720:9: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c: In function 'lua_setfenv':
lapi.c:750:7: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:756:12: error: cast increases required alignment of target type
[-Werror=cast-align]
lapi.c:756:12: error: cast increases required alignment of target type
[-Werror=cast-align]
cc1: all warnings being treated as errors
make[4]: *** [lapi.lo] Fehler 1
make[4]: Leaving directory
`/home/chris/freeciv/release/freeciv-2.4.1/dependencies/lua-5.1/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory
`/home/chris/freeciv/release/freeciv-2.4.1/dependencies/lua-5.1'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/home/chris/freeciv/release/freeciv-2.4.1/dependencies'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/chris/freeciv/release/freeciv-2.4.1'
make: *** [all] Fehler 2


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21386>

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


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

Reply via email to