[Issue 18049] dmd -unittest against a library not compiled with -unittest gives undefined symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 5 09:14:53 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18049
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
--- Comment #5 from Rainer Schuetze <r.sagitario at gmx.de> ---
That's a use case where the dreaded -allinst was added for: seperate
compilation with different version, debug or unittest settings. In that case
the template emission optimization fails to work because it assumes that the
template is already emitted.
It's a bit strange that the optimization does not also avoid generating any
code for the unittests, though.
--
More information about the Digitalmars-d-bugs
mailing list