On Tuesday 30 July 2024 23:53:47 LIU Hao wrote:
> 在 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 ..?

Well, I do not know. I have just looked at different versions of
delayimp.h and winerror.h header files available on internet and always
they were present in some SDK folder. So I though that are part of SDK.
Normally people install all headers files which comes from CRT, WinSDK,
Visual Studio, etc... so it is hard to guess from which source it comes
from.

> I am not against this patch, just a bit curious.


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to