[llvm-bugs] [Bug 37076] New: Long Long Enum Constant

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 10 12:20:25 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37076

            Bug ID: 37076
           Summary: Long Long Enum Constant
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Bumblebritches57 at gmail.com
                CC: llvm-bugs at lists.llvm.org

For some reason, enums are limited to 32 bits (and have to be signed for some
reason)

Can you bump it up to a long long?

As it is, I can't put the magic number of a PNG file as a constant in an enum,
I have to use a macro, which is just icky.

I know the standard says it's type is an unqualified int, but getting the
standard changed requires an implementation.

-- 
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/20180410/53e3f113/attachment.html>


More information about the llvm-bugs mailing list