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

Marcone marcone at email.com
Thu May 19 21:41:50 UTC 2022


On Thursday, 19 May 2022 at 20:33:34 UTC, Adam D Ruppe wrote:
> 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` ?

-L/entry:mainCRTStartup


More information about the Digitalmars-d-learn mailing list