problem using std.format on Arm

Steven Schveighoffer schveiguy at gmail.com
Sat Aug 8 18:52:25 UTC 2020


On 8/8/20 1:00 PM, Jeremiah Glover wrote:

> What can I do to fix this and get the most recent version of phobos that 
> will compile?

You are using an old version of the compiler. formattedRead used to 
accept only pointers, not by ref.

See https://github.com/dlang/phobos/pull/5009

Try doing:
formattedRead(line, "%d\t%s", &dummy, &word);

Figure out which version of the compiler you have, and then use the docs 
for that version by downloading the compiler and using the local html 
documentation.

Alternatively, see if you can find a newer compiler that suports ARM.

-Steve


More information about the Digitalmars-d-learn mailing list