My Kingdom For ...
Brad Roberts
braddr at puremagic.com
Thu Feb 21 18:56:17 PST 2008
Jarrett Billingsley wrote:
> "Janice Caron" <caron800 at googlemail.com> wrote in message
> news:mailman.47.1203635455.2351.digitalmars-d at puremagic.com...
>
>> And while we're on the subject of random falling over, am I the only
>> one who gets infuriated by the occasional "Win32 Exception" halting a
>> program with no further explanation? They happen when the flow of
>> execution hits the bottom of a function without returning, when it's
>> supposed to return something. I'm surprised we can't catch those at
>> compile time, but even a nice D Exception throw at runtime (...again,
>> in a debug build only...) would be useful.
>
> Except that it _does_ throw an exception to that effect in a debug build.
> God, have you even _used_ D?
Only on windows. On any posix/unix platform it doesn't. Throwing
exceptions for these sorts of faults is dubious, imho, but windows has
made it seem normal.
Later,
Brad
More information about the Digitalmars-d
mailing list