[Issue 24769] Add pragma compile on import
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 18 18:37:20 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24769
Adam D. Ruppe <destructionator at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |destructionator at gmail.com
--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> ---
When is this actually useful? The case of the windows bindings' helper
functions is already solved by a linker.
If you try to separate compile anything with this pragma two things that depend
on it in a diamond shape, you're liable to get duplicate symbols. Easy to solve
with -i, but to clear how it would be solved with this pragma.
--
More information about the Digitalmars-d-bugs
mailing list