Hello,
dmd 2.072.0 broke my project. I reduced it to following:
===== a.d start =====
import std.stdio;
void main()
{
setmode(stdin.fileno, 0x8000);
}
===== a.d end =====
Compiling on Windows 7 64-bit with the following commands:
C:\utl\dev\D\dmd-2.071.2\windows\bin\dmd.exe a.d -ofa1.exe
C:\utl\dev\D\dmd-2.072.0\windows\bin\dmd.exe a.d -ofa2.exe
The first one succeeds (producing a working executable), the
second one fails with these messages:
a.d(6): Deprecation: std.stdio.setmode is not visible from module
a
a.d(6): Error: function std.stdio.setmode is not accessible from
module a
2.072.0 changelog does not seem to mention anything relevant. Is
there something obvious I'm missing, or should I file a bug
report?
Thanks,
Kirill