Warning is: In file included from mingw-w64-headers/include/winerror.h:4920, from mingw-w64-headers/include/winbase.h:2817, from mingw-w64-headers/include/windows.h:70, from intrincs/RtlSecureZeroMemory.c:2: mingw-w64-headers/include/fltwinerror.h:12: warning: "FACILITY_USERMODE_FILTER_MANAGER" redefined #define FACILITY_USERMODE_FILTER_MANAGER 0x1f
In file included from mingw-w64-headers/include/winbase.h:2817, from mingw-w64-headers/include/windows.h:70, from intrincs/RtlSecureZeroMemory.c:2: mingw-w64-headers/include/winerror.h:38: note: this is the location of the previous definition #define FACILITY_USERMODE_FILTER_MANAGER 31 WinSDK10 header file fltWinError.h contains #ifndef guard. Do same. --- mingw-w64-headers/include/fltwinerror.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/fltwinerror.h b/mingw-w64-headers/include/fltwinerror.h index d0dee925414d..7dadc5afc016 100644 --- a/mingw-w64-headers/include/fltwinerror.h +++ b/mingw-w64-headers/include/fltwinerror.h @@ -9,7 +9,9 @@ #if NTDDI_VERSION < NTDDI_VISTA || defined (__IN__WINERROR_) #define FILTER_HRESULT_FROM_FLT_NTSTATUS(x) (NT_ASSERT((x & 0xfff0000) == 0x001c0000),(HRESULT) (((x) & 0x8000ffff) | (FACILITY_USERMODE_FILTER_MANAGER << 16))) +#ifndef FACILITY_USERMODE_FILTER_MANAGER #define FACILITY_USERMODE_FILTER_MANAGER 0x1f +#endif #define ERROR_FLT_IO_COMPLETE ((HRESULT)0x001f0001) #define ERROR_FLT_NO_HANDLER_DEFINED ((HRESULT)0x801f0001) -- 2.20.1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public