[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-11-27 Thread pepeto

Follow-up Comment #15, bug #15410 (project freeciv):

Is this problem persistent?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread pepeto

Follow-up Comment #9, bug #15410 (project freeciv):

Maybe could you indicate what doesn't compile on trunk?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread Jordi Negrevernis i Font

Follow-up Comment #10, bug #15410 (project freeciv):

 gcc -DHAVE_CONFIG_H -I. -I.. -I../utility -I./aicore
-DLOCALEDIR=\/usr/local/share/locale\
-DDEFAULT_DATA_PATH=\.:data:~/.freeciv/dev:/usr/local/share/freeciv\
-DDEFAULT_SAVES_PATH=\\
-DDEFAULT_SCENARIO_PATH=\.:data/scenario:~/.freeciv/scenarios:/usr/local/share/freeciv/scenario\
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Werror -g -O2 -MT team.lo -MD -MP -MF .deps/team.Tpo -c team.c -o team.o
cc1: warnings being treated as errors
team.c: En la función ‘team_slot_rule_name’:
team.c:239: aviso: el paso del argumento 1 de
‘team_slot_create_default_name’ descarta los calificadores del tipo del
destino del puntero
make[4]: *** [team.lo] Error 1
make[4]: se sale del directorio `/home/jorneg/freeciv/trunk/freeciv/common'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/jorneg/freeciv/trunk/freeciv/common'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/jorneg/freeciv/trunk/freeciv/common'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/jorneg/freeciv/trunk/freeciv'
make: *** [all] Error 2
jor...@ubuntu:~/freeciv/trunk/freeciv$ 

Which means aprox: warning: passing argument 1 of
'team_slot_create_default_name' discards qualifiers from pointer target type


___

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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread pepeto

Follow-up Comment #11, bug #15410 (project freeciv):

That's precisely why there is a cast there... Dunno what's wrong there. Can
you try to add a cast to _(void *)_ before _tslot_? And run _LANG=C make_?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread Jordi Negrevernis i Font

Follow-up Comment #12, bug #15410 (project freeciv):

This seams like a bug of gcc...

I can only compile when i remove the const of the argument in the declaration
of the function.


___

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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread pepeto

Follow-up Comment #13, bug #15410 (project freeciv):

And what happen if you cast to _(void *)_?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-13 Thread Jordi Negrevernis i Font

Follow-up Comment #14, bug #15410 (project freeciv):

It throws the same error...


___

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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-12 Thread pepeto

Update of bug #15410 (project freeciv):

  Status:  Ready For Test = Need Info  

___

Follow-up Comment #7:

Does it still happen to you? If yes, in what branch (S2_2, trunk)?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-09-12 Thread Jordi Negrevernis i Font

Follow-up Comment #8, bug #15410 (project freeciv):

S2_2 compiles ok. Trunk does not, but is for another reason.

You can close the item.

Thanks


___

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


[Freeciv-Dev] [bug #15410] Freeciv does not compile with --enable-debug=yes and GCC 4.2.4

2010-03-28 Thread Jacob Nevins

Update of bug #15410 (project freeciv):

 Summary: Freeciv does not compile with --enable-debug=yes =
Freeciv does not compile with --enable-debug=yes and GCC 4.2.4


___

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