Linker can't link functions from advapi
Mike Parker
aldacron at gmail.com
Tue Apr 2 01:54:41 UTC 2019
On Tuesday, 2 April 2019 at 01:18:54 UTC, destructionator wrote:
> On Mon, Apr 01, 2019 at 09:46:51PM +0000, kinke via
> Digitalmars-d wrote:
>> I count 62 `pragma(lib, ...)` in druntime, incl. advapi32 [1].
>> Missing ones can be seen as a bug, or at the very least an
>> unnecessary inconvenience.
>
> So yes and no. I agree they should be there, but they are
> unlikely to actually work because the druntime modules are not
> in the active build and thus their pragmas don't apply.
Yeah, I was surprised to learn that they are there. I've had to
link with certain system libs on Windows as recently as a few
months ago and had simply assumed the pragmas weren't there.
More information about the Digitalmars-d
mailing list