[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/12] tcg patch queue
From: |
Richard Henderson |
Subject: |
Re: [PULL 00/12] tcg patch queue |
Date: |
Fri, 25 Oct 2019 16:48:26 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/25/19 12:12 PM, Peter Maydell wrote:
> Compile failure, win32:
...
> /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/include/glib-2.0/glib/gmacros.h:337:23:
> error: expected expression befor
> e 'do'
> #define G_STMT_START do
> ^
> /usr/lib/mxe/usr/x86_64-w64-mingw32.shared/include/glib-2.0/glib/gtestutils.h:115:41:
> note: in expansion of macro 'G_STMT_START'
> #define g_assert(expr) G_STMT_START { \
> ^
> /home/petmay01/qemu-for-merges/include/qemu/osdep.h:152:20: note: in
> expansion of macro 'g_assert'
> #define assert(x) g_assert(x)
Ho hum. This...
> ^
> /home/petmay01/qemu-for-merges/include/exec/cpu-all.h:225:29: note: in
> expansion of macro 'assert'
> # define TARGET_PAGE_MASK (assert(target_page.decided), target_page.mask)
... must be the reason why we used to use ({ ... }) here.
Why oh why does g_assert use a do/while(0) statement instead of use an
expression like the C assert is required to do?
> Also
> /home/petmay01/qemu-for-merges/exec.c: In function 'iotlb_to_section':
> /home/petmay01/qemu-for-merges/exec.c:2871:1: error: control reaches
> end of non-void function [-Werror=return-type]
> }
...
> Not sure if that's just follow-on errors from the earlier
> ones, though.
These are all follow-on, as you say.
r~
- [PULL 04/12] exec: Split out variable page size support to exec-vary.c, (continued)
- [PULL 04/12] exec: Split out variable page size support to exec-vary.c, Richard Henderson, 2019/10/25
- [PULL 05/12] configure: Detect compiler support for __attribute__((alias)), Richard Henderson, 2019/10/25
- [PULL 06/12] exec: Use const alias for TARGET_PAGE_BITS_VARY, Richard Henderson, 2019/10/25
- [PULL 07/12] exec: Restrict TARGET_PAGE_BITS_VARY assert to CONFIG_DEBUG_TCG, Richard Henderson, 2019/10/25
- [PULL 08/12] exec: Promote TARGET_PAGE_MASK to target_long, Richard Henderson, 2019/10/25
- [PULL 10/12] cputlb: Fix tlb_vaddr_to_host, Richard Henderson, 2019/10/25
- [PULL 09/12] exec: Cache TARGET_PAGE_MASK for TARGET_PAGE_BITS_VARY, Richard Henderson, 2019/10/25
- [PULL 11/12] translate-all: fix uninitialized tb->orig_tb, Richard Henderson, 2019/10/25
- [PULL 12/12] translate-all: Remove tb_alloc, Richard Henderson, 2019/10/25
- Re: [PULL 00/12] tcg patch queue, Peter Maydell, 2019/10/25
- Re: [PULL 00/12] tcg patch queue,
Richard Henderson <=
- Re: [PULL 00/12] tcg patch queue, no-reply, 2019/10/26