Thread overview | |||||
---|---|---|---|---|---|
|
November 23, 2010 [Issue 5261] New: Uncompilable example for Windows | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5261 Summary: Uncompilable example for Windows Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: websites AssignedTo: nobody@puremagic.com ReportedBy: simen.kjaras@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras@gmail.com> 2010-11-23 12:36:04 PST --- On http://digitalmars.com/d/2.0/windows.html, a function ExceptionHandler with the signature void function(Exception) is defined, while Runtime.initialize expects the signature void function(Throwable). Because of this, the example does not compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 15, 2011 [Issue 5261] Uncompilable example for Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=5261 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-01-14 18:09:00 PST --- Also, I believe this: catch (Object o) // catch any uncaught exceptions { MessageBoxA(null, cast(char *)o.toString(), "Error", MB_OK | MB_ICONEXCLAMATION); result = 0; // failed } should be replaced with: catch (Throwable thr) // catch any uncaught exceptions { MessageBoxA(null, cast(char *)thr.toString(), "Error", MB_OK | MB_ICONEXCLAMATION); result = 0; // failed } since catching Objects should be illegal. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 20, 2012 [Issue 5261] Uncompilable example for Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=5261 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-20 02:30:00 PST --- Fixed 2.058 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation