[Issue 9816] Export is mostly broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 6 19:06:03 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9816
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at dawg.eu
--- Comment #1 from Martin Nowak <code at dawg.eu> 2013-04-06 19:05:59 PDT ---
(In reply to comment #0)
> Created an attachment (id=1203) [details]
> repro case
>
> Here is a list of all things wrong with export:
>
> 32 & 64 bit issues:
> 1) Exporting a global variable leads to a linker error
What error?
> 2) Exporting thread local variables should be an error (at least it is in c++)
Yes.
> 3) The module info should be exported as soon the module has any exported
> symbols
> 4) __gshared members of a class are not exported
Bug.
> 5) The TypeInfo Object of the TestClass is not exported
> 6) The TypeInfo Object of TestStruct is not exported
>
Any compiler generated symbol referenced by an exported symbol should be
exported too, e.g. ModuleInfos, TypeInfos, opEquals and such.
> See attached repro case. If this repro case actually compiles and runs dll
> support should be sufficient to support a shared runtime.
Nice.
--
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