www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - So bat, DMD crashed!

reply Yonggang Luo <yonggangluo hotmail.com> writes:
I was trying to compile a file comes from ddmd of dsouce.org.
But the dmd 2.36 is crashed!.

C:\CI\bld\ddmd>dmd.exe -c -odobjs  C:\CI\bld\ddmd\strange\commands.txt
C:\CI\bld\ddmd\dmd\FuncDeclaration.d
dmd\Declaration.d(155): Error: function __ensure forward declaration
Assertion failure: '0' on line 396 in file 'tocsym.c'

It's also turn out a assertion failure:)
C:\CI\bld\ddmd>rem grep -irnl --include=*.d STC .
Nov 07 2009
parent Tim Matthews <tim.matthews7 gmail.com> writes:
Yonggang Luo wrote:
 I was trying to compile a file comes from ddmd of dsouce.org.
 But the dmd 2.36 is crashed!.
 
 C:\CI\bld\ddmd>dmd.exe -c -odobjs  C:\CI\bld\ddmd\strange\commands.txt
 C:\CI\bld\ddmd\dmd\FuncDeclaration.d
 dmd\Declaration.d(155): Error: function __ensure forward declaration
 Assertion failure: '0' on line 396 in file 'tocsym.c'
 
 It's also turn out a assertion failure:)
 C:\CI\bld\ddmd>rem grep -irnl --include=*.d STC .

Just to be clear this is not necessarily a dmd bug but the d port of dmd? If you can reproduce it in dmd then report here: http://d.puremagic.com/issues/
Nov 07 2009