Another issue...
#include <utility.h>
extern DLLEXPORT int crashme;
int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow)
{
if (InitCVIRTE (hInstance, 0, 0) == 0)
return -1; /* out of memory */
crashme = 1;
return 0;
}
This makes clang.exe crash (using Windows 8, maybe it matters).