automatic debugging / disabling D's built-in exeption handler

Tom S h3r3tic at remove.mat.uni.torun.pl
Sun Nov 5 14:13:12 PST 2006


Bill Baxter wrote:
> Doesn't quite work.
> --> : no identifier for declarator no_catch_exceptions
> 
> If you stick the 'no_catch_exceptions=true' into main() or static this() 
> then phobos complains that the value changed:
> --> "f:\usr\pkg\Dlang\dmd\bin\..\lib\phobos.lib(dmain2)  Offset 1D89AH 
> Record Type 0091
>  Error 1: Previous Definition Different : _no_catch_exceptions
> --- errorlevel 1"

You could try
extern (C) extern bool no_catch_exceptions;



More information about the Digitalmars-d mailing list