April 29, 2004 Array initialization bug? | ||||
---|---|---|---|---|
| ||||
Using gdc (1f) I get this message when: multiarray.d(117): variable axisLengths is not a static and cannot have static initializer for this line of code: uint[2] axisLengths = [5, 10]; |
April 29, 2004 Re: Array initialization bug? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Drew McCormack | Drew McCormack wrote: > Using gdc (1f) I get this message when: > multiarray.d(117): variable axisLengths is not a static and cannot have static initializer <snip> Been reported plenty of times already and is a PendingPeeve. http://www.wikiservice.at/wiki4d/wiki.cgi?PendingPeeves http://www.digitalmars.com/drn-bin/wwwnews?D/26695 Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit. |
Copyright © 1999-2021 by the D Language Foundation