[LLVMdev] MachineJumpTableInfo.h Warning

OvermindDL1 overminddl1 at gmail.com
Tue May 12 14:48:22 PDT 2009


Another warning:

r:\sdks\llvm\trunk\lib\target\x86\asmprinter\X86ATTAsmPrinter.h(29) :
warning C4099: 'llvm::MachineJumpTableInfo' : type name first seen
using 'class' now seen using 'struct'
        R:\SDKs\llvm\trunk\include\llvm/CodeGen/MachineFunction.h(34)
: see declaration of 'llvm::MachineJumpTableInfo'


The problem appears to be in file MachineJumpTableInfo.h on line 29:
struct MachineJumpTableInfo;
MachineJumpTableInfo is actually a class, not a struct, hence the
forward declaration should be:
class MachineJumpTableInfo;



More information about the llvm-dev mailing list