在 2024-07-29 02:58, Pali Rohár 写道:
Warning is:In file included from misc/delay-f.c:11: mingw-w64-headers/include/delayimp.h:64: warning: "FACILITY_VISUALCPP" redefined #define FACILITY_VISUALCPP ((LONG)0x6d) In file included from mingw-w64-headers/include/winbase.h:2817, from mingw-w64-headers/include/windows.h:70, from misc/delay-f.c:10: mingw-w64-headers/include/winerror.h:88: note: this is the location of the previous definition #define FACILITY_VISUALCPP 109 WinSDK10 delayimp.h contains #ifndef guard for FACILITY_VISUALCPP. Do same.
Isn't delayimp.h a header of Visual Studio (and not of Windows SDK in any form), and which actually says that this value is defined in winerror.h ..?
I am not against this patch, just a bit curious. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public