They are of _PIFV types, not of _PVFV.
---
mingw-w64-crt/crt/cinitexe.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-crt/crt/cinitexe.c b/mingw-w64-crt/crt/cinitexe.c
index ee441ed77f90..9e6931c4fc4b 100644
--- a/mingw-w64-crt/crt/cinitexe.c
+++ b/mingw-w64-crt/crt/cinitexe.c
@@ -1,13 +1,12 @@
#include <stdio.h>
#include <sect_attribs.h>
+#include <corecrt_startup.h>
#ifdef _MSC_VER
#pragma comment(linker, "/merge:.CRT=.rdata")
#endif
-typedef void (__cdecl *_PVFV)(void);
-
-_CRTALLOC(".CRT$XIA") _PVFV __xi_a[] = { NULL };
-_CRTALLOC(".CRT$XIZ") _PVFV __xi_z[] = { NULL };
+_CRTALLOC(".CRT$XIA") _PIFV __xi_a[] = { NULL };
+_CRTALLOC(".CRT$XIZ") _PIFV __xi_z[] = { NULL };
_CRTALLOC(".CRT$XCA") _PVFV __xc_a[] = { NULL };
_CRTALLOC(".CRT$XCZ") _PVFV __xc_z[] = { NULL };
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public