https://llvm.org/bugs/show_bug.cgi?id=23970
Bug ID: 23970
Summary: 0o for Octal
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
People don't expect 010 == 8 to be true. Could you support a clearer prefix for
octal numbers (0o)?
Step 2 might be a warning for the old octal prefix.
AFAIK Python added support some time ago:
https://www.python.org/dev/peps/pep-3127/
I'm aware this isn't standard C++ but if this is possible I'd like to propose
it to ISO C++ as well.
I've started a discussion at isocpp.org as well:
https://groups.google.com/a/isocpp.org/forum/#!topic/std-proposals/IXXXDo3Y1rA
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs