[Simh] MINGW warning with recent sim_console.c checkin

2018-04-15 Thread Veit, Holger
Hi, the recent debugging changes in sim_console.c trigger a warning in MINGW build: C:\simh\simh-master\build_mingw.bat lib paths are: C:/MinGW/lib include paths are: C:/MinGW/include using libpcreposix: c:/simh/windows-build/PCRE/lib/pcreposix.a c:/simh/windows-build/PCRE/include/pcreposix.h **

Re: [Simh] MINGW warning with recent sim_console.c checkin

2018-04-15 Thread Veit, Holger
Fast followup. Make the proposed fix: struct tm loc_tm, gmt_tm; time_t temp; clock_gettime(CLOCK_REALTIME, &sim_deb_basetime); temp= sim_deb_basetime.tv_sec; /* Adjust the relative timebase to reflect the localtime GMT offset */ loc_tm = *localtime (&t

Re: [Simh] MINGW warning with recent sim_console.c checkin

2018-04-15 Thread Mark Pizzolato
On Sunday, April 15, 2018 at 12:41 PM, Holger Veit wrote: > Fast followup. Make the proposed fix: > > struct tm loc_tm, gmt_tm; > time_t temp; > > clock_gettime(CLOCK_REALTIME, &sim_deb_basetime); > temp= sim_deb_basetime.tv_sec; > > /* Adjust the relative timebase to refle