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

Bill Baxter dnewsgroup at billbaxter.com
Sun Nov 5 15:30:17 PST 2006


Carlos Santander wrote:
> Bill Baxter escribió:
>>
>> 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"
> 
> Put it in a different module. Import it, but don't link it.
> 

Devious.  I like it.  But it doesn't work.

--bb



More information about the Digitalmars-d mailing list