Octal-like integer literals
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Feb 16 22:30:33 PST 2012
On Fri, Feb 17, 2012 at 05:17:00PM +1100, Daniel Murphy wrote:
> I had a look at moving them from deprecated to error, but druntime
> uses them extensively in the os headers. I think we need a better
> solution than a template in the standard library - you shouldn't need
> a dependency on phobos to use them, and the compiler shouldn't
> directly reference anything in the standard library.
So why not make the octal template part of druntime?
> "Walter Bright" <newshound2 at digitalmars.com> wrote in message
> news:jhkqsj$30j$2 at digitalmars.com...
> > On 2/11/2012 10:43 AM, Andrej Mitrovic wrote:
> >> $ dmd test.d
> >> $ test.d(5): octal literals 0744 are deprecated, use std.conv.octal!744
> >> instead
> > I was inordinately proud of that error message :-)
More information about the Digitalmars-d