rebuild or dmd internal error

Regan Heath regan at netmail.co.nz
Thu Nov 22 00:59:44 PST 2007


Simen Haugen wrote:
> As you say, it's not a very helpful message. The project is around 5500 loc, 
> so it's not that easy to know where to start to create a minimal example. 
> It's also a long time since I compiled with -O for that project.

Make a copy of the project, then start pulling bits out till the bug 
goes away.  Put back the last thing you removed and pull something else 
out.  Sometimes it can be tough when things are very interconnected, and 
sometimes the bug is caused by 2 or more things interacting in a certain 
way.

Regan


More information about the Digitalmars-d-learn mailing list