Include .def definition file information for the linker into a .d source file

Adam D Ruppe destructionator at gmail.com
Wed Nov 24 17:29:09 UTC 2021


On Wednesday, 24 November 2021 at 17:23:07 UTC, BoQsc wrote:
> The many times I tried this pragma, it did not even get 
> recognised as pragma at all.

You need to use `dmd -m32mscoff` or `dmd -m64`. Plain `dmd` won't 
work.

If -m32mscoff and -m64 still don't work, what's your dmd version? 
It was added in 2.083.0, November 2018.


More information about the Digitalmars-d-learn mailing list