DWT fails to build with DMD 2.074.0
JamesD via Digitalmars-d-dwt
digitalmars-d-dwt at puremagic.com
Sat Apr 29 07:33:14 PDT 2017
On Saturday, 29 April 2017 at 13:54:04 UTC, Petar Kirov
> Are the *.di generated automatically, or are they written by
> hand? The compiler is known  to have problems with header
> (*.di) generation, and IIRC there were some fixes recently 
> that may have caused this problem. On the other hand there are
> no known issues with importing *.di, since it works the same as
> as improting plain *.d files (*.di is only a convention - you
> can functions without bodies or vice versa in both).
> Looking at https://pastebin.com/UgWNqZzh it seems that the
> problem shouldn't be hard to solve, since it's only a syntax
> error. I suggest examining and manually editing
> ../dwt/imp/org/eclipse/swt/accessibility/Accessible.di to
> narrow down the problem.
> I have no knowledge of DWT, so sorry if this is not very
> : http://dlang.org/changelog/2.074.0.html issue 15676
Thank you for your feedback and for the links to the bug reports!
The *.di files are generated by DMD when building the *.di files,
not by hand.
I makes sense that it is an issue with DMD creating the *.di
files, versus importing.
Understood about editing the *.di files manually, but they are
intended to be rebuilt depending on platform and arch.
However, manually editing the *.d file is an option. I'm not
sure if I have the technical knowledge to do this, but I'll
consider after reviewing any other feedback.
More information about the Digitalmars-d-dwt