Deprecation in core.sys.posix.termios

Alex Rønne Petersen alex at lycus.org
Fri Nov 16 10:15:01 PST 2012


On 16-11-2012 19:14, H. S. Teoh wrote:
> Due to the deprecation of octal literals, core.sys.posix.termios doesn't
> compile anymore. But because this is in druntime, we can't use
> std.conv.octal. What should be done about this?
>
>
> T
>

I fixed this in a pull request of mine because it happened to get in my 
way too: https://github.com/D-Programming-Language/druntime/pull/340

(I really wish someone would review/merge that pull request.)

Generally, we just turn octal literals into hex literals in druntime 
(and write the octal number in a comment if necessary).

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list