http://d.puremagic.com/issues/show_bug.cgi?id=6019
Martin Nowak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Martin Nowak <[email protected]> 2013-10-02 05:08:42 PDT --- Most declarations don't require linkage. The ones that do are module ctors/dtors (__ModuleInfoZ), classes (vtbl and classinfo) and anything that's non-zero initialized (__initZ), i.e. structs with non-zero initialized fields, enums with non-zero first member, char and maybe floats. BTW the same issue is present in deimos where you also want headers that don't require linkage. Maybe we can come up with a good idea how to solve this. How about this? Using weak undefined symbols to link against the imported ModuleInfo would result in null pointers during runtime. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
