[D-runtime] win32 regression in exception handling

Jonathan M Davis jmdavisProg at gmx.com
Wed Jan 26 02:17:43 PST 2011

On Wednesday 26 January 2011 01:58:50 Don Clugston wrote:
> On 26 January 2011 10:32, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> > How else would an error be thrown?
> In many cases, it's thrown by hardware. The exception object is
> created long after the throw occurred.
> There are also 'foreign' exceptions, which are thrown by (say) C++.
> (I suspect that Linux DMD can't handle any of those -- but Windows DMD
> can).

So, what exactly about that makes it a problem that the file and line number have 
default arguments? If it gives the arguments (like it pretty much has to be 
doing), then it doesn't use the defaults, so they don't cause any problems 
there. And is it only file and line number which cause problems if they have 
defaults, or is it everything (e.g. Throwable next)? And does this to apply to 
all Throwables?

- Jonathan M Davis

More information about the D-runtime mailing list