[LLVMbugs] [Bug 12855] New: warning about comparing enums of different type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 16 16:34:33 PDT 2012


             Bug #: 12855
           Summary: warning about comparing enums of different type
           Product: tools
           Version: 3.0
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: TableGen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jake.h.ehrlich at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

in AsmMatcherEmiter.cpp on line 103 and in PointerUnion.h on line 56 I get the
following warning from MinGW 4.7

enumeral mismatch in conditional expression:
'llvm::PointerLikeTypeTraits<llm::Instruction*>::<anonymous enum>' vs
4u>*>::<anonymous enum>' [enabled by default]

I first noticed it while table gen was building but it occurs in other
places(wherever those files are used obviously)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list