digitalmars.D.bugs - [Issue 991] New: void static array: integral constant must be scalar type, not void
- d-bugmail puremagic.com Feb 21 2007
- d-bugmail puremagic.com Feb 26 2007
- d-bugmail puremagic.com Jul 08 2008
http://d.puremagic.com/issues/show_bug.cgi?id=991 Summary: void static array: integral constant must be scalar type, not void Product: D Version: 1.007 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: chris dprogramming.com I wanted to reserve some space without any particular type, void[8] x; // DMD 1.007: Error: integral constant must be scalar type, not void --
Feb 21 2007
http://d.puremagic.com/issues/show_bug.cgi?id=991 thomas-dloop kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All ------- Comment #1 from thomas-dloop kuehne.cn 2007-02-26 05:37 ------- Added to DStress as http://dstress.kuehne.cn/run/v/void_06_A.d http://dstress.kuehne.cn/run/v/void_06_B.d --
Feb 26 2007
http://d.puremagic.com/issues/show_bug.cgi?id=991 e-t172 akegroup.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |e-t172 akegroup.org ------- Comment #2 from e-t172 akegroup.org 2008-07-08 06:42 ------- Confirmed and still happening with DMD 1.030 and GDC r231. DMD 1.030 result: --- Error: integral constant must be scalar type, not void --- GDC r231 / GCC 4.1.2 / x86_64 result: --- Error: integral constant must be scalar type, not void cc1d: ../../gcc-4.1.2-gdc/gcc/d/dmd/todt.c:85: dt_t* createTsarrayDt(dt_t*, Type*): Assertion `tsa->size(0) % eoa_size == 0' failed. test.d:0: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. --- --
Jul 08 2008









d-bugmail puremagic.com 