D.gnu - var length array error
- Ramon (13/13) Sep 01 2013 Hi
- Iain Buclaw (6/19) Sep 01 2013 Please raise a bug at bugzilla.gdcproject.org
- Iain Buclaw (5/30) Sep 01 2013 And clearly state what version of dmd you are using, and what version of...
Hi
struct Entry {...}
Entry[] table;
int main(string[] args)
{
...
table.length++;
...
}
GDC -> Error: table.length is not an lvalue
Remark: The same code compiles (and works) with DMD.
What am I doing wrong?
Thanks - R
Sep 01 2013
On 2 September 2013 05:24, Ramon <spam thanks.no> wrote:
Hi
struct Entry {...}
Entry[] table;
int main(string[] args)
{
...
table.length++;
...
}
GDC -> Error: table.length is not an lvalue
Remark: The same code compiles (and works) with DMD.
What am I doing wrong?
Thanks - R
Please raise a bug at bugzilla.gdcproject.org
Thanks!
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
Sep 01 2013
On 2 September 2013 07:01, Iain Buclaw <ibuclaw ubuntu.com> wrote:On 2 September 2013 05:24, Ramon <spam thanks.no> wrote:And clearly state what version of dmd you are using, and what version of gdc. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';Hi struct Entry {...} Entry[] table; int main(string[] args) { ... table.length++; ... } GDC -> Error: table.length is not an lvalue Remark: The same code compiles (and works) with DMD. What am I doing wrong? Thanks - RPlease raise a bug at bugzilla.gdcproject.org Thanks!
Sep 01 2013









Iain Buclaw <ibuclaw ubuntu.com> 