<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39722 >

Castanier Carl wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39722 >
> 
> 2007/11/26, Jason Short <[EMAIL PROTECTED]>:
>>
>> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39722 >
> 
> I can't view that ticket as guest since trackers not allow me to display
> them since many days :(

The guest account was temporarily broken.

>     What platform are you using?
> 
> I'm using Debian/GNU Linux testing on I386 (centrino dual core and K7 
> athlon ). Problem appears only with gcc-4.2. But gcc-4.1 don't have this 
> problem.

It isn't perhaps a 64-bit system?

>     Are you really saying that GINT_TO_POINTER is not reversible for
>     negative numbers on your platform?  If that's the case we need to audit
>     a lot more users I think...and would need to complain to the glib people
>     to get the macro to barf when given a negative.
> 
> Yep. Optimisation -02 cause this problem. If GINT_TO_POINTER=-1 then 
> it's constant like variable (never take other value). Problem is prehaps 
> more due to the GCC than GLIB.

Really sounds to me like this is a glib bug.

-jason



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

Reply via email to