merge 2.061-2 error building rt/image.d (osx)
David Nadlinger
see at klickverbot.at
Tue May 14 20:30:08 PDT 2013
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
More information about the digitalmars-d-ldc
mailing list