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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to