[Freeciv-Dev] [bug #20070] read_timer_seconds() returns huge values on Windows (crosser-build)

2012-09-11 Thread Marko Lindqvist
Update of bug #20070 (project freeciv): Category:None => bootstrap Status:None => Invalid Assigned to:None => cazfi Open/Closed:

[Freeciv-Dev] [bug #20070] read_timer_seconds() returns huge values on Windows (crosser-build)

2012-08-21 Thread Marko Lindqvist
Follow-up Comment #3, bug #20070 (project freeciv): > freelog("%d - %d (%d) = %d", a, b, time(NULL), b - a) Uh, I meant "%lu" instead of "%d". ___ Reply to this item at: ___

[Freeciv-Dev] [bug #20070] read_timer_seconds() returns huge values on Windows (crosser-build)

2012-08-21 Thread Marko Lindqvist
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

[Freeciv-Dev] [bug #20070] read_timer_seconds() returns huge values on Windows (crosser-build)

2012-08-18 Thread Marko Lindqvist
Follow-up Comment #1, bug #20070 (project freeciv): I tried to reproduce this in Linux by commenting out HAVE_GETTIMEOFDAY in fc_config.h, and thus using same HAVE_FTIME code crosser build seems to be using (from its fc_config.h) This worked in Linux. Further, making a crosser build with also HAVE

[Freeciv-Dev] [bug #20070] read_timer_seconds() returns huge values on Windows (crosser-build)

2012-08-16 Thread Marko Lindqvist
URL: Summary: read_timer_seconds() returns huge values on Windows (crosser-build) Project: Freeciv Submitted by: cazfi Submitted on: Thu 16 Aug 2012 09:52:10 PM EEST Category: None