<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - 0o for Octal" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23970&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=Xkc4ehkBRQAm0JVMPoDBTGtd4dthV5jhbAEFGfGCGPY&s=XloDDkqPgBAiCmzuTHDXypQgUHmWdtX_NO_uhrw7jyQ&e=">23970</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>0o for Octal
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>olafvdspek@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_dev_peps_pep-2D3127_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=Xkc4ehkBRQAm0JVMPoDBTGtd4dthV5jhbAEFGfGCGPY&s=ozF6LX56UwUstAAgSr0poevDrENjdBBInqbmtNsEnWY&e=">https://www.python.org/dev/peps/pep-3127/</a>
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:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_a_isocpp.org_forum_-23-21topic_std-2Dproposals_IXXXDo3Y1rA&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=Xkc4ehkBRQAm0JVMPoDBTGtd4dthV5jhbAEFGfGCGPY&s=Fa2e_98lY-LMWmIPQ3VmmZKH1LTsAPgF3WUCTsL5MUU&e=">https://groups.google.com/a/isocpp.org/forum/#!topic/std-proposals/IXXXDo3Y1rA</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>