widl 6.0-rc1 reports the following error: include/wincrypt.idl:17: error: calling convention applied to non-function type
FARPROC is not used in any IDL file anyway. --- mingw-w64-headers/include/wincrypt.idl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/include/wincrypt.idl b/mingw-w64-headers/include/wincrypt.idl index 8dcf920e..5b372268 100644 --- a/mingw-w64-headers/include/wincrypt.idl +++ b/mingw-w64-headers/include/wincrypt.idl @@ -13,9 +13,11 @@ cpp_quote("#include <winapifamily.h>") cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") +#ifndef __WIDL__ #ifndef FARPROC typedef int (__stdcall FARPROC) (); #endif +#endif #ifndef PBYTE typedef BYTE *PBYTE; -- 2.29.2 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public