Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 18, 2005 Missing filename and line number: index out of bounds in array initialiser | ||||
---|---|---|---|---|
| ||||
Using DMD 0.128, Windows 98SE.
----------
int[3] qwert = [ 13, 42, 105, 666 ];
----------
Error: too many initializers 4 for array[3]
----------
The same happens if an index has been specified in the initialiser.
Stewart.
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- a->--- UB@ P+ L E@ W++@ N+++ o K- w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------
My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
|
July 18, 2005 Re: Missing filename and line number: index out of bounds in array initialiser | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon Attachments:
| Stewart Gordon wrote: > Using DMD 0.128, Windows 98SE. > > ---------- > int[3] qwert = [ 13, 42, 105, 666 ]; > ---------- > Error: too many initializers 4 for array[3] > ---------- > > The same happens if an index has been specified in the initialiser. Added to DStress as http://dstress.kuehne.cn/nocompile/a/array_initialization_17_A.d http://dstress.kuehne.cn/nocompile/a/array_initialization_17_B.d Thomas |
July 22, 2005 Re: Missing filename and line number: index out of bounds in array initialiser | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kühne | Thomas Kühne wrote: > Stewart Gordon wrote: >> Using DMD 0.128, Windows 98SE. >> >> ---------- >> int[3] qwert = [ 13, 42, 105, 666 ]; >> ---------- >> Error: too many initializers 4 for array[3] >> ---------- >> >> The same happens if an index has been specified in the initialiser. > > Added to DStress as > http://dstress.kuehne.cn/nocompile/a/array_initialization_17_A.d > http://dstress.kuehne.cn/nocompile/a/array_initialization_17_B.d I've just noticed - these aren't on the results page, but they duplicate existing filenames. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB@ P+ L E@ W++@ N+++ o K- w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
July 22, 2005 Re: Missing filename and line number: index out of bounds in array initialiser | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon Attachments: | Stewart Gordon schrieb: > Thomas Kühne wrote: > >> Stewart Gordon wrote: >> >>> Using DMD 0.128, Windows 98SE. >>> >>> ---------- >>> int[3] qwert = [ 13, 42, 105, 666 ]; >>> ---------- >>> Error: too many initializers 4 for array[3] >>> ---------- >>> >>> The same happens if an index has been specified in the initialiser. >> >> >> Added to DStress as http://dstress.kuehne.cn/nocompile/a/array_initialization_17_A.d http://dstress.kuehne.cn/nocompile/a/array_initialization_17_B.d > > > I've just noticed - these aren't on the results page, but they duplicate existing filenames. Moved to http://dstress.kuehne.cn/nocompile/a/array_initialization_18_A.d http://dstress.kuehne.cn/nocompile/a/array_initialization_18_B.d to eliminate dublicate names. Thomas |
Copyright © 1999-2021 by the D Language Foundation