foreach(line; f.byLine) produces core.exception.InvalidMemoryOperationError@(0) in 2.067 but not 2.066
Andrew Brown via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 15 11:07:30 PDT 2015
Thanks very much for your help, it seemed to work a treat (I hope
:))! Compiling ldc wasn't too bad, make the changes to
runtime/phobos/std/stdio.d and then just building as normal was
no problem. Unittests are passing and it handles that file
perfectly.
On Tuesday, 15 September 2015 at 16:11:06 UTC, Martin Krejcirik
wrote:
> On Tuesday, 15 September 2015 at 15:28:23 UTC, Andrew Brown
> wrote:
>> A very naive question: would it be possible in this case to
>> backport it into gdc/ldc by copying the pull request and
>> building the compiler from source, or would this get me into a
>> world of pain?
>
> Cherry-picking should work and merge cleanly. I have done it
> for DMD 2.067. I don't know how difficult it is to recompile
> Phobos and Druntime with LDC/GDC though.
More information about the Digitalmars-d-learn
mailing list