[LLVMdev] [Bug 7748] [PATCH] Fix MSVC truncating enums
Chris Lattner
clattner at apple.com
Mon Aug 23 13:04:39 PDT 2010
On Aug 23, 2010, at 12:57 PM, Bruno Cardoso Lopes wrote:
> On Mon, Aug 23, 2010 at 12:44 PM, Chris Lattner <clattner at apple.com> wrote:
>>
>> On Aug 18, 2010, at 8:45 PM, nobled wrote:
>>
>>> I attached a patch to http://llvm.org/bugs/show_bug.cgi?id=7748 that
>>> should fix it; can anybody review?
>>
>> Wow, this is really ugly. I feel bad because I told bruno to go ahead and use 64-bit integers in the enum values. Bruno, how terrible would it be to switch back to 32-bit enumerators?
>
> Not a problem at all! There's already a patch laying around for that
> on the bug description, I will give it a try, if it doesn't work I'll
> switch it back myself soon.
Awesome, thanks!
-Chris
More information about the llvm-dev
mailing list