[Bug 167] Setting Tsize_t, Tptrdiff_t in d-target.cc is not working

via D.gnu d.gnu at puremagic.com
Sun Nov 23 03:07:24 PST 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=167

--- Comment #1 from Johannes Pfau <johannespfau at gmail.com> ---
(In reply to Johannes Pfau from comment #0)
> We set Tptrdiff_t and Tsize_t in d-target.cc, but we do not update
> Type::tsize_t and Type::tptrdiff_t.
> 
> I wonder whether we could just call Target::init before Type::init and
> remove the if(global.params.isLP64) logic from mtype.c.

OK, Target::init depends on d_backend_init which probably depends on some stuff
from Type::init. I guess the next best solution is overwriting Type::tsize_t,
Type::tptrdiff_t in Target::init?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20141123/01dc8912/attachment.html>


More information about the D.gnu mailing list