Unexpected OPTLINK termination

cal callumenator at gmail.com
Sun Aug 19 22:33:50 PDT 2012


I just ran into (I think) this bug 
http://d.puremagic.com/issues/show_bug.cgi?id=8377 using dmd 
2.060. Seeing that there was a fix in git, I cloned the latest 
git dmd, built, and dropped the .exe into my existing dmd 2.060 
installation directory.

I still get this unexpected optlink termination (although the 
location of the error is different - EIP=00424D76 - don't know if 
that is significant or not).

Thing is, I only hit the error when I compile a Debug target. In 
release mode there is no error.

I don't think I can narrow down this problem easily, I suspect 
the problem is in a 11k lines module of template heavy code 
generated by Pegged. I am just wondering if anyone who saw this 
problem pre the git commit also has trouble with debug builds, or 
if this is a different bug.

Cheers
cal


More information about the Digitalmars-d-learn mailing list