On 6/16/21 6:49 AM, Alex Bennée wrote:
../../linux-user/arm/signal.c: In function ‘setup_sigtramp’: ../../linux-user/arm/signal.c:847:47: error: expected ‘,’ before ‘)’ token _Static_assert(SIGFRAME_FDPIC_OFS <= 0xfff);
Heh. Apparently, _Static_assert with no message parameter is a further extension, present in c17 but not c11. I presume it's enabled with gnu11 on my compiler version, but not yours.
I'll change to use QEMU_BUILD_BUG_ON, and give up on removing that macro for a while. r~