在 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\include\sys\timeb.h:137:6: error: nested function 
'_ftime32' declared 'extern'
   137 | void _ftime32 (struct __timeb32 *__t) {_ftime ((struct _timeb 
*)(__t));}
       |      ^~~~~~~~


Isn't this MinGW.org stuff? Please tell us the values of

    #define __MINGW64_VERSION_MAJOR 9
    #define __MINGW64_VERSION_MINOR 0
    #define __MINGW64_VERSION_BUGFIX 0

in <_mingw_mac.h> on your machine (the above are definitions for mingw-w64 v9.0.0). I can't give any constructive suggestions otherwise.


--
Best regards,
Liu Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to