D - Making dmd crash with bad code
- Matthew B. (17/17) Oct 16 2003 I forget to put the variable identifier for binhead in this simplified ...
- Walter (1/1) Oct 17 2003 Thanks, I'll take care of it. -Walter
I forget to put the variable identifier for binhead in this simplified code snippet. Instead of getting a syntax error, it crashes the compiler on my WinXP pro Intel system. Try to compile it using dmd -c to see what I mean. Just thought I'd pass this along to the compiler developers. struct binhead { uint flen ; } // the offending code with a messed up declaration int badbin(char[] fname ) { // the next line should have an identifier after binhead[] binhead[] = abinheadfunc(fname) ; return(0) ; } Regards,
Oct 16 2003