URL:
  <http://gna.org/bugs/?15410>

                 Summary: Freeciv does not compile with --enable-debug=yes
                 Project: Freeciv
            Submitted by: jorneg
            Submitted on: Thursday 02/18/10 at 00:07
                Category: general
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

mv -f .deps/sanitycheck.Tpo .deps/sanitycheck.Plo
/bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I..  -I../utility -I./../common -I./../ai
-I../common/aicore -I./generator -I./scripting   
-DLOCALEDIR="\"/usr/local/share/locale\""
-DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/usr/local/share/freeciv\""  -Wall
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Werror -g -O2 -MT savegame.lo -MD -MP -MF .deps/savegame.Tpo -c -o
savegame.lo savegame.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../utility -I./../common -I./../ai
-I../common/aicore -I./generator -I./scripting
-DLOCALEDIR=\"/usr/local/share/locale\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv:/usr/local/share/freeciv\"" -Wall
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Werror -g -O2 -MT savegame.lo -MD -MP -MF .deps/savegame.Tpo -c savegame.c
-o savegame.o
cc1: warnings being treated as errors
savegame.c: En la función ‘game_load_internal’:
savegame.c:4310: aviso: la dereferencia de punteros de tipo castigado
romperá las reglas de alias estricto
make[3]: *** [savegame.lo] Error 1
make[3]: se sale del directorio
`/home/jorneg/freeciv/S2_2/freeciv-2.2/server'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio
`/home/jorneg/freeciv/S2_2/freeciv-2.2/server'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/jorneg/freeciv/S2_2/freeciv-2.2'
make: *** [all] Error 2
jor...@ubuntu:~/freeciv/S2_2/freeciv-2.2$ 

When you try to compile with --enable-debug=yes the last S2_2 branch appears
and error...

The error is aprox: the dereference of casted pointer types would break the
strict alias rule...





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to