October 17, 2003 Making dmd crash with bad code | ||||
---|---|---|---|---|
| ||||
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, |
October 17, 2003 Re: Making dmd crash with bad code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew B. | Thanks, I'll take care of it. -Walter |
Copyright © 1999-2021 by the D Language Foundation