digitalmars.D.ldc - merge 2.061-2 error building rt/image.d (osx)
- Paolo Invernizzi (13/13) Jan 28 2013 Hi all,
- David Nadlinger (8/16) Jan 28 2013 This seems to be an OSX-only issue caused by the struct literal
- Paolo Invernizzi (7/13) Jan 28 2013 Hi David,
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
Jan 28 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
Jan 28 2013
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
Jan 28 2013