[Freeciv-Dev] [bug #20057] Error when trying to compile with --enable-debug

2012-08-27 Thread David Fernandez
Follow-up Comment #5, bug #20057 (project freeciv):

Your patch fixes the reported error, thank you. But now I get a different
error:

trunk:

cc1: warnings being treated as errors
map.c: In function ‘startpos_iter_init’:
map.c:1608: warning: type-punning to incomplete type might break
strict-aliasing rules
make[4]: *** [map.lo] Error 1


S_4:

cc1: warnings being treated as errors
map.c: In function ‘startpos_iter_init’:
map.c:1558: warning: type-punning to incomplete type might break
strict-aliasing rules
make[4]: *** [map.lo] Error 1


___

Reply to this item at:

  

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20057] Error when trying to compile with --enable-debug

2012-08-26 Thread Marko Lindqvist
Update of bug #20057 (project freeciv):

  Status:  Ready For Test => Fixed  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 

___

Follow-up Comment #4:

Assuming that the patch fixed the original problem.

___

Reply to this item at:

  

___
  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 #20057] Error when trying to compile with --enable-debug

2012-08-22 Thread Marko Lindqvist
Update of bug #20057 (project freeciv):

Category:None => general
  Status:None => Ready For Test 
 Planned Release: => 2.4.0, 2.5.0   

___

Follow-up Comment #1:

There was even FIXME comment about the ugly cast to remove 'const'. One should
never use such a cast.

Patch attached.

(file #16421)
___

Additional Item Attachment:

File name: AvoidSignalNameConstAway.patch Size:1 KB


___

Reply to this item at:

  

___
  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 #20057] Error when trying to compile with --enable-debug

2012-08-12 Thread David Fernandez
URL:
  

 Summary: Error when trying to compile with --enable-debug
 Project: Freeciv
Submitted by: bardo
Submitted on: dom 12 ago 2012 17:30:08 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

When I try to compile the code with debug enabled (I have tested svn trunk and
also S2_4 beta), I get this compilation error:


...
luascript_signal.lo
cc1: warnings being treated as errors
luascript_signal.c: In function ‘luascript_signal_create_valist’:
luascript_signal.c:232: warning: passing argument 2 of
‘luascript_signal_name_list_append’ discards qualifiers from pointer
target type
make[5]: *** [luascript_signal.lo] Error 1


I'm using ubuntu 9.04 that I can no longer update, I guess this could be the
reason.




___

Reply to this item at:

  

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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