Linker can't link functions from advapi

kinke noone at nowhere.com
Mon Apr 1 21:46:51 UTC 2019


On Monday, 1 April 2019 at 21:10:20 UTC, Mike Parker wrote:
> While it would be possible to add a lib pragma to every system 
> module in DRuntime so that the appropriate library is 
> automatically linked when the module is imported, that’s not 
> currently the case.

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.

[1] 
https://github.com/dlang/druntime/blob/aa39818f2805d7406d06c9fc74b7903789ca13ac/src/core/sys/windows/aclapi.d#L14


More information about the Digitalmars-d mailing list