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


Martin Nowak <c...@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@dawg.eu


--- Comment #10 from Martin Nowak <c...@dawg.eu> 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: -------

Reply via email to