This mangles entry points wmain, WinMain, wWinMain or DllMain as C functions, to match the ABI for these functions.
We already did the same for these functions in MSVC mode, but we also should do the same in the Itanium ABI.
This fixes PR38124.
|  Differential  D49354  
[MinGW] Automatically mangle Windows-specific entry points as C Authored by mstorsjo on Jul 15 2018, 2:12 PM. 
Details This mangles entry points wmain, WinMain, wWinMain or DllMain as C functions, to match the ABI for these functions. We already did the same for these functions in MSVC mode, but we also should do the same in the Itanium ABI. This fixes PR38124. 
Diff Detail 
 |