Error 42: Symbol Undefined __d_throwc

Tyro[a.c.edwards] nospam at home.com
Sat Nov 20 14:00:22 PST 2010


On 11/21/2010 1:13 AM, Jimmy Cao wrote:
> I can't reproduce it on Windows 7 with dmd 2.050.
>
> On Sat, Nov 20, 2010 at 12:45 AM, Tyro[a.c.edwards] <nospam at home.com
> <mailto:nospam at home.com>> wrote:
>
>     The following:
>
>     import std.regex;
>
>     void main()
>     {
>             string s = "$,";
>             replace(s, regex("$",","), ""); // Is this possible?  If so,
>     what is the propper way to do it?
>             assert(s == "", s);
>     }
>
>     Compiled with dmd.2.039, 042, 048, and 049 but yields a runtime error:
>     D:\code>bug
>     object.Exception: unrecognized attribute
>

That bit of info actually fixed linker error portion of my problem. 
Seems my copy of dmd 2.050 got corrupted. Trying to run the program 
still results in the runtime error above. Any ideas?

Thanks,
Andrew


More information about the Digitalmars-d mailing list