[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] [patch #1961] print turn number and date/time into the log file in debug mode

2010-09-13 Thread Matthias Pfafferodt

Follow-up Comment #2, patch #1961 (project freeciv):

 Why do you enable it only for server?

Most calculation are done in the server and if I read log files from
autogames the turn number is important to get the right savefile.

It could also done for the client but then one has to decide where to put the
function log_prefix().

Should it be activated for all log files or only if DEBUG is on?

 I guess it could be done in log.c only. 

I tried this first. But as log.c belongs to utilities game.info.turn is not
available. Thus I did need another approach.

___

Reply to this item at:

  http://gna.org/patch/?1961

___
  Nachricht geschickt von/durch 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 #16082] Window Is Too Short

2010-09-13 Thread pepeto

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

In 2.2.3, those settings are default...


___

Reply to this item at:

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

___
  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 #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 #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

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

Yes I am. It happens with the savegame attached to bug #16467 named
embatestT33.

___

Reply to this item at:

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

___
  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 #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

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

Maybe does the client assume it is running the server and kill it when
disconnecting?


___

Reply to this item at:

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

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


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


Re: [Freeciv-Dev] [bug #16644] 1: Saved game contains incomplete map data

2010-09-13 Thread Matthias Pfafferodt
Sorry that I did forgot to close the ticket. Also thanks for doing all the 
work at the moment (closing all tickets, coding, ...)!

Am Monday 13 September 2010 01:05:18 schrieben Sie:
 Update of bug #16644 (project freeciv):

   Status:  Ready For Test = Fixed
  Open/Closed:Open = Closed


 ___

 Reply to this item at:

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

 ___
   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 #16656] Arithmetic exception in improvement_effect_value()

2010-09-13 Thread Matthias Pfafferodt

Follow-up Comment #4, bug #16656 (project freeciv):

 My proposal... 

Looks good; there are so many hidden code blokes I don't know about
(player_researches_iterate) ...

___

Reply to this item at:

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

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #16656] Arithmetic exception in improvement_effect_value()

2010-09-13 Thread pepeto

Follow-up Comment #5, bug #16656 (project freeciv):

player_researches_iterate is pretty new (see patch #1868 and patch #1869).


___

Reply to this item at:

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

___
  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 #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

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

Don't think so. If I'm leaving a game run by the client, it asks me for
confirmation (Leaving a local game will end it!) Now it does not.

It only kills the server and the other client when leaving by choosing the
_Leave_ option in Game menu. If I choose _Quit_ or just close the window, the
server stays alive.

___

Reply to this item at:

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

___
  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] [patch #1941] use specenum for list_args

2010-09-13 Thread Matthias Pfafferodt

Follow-up Comment #2, patch #1941 (project freeciv):

update patch after the ignore patch (patch #1910) was applied

(file #10336)
___

Additional Item Attachment:

File name: 20100913-trunk-use-specenum-for-list_args.patch Size:3 KB


___

Reply to this item at:

  http://gna.org/patch/?1941

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

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

_Quit_ has same behaviour, hasn't it?


___

Reply to this item at:

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

___
  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 #16636] Not /firstlevel connections cannot see what is the rulesetdir

2010-09-13 Thread pepeto

Update of bug #16636 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #16656] Arithmetic exception in improvement_effect_value()

2010-09-13 Thread pepeto

Update of bug #16656 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #16659] secfile_save() can usually takes very long time

2010-09-13 Thread pepeto

Update of bug #16659 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #16672] civilwar_nations for city names

2010-09-13 Thread pepeto

Update of bug #16672 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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] [patch #1941] use specenum for list_args

2010-09-13 Thread pepeto

Update of patch #1941 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = pepeto 


___

Reply to this item at:

  http://gna.org/patch/?1941

___
  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 #16635] Observers cannot access the vote list

2010-09-13 Thread pepeto

Update of bug #16635 (project freeciv):

  Depends on: = patch #1941


___

Reply to this item at:

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

___
  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 #16635] Observers cannot access the vote list

2010-09-13 Thread pepeto

Update of bug #16635 (project freeciv):

  Status:None = In Progress
 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  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 #16685] Rework the player/connection menu

2010-09-13 Thread pepeto

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

I will separate the item in two, using bug #15300 to make the buttons of the
start page interacting with the player/connection list.


___

Reply to this item at:

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

___
  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 #15300] Take Player button not working

2010-09-13 Thread pepeto

Update of bug #15300 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  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 #16677] take into account the gold upkeep for units paid by the cities

2010-09-13 Thread pepeto

Update of bug #16677 (project freeciv):

 Summary: take into account the gold upkeep for units paid by
the cityies = take into account the gold upkeep for units paid by the cities


___

Reply to this item at:

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

___
  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] [patch #1951] Use specenum for command level

2010-09-13 Thread pepeto

Follow-up Comment #1, patch #1951 (project freeciv):

Updated patch against current trunk.


(file #10337)
___

Additional Item Attachment:

File name: trunk_cmdlevel_specenum2.diff  Size:14 KB


___

Reply to this item at:

  http://gna.org/patch/?1951

___
  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 #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread HanduMan

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

No it does not. As I tried to point out in my previus comment, _Leave_ kills
the server, _Quit_ does not.

And _Leave_ leaves a game keeping the client running. _Quit_ leaves a game
and also stops the client. This the expected behaviour.


___

Reply to this item at:

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

___
  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 #16468] Leaving a game kicks everyone out and kills the server

2010-09-13 Thread pepeto

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

 And Leave leaves a game keeping the client running. Quit leaves
 a game and also stops the client. This the expected behaviour.

It's not the expected behaviour. _Leave_ and _Quit_ must kill the server if
they started it, else they just disconnect to the server. Additionally,
_Quit_ destroys the window and exists the client.


___

Reply to this item at:

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

___
  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 #16509] Blank hostname

2010-09-13 Thread George Koehler

Follow-up Comment #3, bug #16509 (project freeciv):

I believe that file #10015, which adds NI_NAMEREQD to getnameinfo(), would
not fix this bug.

From OpenBSD 'man getnameinfo':



 NI_NAMEREQD   A name is required.  If the host name cannot be found
   in DNS and this flag is set, a non-zero error code is
   returned.  If the host name is not found and the flag
   is not set, the address is returned in numeric form.



If there is no host name, getnameinfo() provides a numeric address. With
NI_NAMEREQD, getnameinfo() would fail. When it fails, Freeciv uses the
numeric adddress from the earlier call to inet_ntop(). The entire effect of
file #10015 would be to use the numeric address instead of the numeric
address.

We can use NI_NAMEREQD because there is no reason to get the numeric address
again; but NI_NAMEREQD would not solve this bug. Or would it?

___

Reply to this item at:

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

___
  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] [patch #1350] Nations: Mordvin, Chechen, Bashkir, (Abkhaz, Ossetian, Tatar, Paulista)

2010-09-13 Thread Jacob Nevins

Follow-up Comment #15, patch #1350 (project freeciv):

A typo in r17984 causes make update-po to fail. Fix attached.

(file #10338)
___

Additional Item Attachment:

File name: trunk-abkhaz-typo.diff Size:0 KB


___

Reply to this item at:

  http://gna.org/patch/?1350

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


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