Cannot compile betterC app in windows using stderr

forkit forkit at gmail.com
Wed Feb 2 07:07:15 UTC 2022


On Wednesday, 2 February 2022 at 06:20:39 UTC, Abby wrote:
>

I don't know about dub. never used it.

I can say, that your code will compile and run fine if compiled 
with dmd using:

dmd -m32 -betterC mycode.d

but not

dmd -m64 -betterC mycode.d

it seems like a MSVC linking error (possibly unresolved 
references or something).

Also, this is a Windows issue. The same code will compile fine on 
linux -32 or -m64

Someone with more expertise will need to troubleshoot this 
further ;-)


More information about the Digitalmars-d mailing list