[LLVMbugs] [Bug 24018] New: Optional warning for octal numbers
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 2 04:26:49 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24018
Bug ID: 24018
Summary: Optional warning for octal numbers
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: olafvdspek at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
People don't expect 010 == 8 to be true. People rarely use octal numbers, the
most frequent (only?) use case appears to be POSIX file permissions. People do
sometimes prefix decimal numbers with a 0 by mistake..
Could you add an optional warning for such cases?
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150702/b6a538b4/attachment.html>
More information about the llvm-bugs
mailing list