Follow-up Comment #2, bug #20070 (project freeciv):
Seems to depend on version of MinGW compiler. Downgrading made the problem go
away.
>From how far I got this debugged, seems quite much like compiler bug.
When added in the middle of the code segment giving funny results
b = time(NULL);
freelog("%d - %d (%d) = %d", a, b, time(NULL), b - a)
gave inconsistent output, i.e., "b - a" was not what one would expect from "a"
and "b", and "b" and directly calling "time(NULL)" gave totally different
values.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20070>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev