On 07/16/2017 10:04 AM, Emilio G. Cota wrote:
And fix the following warning when DEBUG_TB_INVALIDATE is enabled
in translate-all.c:

   CC      mipsn32-linux-user/accel/tcg/translate-all.o
/data/src/qemu/accel/tcg/translate-all.c: In function ‘tb_alloc_page’:
/data/src/qemu/accel/tcg/translate-all.c:1201:16: error: format ‘%lx’ expects 
argument of type ‘long unsigned int’, but argument 2 has type ‘tb_page_addr_t 
{aka unsigned int}’ [-Werror=format=]
          printf("protecting code page: 0x" TARGET_FMT_lx "\n",
                 ^
cc1: all warnings being treated as errors
/data/src/qemu/rules.mak:66: recipe for target 'accel/tcg/translate-all.o' 
failed
make[1]: *** [accel/tcg/translate-all.o] Error 1
Makefile:328: recipe for target 'subdir-mipsn32-linux-user' failed
make: *** [subdir-mipsn32-linux-user] Error 2
cota@flamenco:/data/src/qemu/build ((18f3fe1...) *$)$

Signed-off-by: Emilio G. Cota<c...@braap.org>
---
  include/exec/exec-all.h   | 2 ++
  accel/tcg/translate-all.c | 3 +--
  2 files changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~


Reply via email to