Re: [Mingw-w64-public] error: nested function '_ftime32' declared 'extern'

2021-03-18 Thread Liu Hao
在 2021/3/19 上午2:58, Ken Goldman 写道: gcc --version gcc (MinGW.org GCC Build-2) 9.2.0 In general, the 'nested function declared extern' error usually suggests a missing close brace of a function, after which another (probably system) header is included and a function is found: ``` lh_mouse@l

Re: [Mingw-w64-public] error: nested function '_ftime32' declared 'extern'

2021-03-18 Thread Ken Goldman
On 3/18/2021 10:21 AM, Liu Hao wrote: 在 2021-03-18 04:11, Ken Goldman 写道: Windows 10, When moving to mingw 9.2.0 from a very old version, these errors appeared.  From looking at the header files, I can fix them with this in the makefile.  Is there a better solution? -D_NO_OLDNAMES -D_WIN32_W

Re: [Mingw-w64-public] error: nested function '_ftime32' declared 'extern'

2021-03-18 Thread Liu Hao
在 2021-03-18 04:11, Ken Goldman 写道: Windows 10, When moving to mingw 9.2.0 from a very old version, these errors appeared. From looking at the header files, I can fix them with this in the makefile.  Is there a better solution? -D_NO_OLDNAMES -D_WIN32_WINNT=0x0603 c:\program files\mingw\in

[Mingw-w64-public] error: nested function '_ftime32' declared 'extern'

2021-03-17 Thread Ken Goldman
Windows 10, When moving to mingw 9.2.0 from a very old version, these errors appeared. From looking at the header files, I can fix them with this in the makefile. Is there a better solution? -D_NO_OLDNAMES -D_WIN32_WINNT=0x0603 c:\program files\mingw\include\sys\timeb.h:137:6: error: nes