[Issue 10817] Linker error with postcondition contract in a release library
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 24 06:08:56 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=10817
Dicebot <public at dicebot.lv> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |public at dicebot.lv
Resolution|--- |INVALID
--- Comment #2 from Dicebot <public at dicebot.lv> ---
After internal discussion closing this as invalid.
DMD can't possibly know if external module A comes from is compiled in release
or debug mode and thus can't guess if symbol can be legally referenced. We fix
that problem for our project by providing both debug and release build of a
library and using matching one to link with.
--
More information about the Digitalmars-d-bugs
mailing list