D is crap
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 8 11:40:52 PDT 2016
On Friday, 8 July 2016 at 17:04:04 UTC, Luís Marques wrote:
> On Friday, 8 July 2016 at 15:31:53 UTC, ketmar wrote:
>> core.exception.AssertError at z00.d(2): BOOM!
>> ----------------
>>
>> what am i doing wrong? O_O
>
> That's an exception, not a segfault.
> Try something like int* x; *x = 42;
segfault is impossible to catch outside of debugger. any hackish
"solution" to this is WRONG.
More information about the Digitalmars-d
mailing list