compiler errors in 64bit builds
Bug #997175 reported by
Richard Webb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D Programming language Xml modules |
Incomplete
|
Undecided
|
michaelrynn |
Bug Description
Trying to compile as 64bit (either with DMD/Linux or GDC/MingW) produces a couple of compiler errors:
alt\zstring.d:1693: Error: cannot implicitly convert expression (this.records.
std/xml1.d:724: Error: opApply() function for KeyValueBlock!
(there are several instances of this one).
Seems that it wants the return values to be int rather than intptr.
To post a comment you must log in.
Yes, D has these fixed return types. Why do I expect them to use the machine sized integer type? Fixed on Arch amd64 linux and fixed this. Added dmdbuild.d and build.sh. Will try and make dmdbuild.d work for windows and gdc as well.