Error: undefined symbol: _WinMain at 16 When try compile no console

Adam D Ruppe destructionator at gmail.com
Thu May 19 20:33:34 UTC 2022


On Thursday, 19 May 2022 at 20:20:49 UTC, Marcone wrote:
> I am using a main() function.
> I am compiling on Windows x86 32 bits.
> I am using DMD 2.100.0
> This error is only in version 2.100.0 of DMD.

Are you using the `-L/entry:mainCRTStartup` or the 
`L/entry:wmainCRTStartup` ?


More information about the Digitalmars-d-learn mailing list