[Issue 23974] A ModuleInfo in a separate Windows DLL should not be referred to by MIimportedModules
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 6 17:53:17 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23974
--- Comment #7 from Richard Cattermole <alphaglosined at gmail.com> ---
(In reply to Rainer Schuetze from comment #6)
> This is needed for other data entries as well (e.g. TypeInfo), so
> it does not help a lot to avoid it for ModuleInfo.
It does help to get binaries sizes down (even if it would be a tiny amount), so
the fundamental idea isn't a bad one.
I think it's a worthy change, but only if the user tells the compiler that a
module is out of binary. If it's derived, there is a good chance it will get
the wrong idea when it comes to mixed builds (which are very common) and could
lead to some very unhappy people.
All the stuff like ModuleInfo, TypeInfo ext. (but not RTInfo) is currently
dependent on Rainer's PR.
--
More information about the Digitalmars-d-bugs
mailing list