[LLVMdev] MachineJumpTableInfo.h Warning

Bill Wendling isanbard at gmail.com
Tue May 12 14:55:39 PDT 2009


Done for this and the previous. Thanks!

-bw

On Tue, May 12, 2009 at 2:48 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> 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;
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list