This is probably just a stupid configuration error, but I just upgraded to 2.029 and now I have this problem:

t.d:
void main()
{
    Object o = new Exception("error");
}

>dmd t.d
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
t.obj(t)
 Error 42: Symbol Undefined _D6object9Exception6__ctorMFAyaZC9Exception
--- errorlevel 1

I have:

\dmd
  \bin
  \lib
    phobos.lib
  \src

and my sc.ini in \dmd\bin looks like so:

LIB=\dmd\lib;\dm\lib
DFLAGS="-I\dmd\src\phobos" "-I\dmd\src\druntime\import"
linkcm...@p%\link.exe

Obviously, I'm running on Windoze (never had these problems on Linux :( ). Any ideas?

Dave

Reply via email to