From: havoc Date: Tue, 18 Apr 2006 11:24:19 +0000 (+0000) Subject: another attempt to fix the warnings X-Git-Tag: xonotic-v0.1.0preview~4055 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bd4bd21012fc5f0b87abcdb58f66b966f27cbcc9;p=xonotic%2Fdarkplaces.git another attempt to fix the warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6310 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index f27b9097..e0883aeb 100644 --- a/host.c +++ b/host.c @@ -547,7 +547,8 @@ void Host_Main(void) static double time1 = 0; static double time2 = 0; static double time3 = 0; - double frameoldtime, framenewtime, frametime, cl_timer, sv_timer; + // these are static because of setjmp/longjmp warnings in mingw32 gcc 2.95.3 + static double frameoldtime, framenewtime, frametime, cl_timer, sv_timer; Host_Init();