在 2026-8-29 18:17, Pali Rohár 写道:
Function RtlUnwind is already declared in the winnt.h header file.
And winternl.h includes windef.h which includes winnt.h.

Moreover declaration of RtlUnwind in winternl.h is incompatible with
the declaration in winnt.h and causes compile warning:

/usr/local/include/winternl.h:1130:14: warning: ‘RtlUnwind’ redeclared without 
dllimport attribute: previous dllimport ignored [-Wattributes]
    VOID NTAPI RtlUnwind (PVOID TargetFrame,PVOID TargetIp,PEXCEPTION_RECORD 
ExceptionRecord,PVOID ReturnValue);
               ^~~~~~~~~
---
  mingw-w64-headers/include/winternl.h | 1 -
  1 file changed, 1 deletion(-)

Thanks. Pushed now.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to