[LLVMbugs] [LLVMdev] [Bug 7748] [PATCH] Fix MSVC truncating enums

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Aug 23 12:57:13 PDT 2010


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.



--
Bruno Cardoso Lopes
http://www.brunocardoso.cc




More information about the llvm-bugs mailing list