[Freeciv-Dev] [bug #20392] cast from pointer to integer of different size

2013-01-23 Thread Jacob Nevins
Update of bug #20392 (project freeciv):

 Planned Release: = 2.4.0-beta2, 2.5.0 


___

Reply to this item at:

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

___
  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 #20392] cast from pointer to integer of different size

2013-01-20 Thread Marko Lindqvist
Follow-up Comment #4, bug #20392 (project freeciv):

Addition patch for trunk is patch #3606. These should be backported to S2_4
simultaneously.

___

Reply to this item at:

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

___
  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 #20392] cast from pointer to integer of different size

2013-01-18 Thread Marko Lindqvist
Update of bug #20392 (project freeciv):

  Status:None = In Progress

___

Follow-up Comment #1:

This affects all LLP64 platforms (long being 32bits, pointers 64bits). Where
possible, our use of unsigned long for casting to and from pointers could be
replaced with intptr_t that is supposed to be integer type of the same size
as pointers in all platforms. I'm going for that in TRUNK first. Want to test
there a bit before going to stable branches, as googling suggested that
intptr_t has some (not specified) portability problems itself.

___

Reply to this item at:

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

___
  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 #20392] cast from pointer to integer of different size

2013-01-18 Thread Marko Lindqvist
Update of bug #20392 (project freeciv):

  Status: In Progress = Ready For Test 

___

Follow-up Comment #2:

Patch for TRUNK.

 Want to test there a bit before going to stable branches

But should go in to S2_4 well before 2.4.0-beta2 so it gets test coverage on
beta cycle.

I don't think there's any point in introducing this to S2_3 this late. Win64
support can very well be new feature in 2.4, and besides gtk2 does not compile
for win64 so one couldn't have gtk win64 client in 2.3 anyway.



(file #16965)
___

Additional Item Attachment:

File name: IntPtrT.patch  Size:2 KB


___

Reply to this item at:

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

___
  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 #20392] cast from pointer to integer of different size

2012-12-28 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?20392

 Summary: cast from pointer to integer of different size
 Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 28 Dec 2012 07:53:13 PM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: Microsoft Windows
 Planned Release: 

___

Details:

I've built experimental 64bit version of crosser, and tried to make also 64bit
version of freeciv on top of it. Compilation had a lot of these warnings:

warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]





___

Reply to this item at:

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

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


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