[Issue 17707] unimported modules in libraries do not have their module constructors run
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 21 19:11:33 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=17707
Richard Cattermole <alphaglosined at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |alphaglosined at gmail.com
Resolution|--- |WONTFIX
--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
This is the expected behavior of static libraries.
The linker is eliding object files that are contained within a static library
when it sees that the object file has no references to it.
This behavior also exists on Windows.
--
More information about the Digitalmars-d-bugs
mailing list