"Internal error: backend\cod1.c 1895" when trying to build DMD/Druntime/Phobos from source

Iain Buclaw ibuclaw at ubuntu.com
Sun Jan 30 13:48:05 PST 2011


== Quote from Walter Bright (newshound2 at digitalmars.com)'s article
> Simon wrote:
> > On 30/01/2011 18:54, Simon wrote:
> >> On 30/01/2011 18:29, Walter Bright wrote:
> >>> Vladimir Panteleev wrote:
> >>>> DMC, and latest git. (The problem was there a few months ago, so it's
> >>>> not a recent regression.)
> >>>
> >>> I compile it every day, and do not see those errors.
> >>
> >> Sound like use off uninitialised var, as it's environment dependent.
> >>
> >> There's at least 2 instances of that still outstanding in the backend:
> >>
> >> http://d.puremagic.com/issues/show_bug.cgi?id=52460
> >>
> >
> > And for the frond end:
> >
> > http://d.puremagic.com/issues/show_bug.cgi?id=5244
> >
> Thanks for pointing those out. Fixed now.

Have you considered adding -Wuninitialized to the build WARNINGS? It may help
prevent such bugs from happening...


More information about the Digitalmars-d mailing list