[Issue 991] void static array: integral constant must be scalar type, not void

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 8 04:42:55 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=991


e-t172 at akegroup.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |e-t172 at akegroup.org




------- Comment #2 from e-t172 at 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.
---


-- 



More information about the Digitalmars-d-bugs mailing list