Dil doesn't compile with DMD 1.051+ or LDC post DMD 1.051 merge
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
Upgrade to latest LDC and run scripts/build.py --ldc
What is the expected output? What do you see instead?
Dil should compile, I see these errors:
src/dil/ast/DefaultVisitor.d(72): Error: cannot evaluate
createCode(cast(ushort)i) at compile time
src/dil/ast/DefaultVisitor.d(84): Error: cannot evaluate
generateDefaultVisitMethods() at compile time
src/dil/ast/DefaultVisitor.d(84): Error: argument to mixin must be a
string, not (generateDefaultVisitMethods())
What version of the product are you using? On what operating system?
Dil master branch, Linux
Original issue reported on code.google.com by llu...@gmail.com
on 27 Dec 2009 at 3:00
GoogleCodeExporter commented
I think you should also report this to the LDC team. I don't have LDC installed
atm,
but I have just updated to the newest Tango version (0.99.9).
See commit:
http://github.com/azizk/dil/commit/9078ca5320a223b45311cff3f1959b9152a50640
Compiling with DMD 1.056 works for me.
Original comment by aziz.koe...@gmail.com
on 23 Feb 2010 at 10:20
GoogleCodeExporter commented
By the way, thanks for filing these bugs, even though the project hasn't been
actively worked on for months.
Original comment by aziz.koe...@gmail.com
on 23 Feb 2010 at 11:08
GoogleCodeExporter commented
Sure, thanks for taking a look at them :)
I'll check as soon as I can.
Original comment by llu...@gmail.com
on 24 Feb 2010 at 2:29
GoogleCodeExporter commented
Original comment by aziz.koe...@gmail.com
on 26 Feb 2010 at 7:00
GoogleCodeExporter commented
DIL compiles for me with LDC 0.9.2. The unit tests run without errors. I tried
to
generate Tango's documentation, but it looks like DIL's binary produced by LDC
is a
bit buggy.
I don't know what the problem is and I can't find a small test case at the
moment.
So I'm closing this issue.
Original comment by aziz.koe...@gmail.com
on 27 Mar 2010 at 10:11
- Changed state: Done