From bd4bd21012fc5f0b87abcdb58f66b966f27cbcc9 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 18 Apr 2006 11:24:19 +0000 Subject: [PATCH] another attempt to fix the warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6310 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2