[Issue 9816] Export is mostly broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 29 07:49:45 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9816



--- Comment #10 from Martin Nowak <code at dawg.eu> 2013-08-29 07:49:41 PDT ---
(In reply to comment #7)
> A few random comments:
> 
> - I think in a situation where you want to use the same code for static and
> dynamic linking, "export" is not usable. I'd propose to export every public
> symbol at module granularity depending on a compile switch.

I'm not a big of conflating protection and export. For example you could split
a library in two DLLs in which case you might need to export/import private and
package protected symbols.

> - but then, there is no easy way to tell whether symbols in a module are
> imported from a static or dynamic library. This distinction is necessary
> though, as the code is different for both situations.

Can you tell a bit more about this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list