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

Bill Baxter dnewsgroup at billbaxter.com
Sun Nov 5 15:22:19 PST 2006


Tom S wrote:
> 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;

Nope.  Same deal.

--bb



More information about the Digitalmars-d mailing list