tcg-op.h头文件中的错误

时间:2014-03-23 07:43:43

标签: c compiler-errors

您好我在编译qemu

时遇到此错误
In file included from /home/epuser/ajayku/final_test/qemu/qemu-1.6.0/tcg/tcg.h:117:0,
                 from /home/epuser/ajayku/final_test/qemu/qemu-1.6.0/exec.c:29:
/home/epuser/ajayku/final_test/qemu/qemu-1.6.0/tcg/tcg-op.h:26:1: error: expected identifier before ‘int’
make[1]: *** [exec.o] Error 1

和" tcg-op.h"的初始内容文件是:

int gen_new_label(void);

static inline void tcg_gen_op0(TCGOpcode opc)
{
     *tcg_ctx.gen_opc_ptr++ = opc;
}

 static inline void tcg_gen_op1_i32(TCGOpcode opc, TCGv_i32 arg1)
{
    *tcg_ctx.gen_opc_ptr++ = opc;
    *tcg_ctx.gen_opparam_ptr++ = GET_TCGV_I32(arg1);
}

0 个答案:

没有答案