Why are extern(C/C++) definitions and references mangled differently in separately compiled modules?

Adam D. Ruppe destructionator at gmail.com
Fri Sep 6 17:54:51 UTC 2019


On Friday, 6 September 2019 at 17:42:08 UTC, Max Samukha wrote:
> That file was silently imported by the compiler (probably, a 
> bug).

That's by design - the automatic module import lookups actually 
always look for .di file first, then .d files.


More information about the Digitalmars-d-learn mailing list