digitalmars.D.bugs - Compiler crash v.108
- David Medlock (14/14) Dec 04 2004 I don't know if this is related to Dave's post but the following causes
- David Medlock (2/20) Dec 04 2004 FYI: Changing colors to a dynamic array doesn't cause the compiler to fa...
- Simon Buchan (8/25) Dec 04 2004 Hmm, that should complain that total isn't const anyway, shouldn't it?
- Simon Buchan (8/30) Dec 04 2004 Scratch that, stuffed up the update last time (whoops!)
I don't know if this is related to Dave's post but the following causes a crash in Win2k, DMD .108 struct Header { int xsize, ysize; int height() { return ysize; } int width() { return xsize; } } void main( char[][] arg ) { Header header; int total = header.width * header.height; ubyte[total] colors; // color indexed bitmap data }
Dec 04 2004
David Medlock wrote:I don't know if this is related to Dave's post but the following causes a crash in Win2k, DMD .108 struct Header { int xsize, ysize; int height() { return ysize; } int width() { return xsize; } } void main( char[][] arg ) { Header header; int total = header.width * header.height; ubyte[total] colors; // color indexed bitmap data }FYI: Changing colors to a dynamic array doesn't cause the compiler to fault.
Dec 04 2004
On Sat, 04 Dec 2004 12:31:40 -0500, David Medlock <amedlock nospam.org> wrote:David Medlock wrote:Hmm, that should complain that total isn't const anyway, shouldn't it? Does on my dmd 1.07 on XP... -- "Unhappy Microsoft customers have a funny way of becoming Linux, Salesforce.com and Oracle customers." - www.microsoft-watch.com: "The Year in Review: Microsoft Opens Up"I don't know if this is related to Dave's post but the following causes a crash in Win2k, DMD .108 struct Header { int xsize, ysize; int height() { return ysize; } int width() { return xsize; } } void main( char[][] arg ) { Header header; int total = header.width * header.height; ubyte[total] colors; // color indexed bitmap data }FYI: Changing colors to a dynamic array doesn't cause the compiler to fault.
Dec 04 2004
On Sun, 05 Dec 2004 20:52:09 +1300, Simon Buchan <currently no.where> wrote:On Sat, 04 Dec 2004 12:31:40 -0500, David Medlock <amedlock nospam.org> wrote:Scratch that, stuffed up the update last time (whoops!) Confirm fails with 1.07, complains 1.06. -- "Unhappy Microsoft customers have a funny way of becoming Linux, Salesforce.com and Oracle customers." - www.microsoft-watch.com: "The Year in Review: Microsoft Opens Up"David Medlock wrote:Hmm, that should complain that total isn't const anyway, shouldn't it? Does on my dmd 1.07 on XP...I don't know if this is related to Dave's post but the following causes a crash in Win2k, DMD .108 struct Header { int xsize, ysize; int height() { return ysize; } int width() { return xsize; } } void main( char[][] arg ) { Header header; int total = header.width * header.height; ubyte[total] colors; // color indexed bitmap data }FYI: Changing colors to a dynamic array doesn't cause the compiler to fault.
Dec 04 2004