DMD crash! and JSON files

Rainer Schuetze r.sagitario at gmx.de
Wed Apr 21 11:24:19 PDT 2010


Don wrote:
> Regan Heath wrote:
> 
> [snip]
> 
>> Now "make -fwin32.mak" gets as far as the big dmd -lib command but 
>> this time it crashes ***!
> 
> bug 4809 ?

You need the patches to bugs #4089 and #3415 to create sensible JSON 
output. I just added another diff to #4089 for an issue that I hit recently.

With these patches to DMD, I used JSON output for druntime and phobos 
successfully. But it would be nice if these would be part of the DMD 
distribution, so you don't need to build them manually first. The 
installer for Visual D could then automatically configure them for lookup.

Before letting the IDE dive deep into semantic analysis, my current plan 
is to use the information found in the json files for parameter info 
tooltips aswell. For this, pre-installed files would be really convenient.



More information about the Digitalmars-d mailing list