[dmd-beta] Samples broken

Simen Endsjø simen.endsjo at pandavre.com
Thu May 12 07:08:46 PDT 2011


The first thing someone new would try is compiling the samples. This
fails on 2.053beta.
I saw a bugreport filed on this in january;
<http://d.puremagic.com/issues/show_bug.cgi?id=5268>



--- winsamp.d 2011-05-12 16:05:10 +0200

+++ winsamp_new.d 2011-05-12 16:06:00 +0200

@@ -146,9 +146,9 @@

result = doit(); // insert user code here

}



- catch (Object o) // catch any uncaught exceptions

+ catch (Exception ex) // catch any uncaught exceptions

{

- MessageBoxA(null, cast(char *) o.toString(), "Error",

+ MessageBoxA(null, cast(char *) ex.toString(), "Error",

MB_OK | MB_ICONEXCLAMATION);

result = 0; // failed

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110512/72b7478b/attachment.html>


More information about the dmd-beta mailing list