Thread overview | |||||
---|---|---|---|---|---|
|
January 28, 2013 merge 2.061-2 error building rt/image.d (osx) | ||||
---|---|---|---|---|
| ||||
Hi all, I've checked out the branch in subject, and I'm having the following error: ldc/runtime/druntime/src/rt/image.d(43): Error: (Image __ctmp5 = 0; , __ctmp5).this(i) is not an lvalue ldc/runtime/druntime/src/rt/image.d(58): Error: (Image __ctmp6 = 0; , __ctmp6).this(cast(uint)i) is not an lvalue It's a known issue of the compiler? If not, I can open a bug report for that. Thank you in advance, Paolo |
January 28, 2013 Re: merge 2.061-2 error building rt/image.d (osx) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paolo Invernizzi | On Monday, 28 January 2013 at 14:59:59 UTC, Paolo Invernizzi wrote:
> ldc/runtime/druntime/src/rt/image.d(43): Error: (Image __ctmp5 = 0;
> , __ctmp5).this(i) is not an lvalue
> ldc/runtime/druntime/src/rt/image.d(58): Error: (Image __ctmp6 = 0;
> , __ctmp6).this(cast(uint)i) is not an lvalue
>
> It's a known issue of the compiler? If not, I can open a bug report for that.
This seems to be an OSX-only issue caused by the struct literal rvalue changes in DMD 2.061.
Please submit an issue at GitHub - or better yet, a pull request (just replace the literal with a temporary "auto img = Image(i)" declared on the previous line).
David
|
January 28, 2013 Re: merge 2.061-2 error building rt/image.d (osx) | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | Hi David,
I submitted a pull request against the ldc branch of the druntime repo: this is my first pull request, git bites, so please be kind... (I use bazaar at work).
Cheers,
Paolo
On Monday, 28 January 2013 at 16:01:50 UTC, David Nadlinger wrote:
>
> This seems to be an OSX-only issue caused by the struct literal rvalue changes in DMD 2.061.
>
> Please submit an issue at GitHub - or better yet, a pull request (just replace the literal with a temporary "auto img = Image(i)" declared on the previous line).
>
> David
|
Copyright © 1999-2021 by the D Language Foundation