[Issue 2656] Require 0o format for octal literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 18 08:30:11 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2656





------- Comment #2 from clugdbug at yahoo.com.au  2009-02-18 10:30 -------
(In reply to comment #1)
> Or, you know, it could just remove octal literals, period.  Since _no one uses
> 18-bit machines anymore_.

Yes. It's easy enough to make a CTFE function for the 03 users who actually
want octal literals.
The important thing is that:

static assert(010 != 07 + 1, "Octal is obsolete");

should not compile without error.


-- 



More information about the Digitalmars-d-bugs mailing list